![]() |
|
#1
|
|||
|
|||
![]() CAUTION: This formula will count anything that is a number. If you column has more than dates and those entries are a number, this formula will count them as well. =COUNTIF(A:A,">1/1/1900") |
#2
|
|||
|
|||
![]()
In cell B1:
=(A1>=$C$1)*(A1<=$D$1)*(CELL("format";A1)="D1") copied down to B10 and then =SUM(B1:B10) where C1 is the earliest allowed date and D1 the latest allowed date. Please note that the last "D1" is not a cell reference but a format code. |
#3
|
|||
|
|||
![]()
Thank you for your help. Unfortunately I don't understand much about formulas in Excel, and so I don't think that I can use yours. Please see the image below. The formula would go in one of the blank cells at the bottom of each column.
|
#4
|
|||
|
|||
![]() Quote:
Thank you for your help. That formula works except I forgot to say that row A has a word in it, and I have 17 rows. Could your formula somehow be changed to eliminate row A in the count? Please see the image in the next post. |
#5
|
|||
|
|||
![]()
OP can as well use
Code:
COUNTIF(A:A,">0") Didn't understand a thing about column A having a word in it? Do you mean column header? Or do dates in column A have some text before or after date? Or is in some cells a text instead of date? And generally it is bad practice to have any summaries at bottom of data! You may have a situation where you must edit formulas whenever you add new row of data into table. Much better is have for any totals rows reserved at top of table. Additional bonus will be to use Freeze Panes feature to be Totals always displayed. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Kubi | Excel | 4 | 08-24-2017 05:53 PM |
![]() |
Kubi | Excel | 2 | 08-06-2017 08:54 PM |
Distribute text in one cell across a range of cells (overcoming selection.range.cells.count bug) | slaycock | Word VBA | 0 | 02-18-2017 07:00 AM |
How to Count from Different Cells? | Shahzad | Excel | 3 | 06-26-2010 01:06 AM |
Count range cells eliminating merge cells | danbenedek | Excel | 0 | 06-15-2010 12:40 AM |