Forum Discussion
OlcayTo
Oct 03, 2023Copper Contributor
Formule Excel
I'm constantly searching, but can't find. I need a formula. For example. Someone travels 49 kilometers. The formula should not count up to 40 kilometers. So just the 9. (49-40) 9 kilometers to be pai...
- Oct 03, 2023
=MAX(0,A1-40)
You can try this formula if you want to return 0 if 21 is in cell A1.
=IF(A1>=40,A1-40,"")
This formula returns a blank cell if 21 is in cell A1.
OliverScheurich
Oct 03, 2023Gold Contributor
=MAX(0,A1-40)
You can try this formula if you want to return 0 if 21 is in cell A1.
=IF(A1>=40,A1-40,"")
This formula returns a blank cell if 21 is in cell A1.
OlcayTo
Oct 03, 2023Copper Contributor
This is him. Thank you very much OliverScheurich!