If calculation

S

Sandy

I am trying to do the following inputting in the same cell,
0 to 72=0
73 - 102 = whatever is input in the cell minus 72
over 102 = 30

ie
62 73 82 93 102
0 1 10 21 30

I have managed most of this with IFs, but not all. Does anyone have any
ideas?
 
T

Teethless mama

You're welcome!


Angela said:
Thankyou so much!!!!!! This has solved a big problem. Great to have people
who know what they are doing help out the inexperienced...Great!! Thanks
again.
 
A

Angela

Thankyou so much!!!!!! This has solved a big problem. Great to have people
who know what they are doing help out the inexperienced...Great!! Thanks
again.
 
D

Dana DeLouis

=MIN(MAX(MIN(A1-72),),30)

Just to be different...

=MEDIAN(0,A1-72,30)

= = = =
Dana DeLouis
 
S

Steve Dunn

Does the second MIN achieve anything?

=MIN(MAX(A1-72,0),30)

alternative:

=IF(A1>102,30,(A1-72)*(A1>72))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top