Hi, I need to do a total of the dates entered in the RAW DATA sheet that fall in between todays date and 7 days ago. I am comparing it to B3 in sheet 2. Have tried a COUNTIF but cannot get it to work - any ideas
Hi, I need to do a total of the dates entered in the RAW DATA sheet that fall in between todays date and 7 days ago. I am comparing it to B3 in sheet 2. Have tried a COUNTIF but cannot get it to work - any ideas
Last edited by stevewilde; 07-06-2009 at 09:37 AM.
Try this:
=SUMPRODUCT(--(RAW_DATA!$E$2:$E$182<=A3);--(RAW_DATA!$E$2:$E$182>=B3))
Also replace <= and >= with < and > if you don't need dates written in table.
Also replace ; with , if you get error
Never use Merged Cells in Excel
Many thanks, that worked a treat.
What do you mean about if you don't need dates written in table![]()
If they need to be included then <= if not then <
I see - thanks for the help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks