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
- Customer Resources
- 64.9K Get Help
- 439 Global Discussions
- 138 Industry Talk
- 471 Announcements
- 4.9K Ideas & Feature Requests
- 129 Brandfolder
- 148 Just for fun
- 68 Community Job Board
- 486 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 300 Events
- 36 Webinars
- 7.3K Forum Archives