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
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.
Formula is fine. Take out the greater than symbols in cells C2:C3
 
Upvote 0
Hi:
Thank you. Formula has to be added to an executive report so I am not able to edit column C.

Sean
 
Upvote 0
24 10 23.xlsm
BCDE
1AgeAmount
2120>1200
365>650
445425
51850
Sum
Cell Formulas
RangeFormula
E5E5=SUMPRODUCT(--(B2:B4>=60),--SUBSTITUTE(C2:C4,">",""))
 
Upvote 0
Hi,
There was an error in my sample data from post #1. The greater than symbol is in cells B2:B3. There is no greater than symbol in cells C2:C3. The expected result in E5 is still the same 1,850.00. Could you help rewrite formula? My apologies for the mix up.
 
Upvote 0
On men, I'm jinxed.
My live worksheet has several blank cells in column B so formula in post#8 is returning #VALUE!.
@Scott Huish, can we compensate for blank cells in column B?

Sean
 
Upvote 0
So, what about you get your data completely worked out and then post a better, fully representative, set of sample and the expected results and explain again in relation to that new sample data?
 
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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