Counting Blank Cells
Answers
-
If it is within the same range, you can use
=COUNTIFS({National Alliance Operation Inquiries Range 1}, OR(@cell <(8), @cell = ""))
If not within the same range, it would be the same syntax as provide earlier.
-
Uggghhh, that will not work. Now we have figured the actual problem, which is a little different. I have a column titled days pending from due date. This column calculates the number of days that an item is pending from the submitted date. The issue is if no date is selected in the due date column, my formula gives a error #invalid data because it is subtracting the due date column from the submitted date when no date is in the due date column. However, I need a formula to count those as well. So basically, they are blanks in the due date field but my days pending from due date column has the error message in those fields. Did I confuse you enough? Here is the formula:
=NETWORKDAY([Due Date]3, [Submitted Date]3) * -1
-
You can wrap the formula generating the error in an IFERROR statement to generate a blank. Will that work?
=IFERROR(NETWORKDAY([Due Date]3, [Submitted Date]3) * -1, "")
-
This formula only makes the cell blank and does not count the blank cell in my other formula. I am still trying to send screenshots and unable to.
-
Yes. That removes the error from the source data which allows you to use a formula similar to the previously mentioned formulas to count those that are blank or less than #.
-
Thanks @Paul Newcome. Management wants to know is there a way to create a formula in smartsheet so that when the due date is empty, we populate a due date based on the priority level selected. For example in my form, users have the option to select priority levels, urgent, medium or routine. Can we create a formula in smartsheet to calculate the following:
Urgent = today's date
Medium = tomorrow's date
Routine = 2 days from today's date
-
Yes. I assume you want working days and not weekends, so try this...
=WORKDAY(TODAY(), IF(Priority@row = "Medium", 1, IF(Priority@row = "Routine", 2, 0)))
-
Your assumption is correct. Please see below.
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAY8AAABLCAYAAACIlAvxAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABSZSURBVHhe7Z1trB3FecfnYmIrJfVFRKGAfR1epTQhaUslV8JAU6rYfEoEGNu4okGEIkElWmIL+sFGSPAFRGtAgFVEVCoo+Jrr4CqqZGNKy4spRUBk5IRKvNj1Gw1qRK9thHDAp/vb3ef4uXN3z9ndu74XX/9/0ujs7OzOzM488zwzsztzBjoJQYgW2Lt3b5gzZ07u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Nr4+DgILwOGzaOMj09XdQ+e4YK1I2NjcbhUUVDXGuT0TEV3G1ZuGp/ta3us7EembYH0L1SmGkoo96KejVpXb2mtnTTayjXNAh10yscbIgrV1dXoQ3SNDxEw8Dl5eViKQtDtDikq+bfRMNB28ZK3BuMw1XUNrUxpaGv7b+4uBiGmm3UtQPAt8ph5tvb21fP6P7+PltaWgr1n9DwSsOx4+PjYk1ZfLPqpj88PBwY1moYuLW1VSx9hkd6vDikrGi7vb29YotPNvekkFbYabsmc2ZxjyoOV1HbFNipeM5MdV1bmzCqaweASH6DDNCqYSW/IT/yoPnIw6nY+lt+c4ditH3eEwl17WfLeW/lI79Jw3q9av0o2sfOnxajNum4xo6r89ZJ26C6tW8YncvaEBfbz9qcnl+fj312ddceH++30N/5AuNSOcy017SuYebU1FTlHJMm1+N5rpj2U28rnXxvQg8CtK+1wYoM6+Wo96J9NMwzGr6qF5ayp7RthsGStkc9tZ/O5QH4d6Uw001tIaAbV0PEmIJCQ6Z4aKZQ0br19fViTZkN97RdGxoKxvNnpi48dD5dh82Ladiq5fR7WgpLXWPT+UBtv7KyUix901Bz1Fye1utafhLoAOqVwuzp6enrZtXXCKpucvVENEdkc1OaqFZI1QVC256LAlMBVPW1kLrwEJ1PAWLBaz1Ka7f11NLvblVNvKtYIMXzd8bCMn4QoGXbV3X1FtM5r/j4KvE/EsPaAaCM/wIIneG/AMI4VT7NBIDfhjAD4AJhBsAFwgyAC4QZABcIMwAuEGYAXCDMALjAjwCjU3xpFuPCXwCgM/wFAMaJYSYAFwgzAC4QZgBcIMwAuECYAXCBMAPgAmEGwAXCDIALhBkAFwgzAC4QZgBcIMwAuECYAXCBMAPgAmEGwAXCDIALhBkAFwgzAC4QZgBcIMwAuECYAXCBMAPgAmEGwAV+BBid4nczMS78CDA6w48AY5wYZgJwgTAD4AJhBsAFwgyAC4QZABcIMwAuEGYAXCDMADiQZX8Brd6WYEte0Z8AAAAASUVORK5CYII= -
You will need to make sure that the column name (Priority) matches. You also have an extra equals sign in front of "Medium". Double checking the column name and removing one of those equals signs should get it operational.
-
@Paul Newcome apparently, I am still doing something wrong. Please see below as I an receiving the #UNPARSEABLE error.
-
You should not have the spaces between the column name and @row. @row replaces the row number.
-
Thanks for pointing that out. I tried it with and without a space and received the same error message.
-
Can you copy/paste the actual formula from the sheet to here?
-
Sure thing....
=WORKDAY(TODAY(), IF(Priority@row = "Medium - 24 hours", 1, IF(Priority@row = "Routine - 48 response", 2, 0)))
-
Ok. I can't see anything out of place, but it looks like it isn't picking up on the column name for whatever reason Let's give this a try...
Manually retype the formula. Whenever you get to the Priority column references, click on a cell in the Priority column (any cell will do). Backspace to remove the row number and enter the @row.
See what happens when we do that. Does anything change?
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.2K Get Help
- 445 Global Discussions
- 143 Industry Talk
- 476 Announcements
- 5K Ideas & Feature Requests
- 84 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 488 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!