Forum Discussion
TRM353
Aug 03, 2022Copper Contributor
Excel
what's wrong with this formula?: =IF(D157>=5,"5","D157") I want column E to contain number in Column D if less than or = to 5, if greater than 5 then "5" Thank you!
TRM353
Aug 03, 2022Copper Contributor
You are a genius! Thank you very much.
Could I add additional parameters? For example if I wanted to ignore any figures in column D that were less than 1.0 could I add: <1.0,0,
HansVogelaar
Aug 03, 2022MVP
- TRM353Aug 03, 2022Copper ContributorI probably didn't explain that very well.
Column D is random numbers. I would like column E to: be 0 for numbers less than 1.0, be the number in column D if between 1.0 and 5.0 and be 5.0 for numbers greater than 5.0- HansVogelaarAug 03, 2022MVP
=IF(D157<1,0,MIN(D157,5))
- TRM353Aug 04, 2022Copper ContributorExcellent! Thank you very much.