Help with rewriting SUMIF formula

Sean15

Well-known Member
Joined
Jun 25, 2005
Messages
719
Office Version
  1. 2010
Platform
  1. Windows
Hello:

Formula in E5 is returning zero, but expected value is $1,850.00
Could you help me rewrite formula in E5?

Book1
BCDE
1AgeAmount
2120>1200
365>650
445425
5-
6Expected value1,850.00
Sheet1
Cell Formulas
RangeFormula
E5E5=SUMIF($B$2:$B$4,">=60",$C$2:$C$4)
E6E6=1200+650


Thank you so much
Sean
 
Here is the new data layout.
There are blank cells in column B so formula in E5 (adapted from formula in post #8) is returning #VALUE!
Sometimes I am able to solve the little surprises but this time I am stumped.
Again, my apologies.

SUMIF formula.xlsx
ABCDE
1ID NOAgeAmount
2752412>1201200
375241265650
41254265425
512542125752412#VALUE!
6Expected result1,850.00
Sheet1
Cell Formulas
RangeFormula
E5E5=SUMPRODUCT(--($A$2:$A$5=D5),--(--SUBSTITUTE($B$2:$B$5,">","")>=60),$C$2:$C$5)
E6E6=1200+650
 
Upvote 0

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.
Try
Excel Formula:
=SUMPRODUCT(--($A$2:$A$5=D5),--(--(0&SUBSTITUTE($B$2:$B$5,">",""))>=60),$C$2:$C$5)
 
Upvote 0
Solution
Here is the new data layout.
There are blank cells in column B so formula in E5 (adapted from formula in post #8) is returning #VALUE!
Sometimes I am able to solve the little surprises but this time I am stumped.
Again, my apologies.

SUMIF formula.xlsx
ABCDE
1ID NOAgeAmount
2752412>1201200
375241265650
41254265425
512542125752412#VALUE!
6Expected result1,850.00
Sheet1
Cell Formulas
RangeFormula
E5E5=SUMPRODUCT(--($A$2:$A$5=D5),--(--SUBSTITUTE($B$2:$B$5,">","")>=60),$C$2:$C$5)
E6E6=1200+650
 

Attachments

  • 1729754319723.png
    1729754319723.png
    30.6 KB · Views: 7
Upvote 0

Forum statistics

Threads
1,224,875
Messages
6,181,516
Members
453,050
Latest member
Obil

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top