LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 108
Default Sumproduct with nested sum

Here's my sumproduct formula:

=SUMPRODUCT(--(Data!$F$2:$F$2500='BDC P&L'!$C$607)*(Data!$D$2:$D$2500='BDC
P&L'!C608)*(Data!$A$2:$A$2500='BDC P&L'!$C$605)*(Data!$C$2:$C$2500='BDC
P&L'!$B612)*(Data!$E$2:$E$2500))

This formula is working fine as it is. But one of my criteria (Col D) is
listing data for the entire year (13 periods). So I needed to match the
criteria to the current + past periods only. For example, If I'm on P04, I
will need to return data for the first 3 periods only. If I omit the
criteria, the formula will sum up all the data for all 13 periods, and if I
leave it as it is, it will return only the values that match the data under
'BDC P&L'!C608. I have tried something like this but didn't work:
........)*(Data!$D$2:$D$2500='BDC P&L'!C608 + 'BDC P&L'!D608 + 'BDC P&L'!E608
)*(..........))

I also nested sum into that one criteria, but i didn't work either.
Columns A, C, D, and F are text type, while column E is numerical type. Any
direction on this is greatly appreciated.

Thanks.
--
when u change the way u look @ things, the things u look at change.
 
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
nested if based on nested if in seperate sheet. how? scouserabbit Excel Worksheet Functions 5 March 2nd 07 04:03 PM
Nested If help JoeA2006 Excel Worksheet Functions 2 January 4th 07 04:08 PM
Nested IF Secret Squirrel Excel Discussion (Misc queries) 2 December 1st 06 12:02 PM
Sumproduct (Sumif) with Nested Or Criteria bkt Excel Worksheet Functions 9 September 5th 06 06:45 PM
Nested sumif/sumproduct SteveDB1 Excel Worksheet Functions 0 July 25th 06 08:27 PM


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

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

About Us

"It's about Microsoft Excel"