Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Finding current week and if any item has somthing due

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)))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Finding current week and if any item has somthing due


Would this help

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

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562800

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 18
Default Finding current week and if any item has somthing due

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),'Ta rget 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
: )

"VBA Noob" wrote:


Would this help

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

VBA Noob


--
VBA Noob
------------------------------------------------------------------------
VBA Noob's Profile: http://www.excelforum.com/member.php...o&userid=33833
View this thread: http://www.excelforum.com/showthread...hreadid=562800


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
Show week number in current month DKerr Excel Discussion (Misc queries) 4 February 23rd 06 09:20 PM
How can I add up lookups? Finding days in a week of a month Michael at Thin Air Excel Discussion (Misc queries) 5 January 29th 06 06:55 PM
Macro to copy cells to rows below [email protected] Excel Discussion (Misc queries) 1 January 20th 06 06:59 PM
Macro to insert copied cells [email protected] Excel Discussion (Misc queries) 17 January 18th 06 10:40 AM
user defined function Brian Rogge Excel Worksheet Functions 5 May 23rd 05 06:21 PM


All times are GMT +1. The time now is 11:50 PM.

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

About Us

"It's about Microsoft Excel"