LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 34
Default Sumif/Sumproduct Help

I'm having a hard time with my sumif/sumproduct formulas. From the data
below, if I enter the following formula:

=SUM(IF((B2:B7="A")*(C2:C7="July"),D2:D7)) CTRL + SHFT + ENTER

I get the answer of $150 - which is what I want. However, this table gets
bigger with every transaction and every month. If, in the previous formula,
I try to include a bigger range than what actually has info in it, it returns
#VALUE. I don't want to keep changing my formula each month. What can I do
to include blank cells i.e. a range of A2:A100?

PS I tried Sumproduct as well and it produced the same results.

Product Customer Month Amount
Pizza A July $150
B July $200
C July $100
Drinks A August $300
B August $250
C August $50

Thanks
Peanut

 
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
sumproduct? sumif(sumproduct)? David Excel Worksheet Functions 3 July 13th 07 07:06 PM
HELP Sumif or Sumproduct Cathy Excel Discussion (Misc queries) 1 March 15th 07 03:03 PM
Sumif or Sumproduct Steve Excel Worksheet Functions 1 February 4th 06 08:43 PM
SUMIF/SUMPRODUCT?? Ket Excel Worksheet Functions 2 March 30th 05 08:21 PM
Sumif not Sumproduct David Excel Worksheet Functions 4 December 8th 04 11:39 AM


All times are GMT +1. The time now is 10:02 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"