Finding current week and if any item has somthing due

R

Robert Brown

I have a worksheet with almsot 40 items and everyday of the year, but i need
something to tell me quickly if there is something coming up this week. I can
do this for each day and column, but i am having trouble getting a formula i
can use to look at all the items, and count up all the items due that week.

This is what i have so far, the inital criteria "1" tells me there is
something due, the other is to see if it is the current week;

=COUNTIF(D16,1 & (IF(WEEKNUM(E16,2)=WEEKNUM(TODAY(),2),,1)))
 
V

VBA Noob

Would this help

=SUMPRODUCT(--(WEEKNUM(D16,2)=WEEKNUM(TODAY(),2)*(--($E$16:$E$100=1)*(--($E$16:$E$100)))))

VBA Noo
 
R

Robert Brown

Not quite becuase i need to look over all the dates, not just one of them, i
think i figured it out though:
(This is also looking off other sheets, not specified in original question)

=SUMPRODUCT(ISNUMBER(SEARCH(WEEKNUM(TODAY(),2),'Target Closed
Date'!$C$3:$C$368))*('Target Closed Date'!$G$3:$AS$368=1))

and if you need it for the next week just add +1 after "TODAY(),2)" like this:

=SUMPRODUCT(ISNUMBER(SEARCH(WEEKNUM(TODAY(),2)+1,'Target Closed
Date'!$C$3:$C$368))*('Target Closed Date'!$G$3:$AS$368=1))

Thank you for your help though, bringing up SUMPRODUCT made everything click
: )
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top