Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367)
Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
sounds like you want
=sumproduct(--(A2:A367<=date selected),B2:B367) "ronbwa" wrote: On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367) Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I just want to count the number of cells that have a number in them in Column
B not the sum of the contents of the cells with respect to the date selected. "Sean Timmons" wrote: sounds like you want =sumproduct(--(A2:A367<=date selected),B2:B367) "ronbwa" wrote: On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367) Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Does this do what you want?
=SUMPRODUCT((A2:A367<=date selected)*(A2:A367<"")) Rick "ronbwa" wrote in message ... I just want to count the number of cells that have a number in them in Column B not the sum of the contents of the cells with respect to the date selected. "Sean Timmons" wrote: sounds like you want =sumproduct(--(A2:A367<=date selected),B2:B367) "ronbwa" wrote: On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367) Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thank you, thank you, thank you! Just had to alter a bit, but got what I wanted
=SUMPRODUCT((Sheet1!A2:A367<=D6)*(Sheet1!B2:B367< "")) "Rick Rothstein (MVP - VB)" wrote: Does this do what you want? =SUMPRODUCT((A2:A367<=date selected)*(A2:A367<"")) Rick "ronbwa" wrote in message ... I just want to count the number of cells that have a number in them in Column B not the sum of the contents of the cells with respect to the date selected. "Sean Timmons" wrote: sounds like you want =sumproduct(--(A2:A367<=date selected),B2:B367) "ronbwa" wrote: On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367) Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
May I ask what <"" refers to?
"ronbwa" wrote: Thank you, thank you, thank you! Just had to alter a bit, but got what I wanted =SUMPRODUCT((Sheet1!A2:A367<=D6)*(Sheet1!B2:B367< "")) "Rick Rothstein (MVP - VB)" wrote: Does this do what you want? =SUMPRODUCT((A2:A367<=date selected)*(A2:A367<"")) Rick "ronbwa" wrote in message ... I just want to count the number of cells that have a number in them in Column B not the sum of the contents of the cells with respect to the date selected. "Sean Timmons" wrote: sounds like you want =sumproduct(--(A2:A367<=date selected),B2:B367) "ronbwa" wrote: On my worksheet Column A contains dates 1/1/08 thru 12/31/08 (A2:A367) Column B contains entries for dates in Column A. When I select a certain date I want to be able to count the cells in Column B that contains a number up to and including the date selected. Can anyone help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
counting function but not double counting duplicates | Excel Worksheet Functions | |||
Counting | Excel Discussion (Misc queries) | |||
Help Counting | Excel Worksheet Functions | |||
Counting rows, then counting values. | Excel Discussion (Misc queries) | |||
Counting names in a column but counting duplicate names once | Excel Discussion (Misc queries) |