Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
i currently have this formula
=COUNTIF(A1:A15,"5/18/2008")-COUNTIF(A1:A15,"5/22/2008") if i want to pull the dates and put them in a separate field and reference that field, how do i do it? the syntax i have won't work. i'm trying =COUNTIF(M6:M400,"$b$1")-COUNTIF(M6:M400,"$b$2") where b1=5/18/2008 and b2=5/22/2008 TIA |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
COUNTIF(M6:M400,""&$B$1)
do the same for the second date Btw, if you want to include 05/18/2008 you would need COUNTIF(M6:M400,"="&$B$1) -- Regards, Peo Sjoblom "Ann" wrote in message ... i currently have this formula =COUNTIF(A1:A15,"5/18/2008")-COUNTIF(A1:A15,"5/22/2008") if i want to pull the dates and put them in a separate field and reference that field, how do i do it? the syntax i have won't work. i'm trying =COUNTIF(M6:M400,"$b$1")-COUNTIF(M6:M400,"$b$2") where b1=5/18/2008 and b2=5/22/2008 TIA |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Ann --
Try =COUNTIF(M6:M400,""&B1)-COUNTIF(M6:M400,""&B2) Worked for me. HTH "Ann" wrote: i currently have this formula =COUNTIF(A1:A15,"5/18/2008")-COUNTIF(A1:A15,"5/22/2008") if i want to pull the dates and put them in a separate field and reference that field, how do i do it? the syntax i have won't work. i'm trying =COUNTIF(M6:M400,"$b$1")-COUNTIF(M6:M400,"$b$2") where b1=5/18/2008 and b2=5/22/2008 TIA |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
thanks, worked!
"pdberger" wrote: Ann -- Try =COUNTIF(M6:M400,""&B1)-COUNTIF(M6:M400,""&B2) Worked for me. HTH "Ann" wrote: i currently have this formula =COUNTIF(A1:A15,"5/18/2008")-COUNTIF(A1:A15,"5/22/2008") if i want to pull the dates and put them in a separate field and reference that field, how do i do it? the syntax i have won't work. i'm trying =COUNTIF(M6:M400,"$b$1")-COUNTIF(M6:M400,"$b$2") where b1=5/18/2008 and b2=5/22/2008 TIA |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date Calculation | New Users to Excel | |||
End Date Calculation (adding a start date duration) | Excel Discussion (Misc queries) | |||
date calculation | Excel Discussion (Misc queries) | |||
Tricky Date calculation: How to calculate a future date | Excel Discussion (Misc queries) | |||
Date Calculation | Excel Worksheet Functions |