<= > in a formula
Closed
Moe
-
24 Feb 2010 à 16:51
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 24 Feb 2010 à 17:01
rizvisa1 Posts 4478 Registration date Thursday 28 January 2010 Status Contributor Last seen 5 May 2022 - 24 Feb 2010 à 17:01
Related:
- <= > in a formula
- Logitech formula vibration feedback wheel - Download - Drivers
- Grade formula in excel marksheet - Guide
- Spreadsheet formula - Guide
- Formula bar in excel - Guide
- Number to words in excel formula - Guide
1 response
rizvisa1
Posts
4478
Registration date
Thursday 28 January 2010
Status
Contributor
Last seen
5 May 2022
766
24 Feb 2010 à 17:01
24 Feb 2010 à 17:01
Use if statement
Lets say mileage is in cell A1 and cost needs to be in B1, then in B1 you can write
=IF(A1="","",IF(A1<=100,A1*1.2,(100*1.2)+(A1-100)*0.9))
Lets say mileage is in cell A1 and cost needs to be in B1, then in B1 you can write
=IF(A1="","",IF(A1<=100,A1*1.2,(100*1.2)+(A1-100)*0.9))