Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
I have this formula:
=SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
Hi Steve
Try =SUMPRODUCT(--($B116:$B124="V"),--($Q116:$Q124=1300),S116:S124) If this post helps click Yes --------------- Jacob Skaria "Steve" wrote: I have this formula: =SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
You can use this formula, commit with CTRL+SHIFT+ENTER instead of just Enter,
as it's an array formula: =SUM(IF(($B116:$B124="V")*($Q116:$Q124=1300),S116: S124,"")) -- Regards, Dave "Steve" wrote: I have this formula: =SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
Thanks guys,
Both solutions worked great. Steve "David Billigmeier" wrote: You can use this formula, commit with CTRL+SHIFT+ENTER instead of just Enter, as it's an array formula: =SUM(IF(($B116:$B124="V")*($Q116:$Q124=1300),S116: S124,"")) -- Regards, Dave "Steve" wrote: I have this formula: =SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
Hi,
If you are using 2007: SUMIFS(S116:S124,B116:B124,"V",Q116:Q124,1300) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Steve" wrote: Thanks guys, Both solutions worked great. Steve "David Billigmeier" wrote: You can use this formula, commit with CTRL+SHIFT+ENTER instead of just Enter, as it's an array formula: =SUM(IF(($B116:$B124="V")*($Q116:$Q124=1300),S116: S124,"")) -- Regards, Dave "Steve" wrote: I have this formula: =SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
SUMIF, IF ?
Yes, thanks. I do have 2007 at home.
Thanks, Steve "Shane Devenshire" wrote: Hi, If you are using 2007: SUMIFS(S116:S124,B116:B124,"V",Q116:Q124,1300) -- If this helps, please click the Yes button. Cheers, Shane Devenshire "Steve" wrote: Thanks guys, Both solutions worked great. Steve "David Billigmeier" wrote: You can use this formula, commit with CTRL+SHIFT+ENTER instead of just Enter, as it's an array formula: =SUM(IF(($B116:$B124="V")*($Q116:$Q124=1300),S116: S124,"")) -- Regards, Dave "Steve" wrote: I have this formula: =SUMIF($B116:$B124,"V",S116:S124) In Q116:Q124, I have various numbers, such as 1300, 1400, 1500. What can I add to the above formula to get the result for only the rows that have 1300 in the Q116:Q124 range. Thanks, Steve |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
sumif | New Users to Excel | |||
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" | Excel Worksheet Functions | |||
Embedding a Sumif in a sumif | Excel Worksheet Functions | |||
nested sumif or sumif with two criteria | Excel Worksheet Functions | |||
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function | Excel Worksheet Functions |