Sumifs formula

ste33uka

Active Member
Joined
Jan 31, 2020
Messages
471
Office Version
  1. 365
Platform
  1. Windows
I have the following formula that sums column G , if column C says red and column E is between 0 and 5,
Is there a way to change formula so it says if column E is between cells E1 and G1 ?
Thanks

Book2
BCDEFGHI
1RED056
2
3
4
5RED46
6RED97
7BLUE128
8
9
10
Sheet1
Cell Formulas
RangeFormula
I1I1=SUMIFS($G$5:$G$12,$C$5:$C$12,$C$1,$E$5:$E$12,">0",$E$5:$E$12,"<5")
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi, try this

Excel Formula:
=SUMIFS($G$5:$G$12,$C$5:$C$12,$C$1,$E$5:$E$12,">="&E1,$E$5:$E$12,"<="&G1)
 
Upvote 0
Solution

Forum statistics

Threads
1,214,839
Messages
6,121,891
Members
449,058
Latest member
Guy Boot

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