Formula Syntax Help - Identifying suffix on number.
I have a sheet tracking orders. Each order has multiple order lines (each item on an order has a separate line with a decimal suffix). I would like to identify each primary order line (order line ending with ".0" but I'm struggling with the formula. I currently have this keyed as a formula =if(Order Line1,right([Line]1,0)"Primary". "") Obviously this is not correct. Can someone help me figure out the correct syntax to return "Primary" in my helper column?
Best Answer
-
Perfect! Simple is always better.
Answers
-
This formula works, treating the decimal as a decimal simply comparing the cells gives the desired result, as anything with other than a 0 doesn't numerically match.
=IF([Order#]@row = Line@row, "Primary", "Not Primary")
Hope this helps.
Paul
-
Perfect! Simple is always better.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 64.9K Get Help
- 441 Global Discussions
- 140 Industry Talk
- 472 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 497 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!