I've been working too much and everything is running together. I got 1 equation to work flawlessly, but the second is throwing me off and it's just not working 100% correct.
Here's the one that works. It requires information to be pulled from 1 cell to get the answer:
=IF(D2<21,0,(TRUNC((MIN(D2,50)*0.001+MAX(MIN(D2-70,50),0)*0.001/2+MAX(MIN(D2-120,80),0)*0.001/4),3)))
I can't get the one that's giving me troubles to work 100%, it requires information from 2 cells and the equation needs to work like such:
IF (cell < 30) = 0
31 thru 130 = *.001/2
131 thru 200 = *.001/4
results must truncate after the 3rd decimal spot (thousandths) and regardless of the amounts entered into the cells, the max result that can be returned is .067
30 thru 130 (100 max) * .001/2) = .05
131 thru 200 = (70 max)*.001/4 = .017
The max result can only be .067
Here's what I've come to ending up with, and it's not quite working correctly:
=IF(D5<31,0,(TRUNC((MIN((D5+D3)-30,100)*0.001/2+MAX(MIN((D5+D3)-130),0)*0.001/4),3)))
Entering data above 200 total combined points should still only return the max result of .067. Like for the working equation (first one posted), the max return result is .095 and any number entered in above 200 still only returns the max result of .095.
What am I missing in the second one to keep the max result from being exceeded? I've attached the worksheet I've been playing in. Hopefully someone can help me out here and hopefully I've explained this well enough to follow.
Oh, and if there's an easier way to do this, I'm all ears.
testing.xlsx
Thanks.
Bookmarks