Hi:
This is the first time I've posted in here because I thought I knew everything (LOL)..apparently, I don't! I hope I can explain the issue I am having without confusing you all too much.. Here we go
In my report I have sort on to sort by account number:
Column D: Customer Account Number
Column E: Work Completion Date
I need to find out how many times the account number in Column D appears within 30 days of the first date it appears.
So the formulas I have so far are:
Column F: =E2 (giving me the date in number form)
Column G: =IF((D2=D1),IF(((F2-F1)<31),(F2-F1),"NA"),"FIRST") **This is supposed to tell me if the account comes up "FIRST", hence the reason I have the report sorted by account #.
Column H: =IF(G2="FIRST",1,IF(G2="NA",1,H1+1)). **This column gives me the amount of times the account appears less based on the formula in Column G.
Now the issue I am having is that if an account shows up on Sept 1st, Sept 3rd, Sept 20th and October 5th. I want a column to tell me that I visited this account 3 times within 30 days of Sept 1st. But I need it also to tell me that in October, we were there 2 times within 30 days because we were there on Sept 20th and October 5th. I basically need it to record the amount of times we were out to each account within 30 days of the first visit, (which is what I currently have working), however I need the counter to start over each time we exceed a 30 day mark and start another..
PS - I'm having trouble uploading the file for an example
I'm sure I've confused some of the best on here and I apologize. I don't even know if what I'm asking for is even possible??!! Please help if you can..I'll answer any questions you may have!
Bookmarks