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 sheet with a list of customers in one column, and then the following columns are City, Monday, Tuesday, Wednesday, Thursday, Friday. I need help with a formula that I can put in my sheet summary so that if the customer column says Staples (It can say this in multiple rows) that it will tell me the total package…
In my sheet, I have a filter for 2 values (see below images). The result is 294 In my report this formula yields 304. =COUNTIFS({helper-child}, "1", {gapStatus}, <>"Rejected (not a GAP)", {gapStatus}, <>"removed - duplicate", {gapStatus}, <>"removed - not valid") Why are they not matching? What am I missing?
I have a schedule that has a task name column, a date column and a task type column. I am trying to build a formula (in another sheet) that will return the latest date based on when the task type is "APP" and the task name contains "GS" somewhere in the cell. Here is the formula I have come up with: MAX(COLLECT({Schedule…