MAX with VALUE and LEFT

=MAX(VALUE(LEFT({OTHER SHEET REFERENCE RANGE}, 4)))
I'm trying to first get TEXT/NUMBER column to read first 4 characters (i.e. 0004-1 to be 0004),
Then trying to get TEXT to NUMBER conversion (i.e. 0004 to 4),
Then trying to get MAX out of that adjusted range.
Getting INVALID DATA TYPE.
Best Answer
-
You would need to add a column in the 'OTHER SHEET' with the =VALUE(LEFT([Column name]@row,4))
then make that your cross sheet reference and put it directly into the MAX function
Answers
-
You would need to add a column in the 'OTHER SHEET' with the =VALUE(LEFT([Column name]@row,4))
then make that your cross sheet reference and put it directly into the MAX function
-
Dang, I was trying to avoid a helper column, but I guess that makes sense.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 67.9K Get Help
- 474 Global Discussions
- 208 Use Cases
- 517 Announcements
- 5.6K Ideas & Feature Requests
- 87 Brandfolder
- 157 Just for fun
- 84 Community Job Board
- 521 Show & Tell
- 36 Member Spotlight
- 3 SmartStories
- 309 Events
- 37 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!