Going Crazy, Please help.

lday75

New Member
Joined
Oct 4, 2011
Messages
12
Ok, I have what should be a simple little query, that is driving me crazy. 2 Worksheets, one sheet has a list of phone numbers with dates, thats it 2 columns. This sheet only has 1 record per phone number, 100 in all. The second sheet has the same exact phone numbers on it, and dates as well, but this sheet has more than 1 record per phone number. What I need to do is find a way that on sheet 1 in col C (currently blank) tally up how many times that the phone number is listed on sheet 2 WHEN the dates on sheet 2 are >= 3 days from the date on sheet 1. Scenario - sheet 1 is a list of numbers who have a work order open and the date is the day the order was opened. sheet 2 has the same exact numbers, but the dates are the dates that the person had called into our company. I need to find out how many times a person called in within 3 days after they had a work order created for them. I have tried INDEX, MATCH, VLOOKUP, and for the life of me I cannot figure this out. PLEASE HELP!!!! :confused:
 
I think the formula is counting correctly. With your data-sample in #19 i could not find a single row in Calls whose date is >=B+31. Am i missing something?

Its not clear for me the meaning of

"...WITHIN 3 or 31 days.."

Could you please explain?

M.
 
Upvote 0

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

Forum statistics

Threads
1,215,621
Messages
6,125,884
Members
449,269
Latest member
GBCOACW

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top