#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 176
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,814
Default 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
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
sumif Sulasno[_2_] New Users to Excel 8 December 11th 07 08:48 PM
sumif for multi conditions. i.e sumif(A1:A10,"Jon" and B1:B10,"A" Harry Seymour Excel Worksheet Functions 9 June 12th 07 10:47 PM
Embedding a Sumif in a sumif C.Pflugrath Excel Worksheet Functions 5 August 31st 05 07:31 PM
nested sumif or sumif with two criteria dshigley Excel Worksheet Functions 5 April 5th 05 03:34 AM
SUMIF - Range name to used for the "sum_range" portion of a SUMIF function Oscar Excel Worksheet Functions 2 January 11th 05 11:01 PM


All times are GMT +1. The time now is 10:12 PM.

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"