#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11
Default 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.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default 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.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
counting cells that are 0 in a range of non-contiguous cells Mark Excel Worksheet Functions 9 March 14th 07 02:45 PM
Query counting cells in a row that exactly match cells in another Marlsnz Excel Discussion (Misc queries) 1 June 2nd 06 07:08 AM
Complicated counting of cells (based on other cells contents) George Excel Worksheet Functions 3 November 7th 05 06:39 PM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 2 May 2nd 05 08:53 AM
Counting empty cells within a range of cells Rosehill - ExcelForums.com New Users to Excel 0 April 7th 05 12:47 AM


All times are GMT +1. The time now is 02:19 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"