If the criteria is between two numbers, sum a different column

robertdseals

Active Member
Joined
May 14, 2008
Messages
334
Office Version
  1. 2010
Platform
  1. Windows
Hello,
This should be easy, but I can't figure it out. In column A I have number 1000, 2000, 3000...etc. In column B I have amounts. I want to write a "sumif" that says something along the lines of "sum the numbers in column B IF the value in column A is between 2000 and 2999. Simple...but I can't seem to figure it out!
This didn't work. =AND(SUMIF(SoftIncr.!A:L,">6999",SoftIncr.!B:B),SUMIF(SoftIncr.!A:L,"<8000",SoftIncr.!B:B))
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
Hi,

Try it this way:

Book3.xlsx
ABCD
1100010170
2200020
3300030
4210040
5299950
6200160
7300170
Sheet1044
Cell Formulas
RangeFormula
D1D1=SUMIFS(B1:B10,A1:A10,">=2000",A1:A10,"<=2999")
 
Upvote 0
Solution
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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