Welcome to the Smartsheet Forum Archives
The posts in this forum are no longer monitored for accuracy and their content may no longer be current. If there's a discussion here that interests you and you'd like to find (or create) a more current version, please Visit the Current Forums.
SUM formula does not provide a total of IF statement outputs
Hi
I have a timesheet tracker setup with a web form (mobile) to allow me to quickly keep track of my daily activities etc.
There is a basic formula setup to auto populate my mileage based on a site code that I enter.
=IF(LOC8 = "Home", "00", IF(LOC8 = "KH", "90", IF(LOC8 = "NP", "110", IF(LOC8 = "BP", "110", "xx"))))
I'm then totalling up my mileage but keep getting a zero in the total column.
I'm guessing that I might need an ISNUMBER statement adding to my total (SUM) formula?
Can anyone help please?
Kind regards
Phil
Comments
-
Phil,
Just delete the quotation marks before and after numbers and it will work (totalling). In this (your) case they are in text format and you cannot make calculations with them.
Yesterday there was a very similar issue in the following discussion: https://community.smartsheet.com/discussion/counting-checkboxes-all-parent-rows-sheet
I hope that helps
Atus
-
Perfect - thanks Atus.
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 64.1K Get Help
- 414 Global Discussions
- 221 Industry Talk
- 461 Announcements
- 4.8K Ideas & Feature Requests
- 143 Brandfolder
- 141 Just for fun
- 58 Community Job Board
- 462 Show & Tell
- 32 Member Spotlight
- 1 SmartStories
- 299 Events
- 38 Webinars
- 7.3K Forum Archives