SUMIFS- Need to sum a column based on a range of numbers

Apples52

New Member
Joined
Sep 25, 2023
Messages
23
Office Version
  1. 365
Platform
  1. Windows
Hi,
This seems simple enough but I can't get this formula to work properly. In cell J2 I am wanting to return the sum of column H if the value in column G is between 4000 & 4999. The latest formula I've tried is

=SUMIFS(H2:H4082,G2:G4082,">=4000",G2:G4082,"<=4999")

It is returning no value. Where am I going wrong?
 

Attachments

  • sumifs.png
    sumifs.png
    33 KB · Views: 11

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Hello - try this =SUMIFS(H2:H4082,G2:G4082,">="&4000,G2:G4082,"<="&4999)
Hmm, that solution didn't work either. Returned a value of 0. But I appreciate you taking the time to reply

Edit: Both my formula and your revision worked after Fluffs comment on converting text to numbers in col G
 
Last edited:
Upvote 0
Convert the text in Col G to numbers & then your formula will work.
 
Upvote 0
Solution
Hello - try this =SUMIFS(H2:H4082,G2:G4082,">="&4000,G2:G4082,"<="&4999)
Hmm, that solution didn't work either. Returned a value of 0. But I appreciate you taking the time to reply
Convert the text in Col G to numbers & then your formula will w
Ahhh, yes, that did it! So both my formula and the revision suggestion from NickFru worked after that. After looking at rows and rows of data too long, those little things often get lost. Thanks so much!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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