#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Sum / Sumif

Hi,
The following formula works:
=SUM(H1,F1,D1,D3,E3,G3)
How do I do the same with Sumif? (with whatever criteria)
Regards - Dave.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,124
Default Sum / Sumif

example


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Dave" wrote in message
...
Hi,
The following formula works:
=SUM(H1,F1,D1,D3,E3,G3)
How do I do the same with Sumif? (with whatever criteria)
Regards - Dave.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Sum / Sumif

Example:
=SUMIF(H1,F1,D1,D3,E3,G3,"50")
Excel doesn't let me enter this.
Dave.

"Don Guillett" wrote:

example


--
Don Guillett
Microsoft MVP Excel
SalesAid Software


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default Sum / Sumif

Try like this:

=SUM(SUMIF(INDIRECT({"D1","F1","H1","D3","E3","G3" }),"50"))


"Dave" wrote:

Example:
=SUMIF(H1,F1,D1,D3,E3,G3,"50")
Excel doesn't let me enter this.
Dave.

"Don Guillett" wrote:

example


--
Don Guillett
Microsoft MVP Excel
SalesAid Software


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Sum / Sumif

Hi TM,
Thanks. Works a treat. But ouch! What what was MS thinking - making the
simple things difficult?
Regards - Dave.


  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Sum / Sumif

MS was thinking that most people would sum consecutive cells. They were
correct.

Regards,
Fred

"Dave" wrote in message
...
Hi TM,
Thanks. Works a treat. But ouch! What what was MS thinking - making the
simple things difficult?
Regards - Dave.


  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Sum / Sumif

Ouch again. That hurts.
Seriously though, I was really wondering why SUM handled non-consecutive
cells so well, while SUMIF handled them so badly...
Daev.

"Fred Smith" wrote:

MS was thinking that most people would sum consecutive cells. They were
correct.

Regards,
Fred

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Sum / Sumif

Good point. Sum was obviously written by someone who cared about the end
user, and was interested in handling as many situations as possible. It, for
example, is one of the few functions which handle 3D ranges
(Sheet1:Sheet3!A1:B6).

Unfortunately, MS did not insist on the same quality for most of the other
functions, including Sumif. And, more annoying, they haven't bothered to add
this functionality in future releases, included 2007.

Regards,
Fred.

"Dave" wrote in message
...
Ouch again. That hurts.
Seriously though, I was really wondering why SUM handled non-consecutive
cells so well, while SUMIF handled them so badly...
Daev.

"Fred Smith" wrote:

MS was thinking that most people would sum consecutive cells. They were
correct.

Regards,
Fred


  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,388
Default Sum / Sumif

Hi FS,
Thanks for the info on summing 3D ranges. I didn't know that could be done.
Always learning.
Dave.
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 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
SUMIF?? Ket Excel Worksheet Functions 4 January 24th 06 04:23 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 01:36 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"