#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default SUMIF FUNCTION

Hello All,

Need to add a second criteria to this sumif.
=SUMIF(SHEET1!C$1:C$953,"OATS",SHEET1!H$1:H$953)
Now it is only adding dollars in col. H for any "oats" in col.C.
Would like sum of dollars if there are oats in col. C and corn in col. F.
Is this possible?

Thank you everyone!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default SUMIF FUNCTION

Use SUMPRODUCT.

=SUMPRODUCT(--(Sheet1!C$1:C$953="oats"),--(Sheet1!F$1:F$953="Corn"),Sheet1!H$1:H$953)

HTH,
Paul

--

"Susan" wrote in message
...
Hello All,

Need to add a second criteria to this sumif.
=SUMIF(SHEET1!C$1:C$953,"OATS",SHEET1!H$1:H$953)
Now it is only adding dollars in col. H for any "oats" in col.C.
Would like sum of dollars if there are oats in col. C and corn in col. F.
Is this possible?

Thank you everyone!



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMIF FUNCTION

Try sumproduct for multi-criteria:
=SUMPRODUCT((SHEET1!C$1:C$953="Oats")*(SHEET1!F$1: F$953="Corn"),SHEET1!H$1:H$953)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"Susan" wrote:
Hello All,

Need to add a second criteria to this sumif.
=SUMIF(SHEET1!C$1:C$953,"OATS",SHEET1!H$1:H$953)
Now it is only adding dollars in col. H for any "oats" in col.C.
Would like sum of dollars if there are oats in col. C and corn in col. F.
Is this possible?

Thank you everyone!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default SUMIF FUNCTION

Thank you!

"Max" wrote:

Try sumproduct for multi-criteria:
=SUMPRODUCT((SHEET1!C$1:C$953="Oats")*(SHEET1!F$1: F$953="Corn"),SHEET1!H$1:H$953)
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"Susan" wrote:
Hello All,

Need to add a second criteria to this sumif.
=SUMIF(SHEET1!C$1:C$953,"OATS",SHEET1!H$1:H$953)
Now it is only adding dollars in col. H for any "oats" in col.C.
Would like sum of dollars if there are oats in col. C and corn in col. F.
Is this possible?

Thank you everyone!

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 271
Default SUMIF FUNCTION

Thank you!

"PCLIVE" wrote:

Use SUMPRODUCT.

=SUMPRODUCT(--(Sheet1!C$1:C$953="oats"),--(Sheet1!F$1:F$953="Corn"),Sheet1!H$1:H$953)

HTH,
Paul

--

"Susan" wrote in message
...
Hello All,

Need to add a second criteria to this sumif.
=SUMIF(SHEET1!C$1:C$953,"OATS",SHEET1!H$1:H$953)
Now it is only adding dollars in col. H for any "oats" in col.C.
Would like sum of dollars if there are oats in col. C and corn in col. F.
Is this possible?

Thank you everyone!






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default SUMIF FUNCTION

Welcome, Susan
--
Max
Singapore
http://savefile.com/projects/236895
Downloads: 15,500, Files: 352, Subscribers: 53
xdemechanik
---
"Susan" wrote in message
...
Thank you!



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
How to nest a left function within a sumif function? LisaK Excel Worksheet Functions 2 April 23rd 23 11:46 AM
Using the TODAY() function in a SUMIF function JPB Excel Worksheet Functions 4 July 27th 06 04:01 PM
SUMIF Function Inside SUMPRODUCT Function Abdul Waheed Excel Worksheet Functions 17 September 19th 05 04:24 PM
Can SUMIF function include AND function ShaneS Excel Worksheet Functions 1 May 17th 05 03:24 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 05:17 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"