Multiply value as X or a running total lesser than X

LifeDancer

New Member
Joined
Aug 16, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi,
I'm looking to create a formula that calculates based on either the entire running total, or a specific number that is less than the running total.

Example:
Mileage is input daily in column E, and a running total is calculated in column F.
If the final running total in cell E34 is less that 833, then E34*0.45 is the required result.
If the running total in E34 is greater than 833, then the calculation needs to be 833*0.45.

Is there a way to ask for the value to be either 833 or E34, whichever is lesser?

Thanks for any suggestions.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Without seeing a sample of your data, it sounds like you could use the MIN() function. Something like this:

Excel Formula:
=MIN(E34,833)*.45
 
Upvote 0

Forum statistics

Threads
1,223,891
Messages
6,175,229
Members
452,621
Latest member
Laura_PinksBTHFT

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