Need Formula Help - Stop calculation when specific value reached

mecole71

New Member
Joined
Apr 11, 2023
Messages
1
Office Version
  1. 365
Platform
  1. MacOS
I need help with this formula, I just can't seem to get it correct.

The values in column V are 20% of the values in column U

I need column V to calculate as normal, but once it reaches $16,000 total, it should stop the calculation.

This is the "cap" that I pay to my broker and once I pay in $16,000, I go 100% commission.

Additionally, I have already paid in $11,177.50, so that needs to be the starting number when summing up the values in column V to reach $16,000.

Here's a screenshot of what I have so far and the data..

if(V3+$AF$17>=16000,"",U3*0.2)

I used Chat GPT (AI) to help me get started (thats what is in columns AF and AG...not working

Screen Shot 2023-04-11 at 8.56.20 PM.png
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
we cant see column U
so 20% is
U3*0.2

But is this cap only on the 20% value in a row - or is it the sum of column V

we can use a MAX ( 16000, U3*0.2)
that will limit the max commission on a row to 16000
I have already paid in $11,177.50, so that needs to be the starting number when summing up the values in column V to reach $16,000.
Where is that number referenced
and now we are talking about summing column V

Is it the SUM of column V you are trying to max at 16000
then
=MAX( 16000, SUM(V3:V1000) )

I cant see any formula used as its just an image you have posted

Note: Images are difficult to see , and also requires that I input all the data myself, which means I may make an error, which is very time consuming, and from my point of view less likely to get a response, if a complicated spreadsheet. Plus we cannot see any of the formulas used.

Therefore -

A SMALL sample spreadsheet, around 10-20 rows, would help a lot here, with all sensitive data removed, and expected results mocked up and manually entered, with a few notes of explanation.

MrExcel has a tool called “XL2BB” that lets you post samples of your data and will allow us to copy/paste your sample data into our Excel spreadsheets, saving a lot of time.

You can also test to see if it works ok, in the "Test Here" forum.

OR if you cannot get XL2BB to work, or have restrictions on your PC

then put the sample spreadsheet onto a share

I only tend to goto OneDrive, Dropbox or google docs , as I'm never certain of other random share sites and possible virus.
Please make sure you have a representative data sample and also that the data has been desensitised, remember this site is open to anyone with internet access to see - so any sensitive / personal data should be removed

Make sure you set any share or google to share to everyone
 
Upvote 0

Forum statistics

Threads
1,215,148
Messages
6,123,301
Members
449,095
Latest member
Chestertim

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