I can check if I need to increase, but how to stop when I reach a MAX?

wkirkcrawford

Board Regular
Joined
Dec 7, 2013
Messages
72
Greetings,

I've got this log and I'm checking the last three, L column, are Greater than 130, I need to increase the amount by 3.

Until I reach the maximum of 25. I'm starting off by 18. 18 + 3 = 21. Then 21 + 3 = 24. Then 24 + 3 = 25?

=IF(K15="","".IF(AND(K14>130,K13>130,K12>130)L14+3,L14) but I need to a MAX.

How can I do this check until I reach a MAX of 25.

W. Kirk Crawford
Tularosa, New Mexico
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
an untested slight variation on what you have...
=IF(K15="",",IF(sum(K14:K12)>390,L14+3,L14)

How you you know how many times you have already added 3, and what happens when you reach 25? And btw, 25 is not exactly divisible by 3, so how would you handle the remaining 1?
 
Upvote 0
Ford,

I am aware that 25 is not an incremental of 3.

I started at 18. Guess the Doctor doesn't think about such things.

W. Kirk Crawford
Tularosa, New Mexico
 
Upvote 0

Forum statistics

Threads
1,215,494
Messages
6,125,139
Members
449,207
Latest member
VictorSiwiide

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