Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I wish to Sumproduct Col B x D (from rows 5 to 10) but only if the
Value in Col M5:10 = Cars So I could have a scenario of ColB5 x ColD5 + ColB7 x ColD7 + ColB8 x ColD8 + ColB10 x ColD10 = As M6 & M9 were not = Cars, then I ignored them from my Calculation Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Try this:
=SUMPRODUCT(B5:B10,D5:D10,--(M5:M10="Cars")) or =SUMPRODUCT(B5:B10*D5:D10*(M5:M10="Cars")) Does that help? *********** Regards, Ron XL2002, WinXP "Sean" wrote: I wish to Sumproduct Col B x D (from rows 5 to 10) but only if the Value in Col M5:10 = Cars So I could have a scenario of ColB5 x ColD5 + ColB7 x ColD7 + ColB8 x ColD8 + ColB10 x ColD10 = As M6 & M9 were not = Cars, then I ignored them from my Calculation Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
=SUMPRODUCT(--(M5:M10="Cars"),(D5:D10-B5:B10))
-- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sean" wrote in message ups.com... I wish to Sumproduct Col B x D (from rows 5 to 10) but only if the Value in Col M5:10 = Cars So I could have a scenario of ColB5 x ColD5 + ColB7 x ColD7 + ColB8 x ColD8 + ColB10 x ColD10 = As M6 & M9 were not = Cars, then I ignored them from my Calculation Thanks |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Feb 14, 12:27 pm, "Bob Phillips" wrote:
=SUMPRODUCT(--(M5:M10="Cars"),(D5:D10-B5:B10)) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sean" wrote in message ups.com... I wish to Sumproduct Col B x D (from rows 5 to 10) but only if the Value in Col M5:10 = Cars So I could have a scenario of ColB5 x ColD5 + ColB7 x ColD7 + ColB8 x ColD8 + ColB10 x ColD10 = As M6 & M9 were not = Cars, then I ignored them from my Calculation Thanks- Hide quoted text - - Show quoted text - Thanks guys it works a treat |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Sorry, I read that as D-B for some reason
=SUMPRODUCT(--(M5:M10="Cars"),D5:D10,B5:B10) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Bob Phillips" wrote in message ... =SUMPRODUCT(--(M5:M10="Cars"),(D5:D10-B5:B10)) -- --- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "Sean" wrote in message ups.com... I wish to Sumproduct Col B x D (from rows 5 to 10) but only if the Value in Col M5:10 = Cars So I could have a scenario of ColB5 x ColD5 + ColB7 x ColD7 + ColB8 x ColD8 + ColB10 x ColD10 = As M6 & M9 were not = Cars, then I ignored them from my Calculation Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
SUMPRODUCT | Excel Discussion (Misc queries) | |||
Sumproduct Help | Excel Discussion (Misc queries) | |||
Can this be done using Sumproduct? | Excel Worksheet Functions | |||
Like Sumproduct, But Different | Excel Worksheet Functions | |||
Sumproduct Help | Excel Worksheet Functions |