View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Can anyone shorten this one. (not overly clear on array usage)

=SUMIF('4 Week 4cast'!C2:C483,"="&TODAY()+22,'4 Week 4cast'!Q2:Q483)-
SUMIF('4 Week 4cast'!C2:C483,""&TODAY()+28,'4 Week 4cast'!Q2:Q483)


--

HTH

Bob Phillips

(remove nothere from the email address if mailing direct)

"Down'd Pilot"
wrote in message
...

I'm sure there is a way to shorten this formula, and i'm sure its by
using arrays. But i'm very uneducated when it comes to using arrays
fully

=SUMIF('4 Week 4cast'!C2:C483,TODAY()+22,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+23,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+24,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+25,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+26,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+27,'4 Week
4cast'!Q2:Q483)+SUMIF('4 Week 4cast'!C2:C483,TODAY()+28,'4 Week
4cast'!Q2:Q483)

Basicaly just adding up times in one column based on a date range of
one week.


--
Down'd Pilot
------------------------------------------------------------------------
Down'd Pilot's Profile:

http://www.excelforum.com/member.php...o&userid=34954
View this thread: http://www.excelforum.com/showthread...hreadid=546864