#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
roy.okinawa
 
Posts: n/a
Default New Year

I have the below formulas that sum only months. With the New Year 2006 upon
us, what do I need to add in order for them to look at month and year?

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=8))

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=MONTH(J1)),--(ISNUMBER(SEARCH(H6,Overall!N8:N1003))))

=SUMPRODUCT(--(TEXT(Overall!T8:T1008,"mmm")=TEXT(J1,"mmm")))
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default New Year

=SUMPRODUCT(--(YEAR(Overall!K8:K1003)=2006),--(MONTH(Overall!K8:K1003)=8))

or

=SUMPRODUCT(--(TEXT(Overall!K8:K1003)="yyyymm")="200608"))

or

=SUMPRODUCT(--(Overall!K8:K1003-DAY(Overall!K8:K1003)+1=--"2006-08-01"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"roy.okinawa" wrote in message
...
I have the below formulas that sum only months. With the New Year 2006

upon
us, what do I need to add in order for them to look at month and year?

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=8))


=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=MONTH(J1)),--(ISNUMBER(SEARCH(H6,Over
all!N8:N1003))))

=SUMPRODUCT(--(TEXT(Overall!T8:T1008,"mmm")=TEXT(J1,"mmm")))



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Roger Govier
 
Posts: n/a
Default New Year

Hi Roy

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=8),--(YEAR(Overall!K8:K1003)=2006))


=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=MONTH(J1)),--(YEAR(Overall!K8:K1003)=YEAR(J1)),--(ISNUMBER(SEARCH(H6,Overall!N8:N1003))))

=SUMPRODUCT(--(TEXT(Overall!T8:T1008,"yyyymmm")=TEXT(J1,"yyyymmm ")))

Try

Regards

Roger Govier


roy.okinawa wrote:
I have the below formulas that sum only months. With the New Year 2006 upon
us, what do I need to add in order for them to look at month and year?

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=8))

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=MONTH(J1)),--(ISNUMBER(SEARCH(H6,Overall!N8:N1003))))

=SUMPRODUCT(--(TEXT(Overall!T8:T1008,"mmm")=TEXT(J1,"mmm")))

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
roy.okinawa
 
Posts: n/a
Default New Year

Thanks.

"Bob Phillips" wrote:

=SUMPRODUCT(--(YEAR(Overall!K8:K1003)=2006),--(MONTH(Overall!K8:K1003)=8))

or

=SUMPRODUCT(--(TEXT(Overall!K8:K1003)="yyyymm")="200608"))

or

=SUMPRODUCT(--(Overall!K8:K1003-DAY(Overall!K8:K1003)+1=--"2006-08-01"))

--

HTH

RP
(remove nothere from the email address if mailing direct)


"roy.okinawa" wrote in message
...
I have the below formulas that sum only months. With the New Year 2006

upon
us, what do I need to add in order for them to look at month and year?

=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=8))


=SUMPRODUCT(--(MONTH(Overall!K8:K1003)=MONTH(J1)),--(ISNUMBER(SEARCH(H6,Over
all!N8:N1003))))

=SUMPRODUCT(--(TEXT(Overall!T8:T1008,"mmm")=TEXT(J1,"mmm")))




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
year function and financial years Martin_London Excel Worksheet Functions 5 December 5th 05 11:20 PM
Ho to Delete "Ghost" Pivot Tables needyourhelp Excel Discussion (Misc queries) 3 November 17th 05 10:10 PM
Auto Year scale John Sawyer Charts and Charting in Excel 1 July 19th 05 03:18 AM
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM
Need totals of values that fall within a given year Pierre Excel Worksheet Functions 12 January 5th 05 04:45 PM


All times are GMT +1. The time now is 04:54 AM.

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"