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.
I have a parent row that I'm using to sum all child row values where Children = 0 and Status = "Not Started". This is my formula. =IF(OR(ISBLANK(Status@row ), Hierarchy@row = 0), "", IF(Hierarchy@row = 1, SUM(CHILDREN()), IF(AND(Children@row = 0, Status@row = "Not Started"), 1, 0))) However, if any of my task rows are…
Hi, I am trying to get a column that provides the Date (easy with Record a Date) but I need the TIME as well. Most of my tables I just use the right function on the Modified Date because the only thing updating those tables are automations or data imports. But a few tables have automations, data imports, and manual inputs.…
I’m hoping to get a second set of eyes from the community in case I’m missing something obvious or there’s a cleaner pattern I should be using. I’ve used ChatGPT to try and help me group/organize my situation coherently…. Because at this point I feel crazy… I’ve literally worked on this for hours. Environment •Smartsheet…