Does not equal "<>" does not return when looking at a number
I want to sum the Range "Students" IF the cell does not equal "/". The formula does not work when the criterion cell is equal to any number.
Can anyone help work around this
Current Formula:
=SUMIF([21_03]34:[21_03]42, <>"/", $Notes34:$Notes42)
Best Answer
-
Hi Sam—You could try this:
=SUM($Notes34:$Notes42) - SUMIF([21_03]34:[21_03]42, "/", $Notes34:$Notes42)
It may not be the simplest/most efficient way, but gets the job done.
Aya
Answers
-
Hi Sam—You could try this:
=SUM($Notes34:$Notes42) - SUMIF([21_03]34:[21_03]42, "/", $Notes34:$Notes42)
It may not be the simplest/most efficient way, but gets the job done.
Aya
-
That works thank you Aya!
Still confused why SS does not pickup numbers when the "<>/" is the criterion.
-
I'm guessing the criterion for the function is 'text-based', thus having the result as 0 when the range only has numbers and blank cells.
You can try adding apostrophes to the numbers and blank cells and see your original formula would begin to work.
Again, this is just my speculation.
Aya
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Smartsheet Customer Resources
- 63.5K Get Help
- 402 Global Discussions
- 213 Industry Talk
- 450 Announcements
- 4.7K Ideas & Feature Requests
- 141 Brandfolder
- 135 Just for fun
- 56 Community Job Board
- 454 Show & Tell
- 31 Member Spotlight
- 1 SmartStories
- 296 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!