Google sheets formula for values that are greater than or equal to but less than

chappers

New Member
Joined
Nov 2, 2016
Messages
8
I need a formula for a sheet which will calculate the sum of values in another sheet between a range i specify.

For example, find the sum of 'Sheet2 column A' where values in 'Sheet2 column B' are greater than or equal to 3.0 but less than 4.

Sheet2 looks like the following

[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Total[/TD]
[TD]Position[/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]3.0[/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]4.6[/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]3.4[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]5.9[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]2.6[/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Hi there. This formula will do that: =SUMIFS(Sheet2!A:A,Sheet2!B:B,">=3",Sheet2!B:B,"<4")
 
Upvote 0

Forum statistics

Threads
1,223,694
Messages
6,173,879
Members
452,536
Latest member
Chiz511

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