If sum

sjbutler69

New Member
Joined
Sep 3, 2014
Messages
4
Need a formula for IF SUM

If the sum of A14:A20 is less than 4,741,852 than multiply A20 by B6
If the sum of A14:A20 is greater than or equal to 4,741,852 than multiply A20 by B7
If the sum of A14:A20 is greater than or equal to 7,000,000 than multiply A20 by B8
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
This method would avoid using nested IFs, which can get messy if lots of layers of nesting are required. =A20*INDIRECT(LOOKUP(SUM(A14:A20),{0,4741852,7000000,999999999},{"b6","b7","b8"}))
 
Last edited:
Upvote 0
Sorry should have made that a bit clearer.

If the sum of A14:A20 is less than 4,741,852 than multiply A20 by B6
If the sum of A14:A20 is between 4,741,852-6,999,99 than multiply A20 by B7
If the sum of A14:A20 is greater than or equal to 7,000,000 than multiply A20 by B8
 
Upvote 0

Forum statistics

Threads
1,214,904
Messages
6,122,169
Members
449,070
Latest member
webster33

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