I have one column Miles and a second column Billable miles.
MILES BILLABLE MILES (RESULTS)
IF miles is > 1 miles -500, if miles < 500 "N/A"
Best Answer
-
Hi @GLW
Thank you for clarifying! We can add a statement at the beginning that says If MILES in the cell of this row is less than 500, return "N/A".
Otherwise (meaning the value is either 500 or more), then we can use your formula to subtract 500.
Try this:
=IF(Miles@row <= 500, "N/A", Miles@row - 500)
I've used @row so you can make this a Column Formula if you'd like!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Answers
-
=IF({Information provided}<{Information Required}, "Provide more info", "")
-
The first column MILES contains the mileage to our venue. If the mileage is over 500, we charge an additional fee for the extra miles. the extra miles will be in the second column BILLABLE MILES which is where the formula resides. the formula below works but if the mileage is 500 or less, the billable miles column shows a negative number. In lieu of the negative number, i would like it to return an N/A.
=IF(Miles1 > 1, Miles1 - 500)
-
Hi @GLW
Thank you for clarifying! We can add a statement at the beginning that says If MILES in the cell of this row is less than 500, return "N/A".
Otherwise (meaning the value is either 500 or more), then we can use your formula to subtract 500.
Try this:
=IF(Miles@row <= 500, "N/A", Miles@row - 500)
I've used @row so you can make this a Column Formula if you'd like!
Cheers,
Genevieve
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
-
Wonderful! I'm glad I could help.
Need more help? 👀 | Help and Learning Center
こんにちは (Konnichiwa), Hallo, Hola, Bonjour, Olá, Ciao! 👋 | Global Discussions
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.8K Get Help
- 437 Global Discussions
- 138 Industry Talk
- 470 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 65 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!