ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Counting cells (https://www.excelbanter.com/excel-discussion-misc-queries/159741-counting-cells.html)

[email protected]

Counting cells
 
Hi, I have a sheet with column "G" being the date of the last time a
customer was contacted, I need to count the number of customers that
have been contacted within the last 365 days. I do have the formula
set up on the sheet to keep track of the current date.

Thanks!

Sean.


Peo Sjoblom

Counting cells
 
A couple of ways

=COUNTIF(G2:G500,"="&TODAY()-500)

=SUMPRODUCT(--(G2:G500=TODAY()-365))

change G2:G500 to fit your needs

--


Regards,


Peo Sjoblom



wrote in message
ups.com...
Hi, I have a sheet with column "G" being the date of the last time a
customer was contacted, I need to count the number of customers that
have been contacted within the last 365 days. I do have the formula
set up on the sheet to keep track of the current date.

Thanks!

Sean.





All times are GMT +1. The time now is 02:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com