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

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
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,646
Messages
6,120,717
Members
448,985
Latest member
chocbudda

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