Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count number of dates
Hi,
I want to put a formula on a spreadsheet to calculate the number of 6 Aprils between two dates. For example A1=1/1/1990 A2=1/1/1993 There would be three 6 Aprils. I would imagine that I could do this using a combination of Ifs and DateDiffs but it seems that there must be an easier way! Any ideas?! |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count number of dates
Hi!
Try this: =SUMPRODUCT(--(TEXT(ROW(INDIRECT(A1&":"&A2)),"mmmd")="Apr6")) Biff "pau1a" <u19999@uwe wrote in message news:5da753eb2f65e@uwe... Hi, I want to put a formula on a spreadsheet to calculate the number of 6 Aprils between two dates. For example A1=1/1/1990 A2=1/1/1993 There would be three 6 Aprils. I would imagine that I could do this using a combination of Ifs and DateDiffs but it seems that there must be an easier way! Any ideas?! |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count number of dates
Thanks that works!
|
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count number of dates
You're welcome!
Biff "pau1a" <u19999@uwe wrote in message news:5da7f487540ba@uwe... Thanks that works! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Count the number of unique records | Excel Worksheet Functions | |||
Simple Way to Count the Number of Duplicate Dates on Multiple Worksheets | Excel Discussion (Misc queries) | |||
Return SEARCHED Column Number of Numeric Label and Value | Excel Worksheet Functions | |||
Count No. of times Dates are repeated | Excel Discussion (Misc queries) | |||
count date occurances in range of dates... | Excel Worksheet Functions |