Percentage Calculation with a Cap

jayman001

New Member
Joined
Apr 24, 2020
Messages
1
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
I am trying to build a formula where the percentage of inflows will only calculate based on YTD totals up to a cap. For example, my inflows and percentages are constant, but when the YTD reaches 25,000 I want the formula to calculate the percentage on the delta. In other words, row 4 the 2% is based on 5,000 (remaining amount before reaching the cap) for a result of 100. Subsequent inflows and percentage calculations are turned off due to passing the cap.

For context, I am trying to build the formula where I can enter in different cash flow amounts, but the YTD cap (25,000) remains the same. So if the inflows were 20,000 it will automatically adjust. I hope I explained enough for others to help. Let me know if you need clarification. Thanks!

InflowsPercentage - 2%YTD
10,00020010,000
10,00020020,000
10,000100 30,000
10,000040,000
10,000050,000
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
I would say use an if formula and use greater than and equal to. Sorry cant give the direct formula but youtube has a million if formulas for this stype of situation.
 
Upvote 0

Forum statistics

Threads
1,214,956
Messages
6,122,465
Members
449,085
Latest member
ExcelError

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