A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Next to Last Date



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 28th, 2010, 12:45 PM posted to microsoft.public.access.queries
slotmgr70
external usenet poster
 
Posts: 17
Default Next to Last Date

I have a table that tracks each customers visit to my store. I hold
promotions on occaision that bring customers that haven't visited my store in
awhile. When I hold a promotion, I'm trying to determine the number of days
since the last visit for each customer. For example, here is a sample
customer:

Account_No Visit_Date
1234 4/19/10
1234 4/10/10
1234 3/10/10
1234 2/13/10

This customer generally visits once a month. Assuming that I held a
promotion on 4/19/10, I want to calculate the number of days since the most
recent visit, in this case being 4/10/10 (9 days).

The goal is to see if I have affected their trip pattern by holding the
promotion and if I was able to generate an incremental trip by holding the
promotion.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 09:51 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.