Connect with peers, share your expertise, and inspire what’s next in Smartsheet — from proven practices to practical how-to insights from fellow users and product experts.
Sign in to join the conversation:
Trying to get a value for columns with Yes. Not total but countif(or(col 1 "yes, col 2 yes etc.
I've tried every variation of this: =IF(OR(COUNTIF([O2 under 5 lpm]1, "yes", ([O2 over 5 lpm]1, "yes"))
Try
=Countif([O2 under 5 lpm]1, "yes") + Countif([O2 over 5 lpm]1, "yes")
That will count all yesses in the first column and then add the count of all yesses in the 2nd column.
but i don't want a total for both columns, just a single value if either column has yes. the OR statements are not working. and i even copied a working if(or from another sheet.
Still not 100% clear on what you're after, so I've given 2 options.
This will give you a total count for both columns if either contains a "Yes":
=COUNTIF([O2 under 5 lpm]:[O2 over 5 lpm], "Yes") - COUNTIFS([O2 under 5 lpm]:[O2 under 5 lpm], "Yes", [O2 over 5 lpm]:[O2 over 5 lpm], "Yes")
This will give you a value of 1 for each row (i.e. in a cell either side of your values) where a "Yes" occurs:
=IF(OR([O2 under 5 lpm]1 = "Yes", [O2 over 5 lpm]1 = "Yes"), 1, "")
Kind regards,
Chris McKay
Can you post a screenshot showing what data you are working with so we can better understand what you are trying to do?
Yep, I'm with Mike here. Still not clear on what you're after. A screenshot would be ideal.
How do I see who submitted a form for a specific sheet?
Hi, I have a Gantt covering 500+ rows of events past and planned. I use it to predict and track values around these events. Using helper columns to identify the current week, I get an email report on a Monday that tells me the upcoming events in the current week (7 days) and their values. Currently if an event spans…
Hi Smartsheet Community, I'm working on an action management system where users create sub-actions through a Smartsheet Form. The requirement is simple: a sub-action's due date must be earlier than or equal to its parent action's due date. For example, if the parent action is due on June 30, 2027, users should not be able…