A Sumif newbie needing help

Trying to write my first sumif equation and having a little trouble.
Column Headers: Fabricator and Line Total
If Fabricator: American* then sum Line total
Here's my "formula"
=SUMIF(Fabricator2:Fabricator40, =American*, [Line Total2:Line Total40])
Any help with be appreciated
Comments
-
Try this:
=SUMIF([Fabricator]:[Fabricator] , "American," [Line Total]:[Line Total])
-
Hello Bobby,
Β
Thanks for the question.Β Dartwohl's formula should work for this, however I wanted to explain a little further. When referencing cells or ranges of cells, each column name needs to be surrounded with square brackets [ ] if the column name contains spaces, numbers, or special characters. If the column name doesn't have any of these, the square brackets can either be there or not. In this formula for instance, the "Fabricator" doesn't need them but theΒ "Line Total" does because of the space.Β
Β
The other thing to mention is how the criteria is written. In this case, you're looking for theΒ text value "American*", which needs to be surrounded in quotations " " since it's text. If you were looking for a number valueΒ instead of a text value, the quotations wouldn't be needed.
Β
To learn more about these as well as everything else around creating formulas inΒ Smartsheet, check out our help center article here (https://help.smartsheet.com/articles/2476171).
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!