May 07 2021 05:12 AM
Hi All,
I have a dataset similar to the below;
Mech Complete? | Scaffold Erected | Insulation Removed | WOL Raised | Good to Go? |
Yes | N/A | Yes | ||
N/A | Yes | Yes | N/A | |
N/A | N/A | Yes | N/A | |
N/A | Yes |
I need a formula column E ('Good to Go') to perform the following logic;
If cells in columns A - D contain "Yes" or "N/A" formulate to "Yes"
If cells in columns A - D contain a single 'Blank Cell' formulate to 'Blank'
Any help will be much appreciated!
Elliot
May 07 2021 06:19 AM
Hi Sergei Baklan,
Thanks for your quick reply. I have tried this formula in my spreadsheet and it is not working, when I change cells to blank it does not change the 'Good to Go' column value.
I have tried copy & pasting my data over to your spreadsheet and it seems to work perfectly. Columns A - D are all populated by IF formulas, I'm not sure if this has anything to do with it not working.
Please see the attached spreadsheet as this may give you an idea as to why it is not working (Data is actually located in columns AF:AI)
Kind regards,
Elliot
May 07 2021 06:28 AM
I guess that's since you could have not blank cells, but cells with empty string "" returned by formulas. Empty string doesn't mean the cell is blank, it only looks like like blank.
I'll modify the formula in short while, have to shift on another task shortly.
May 07 2021 06:57 AM
SolutionTo change the check on empty string the formula could be
=IF(ISNA(XMATCH("",AF3:AI3)), "Yes", "N/A")
In attached file I changed K3 to test.
May 07 2021 07:01 AM
May 07 2021 07:06 AM
Elliot, glad to help. Have a nice weekend too.
May 14 2021 05:32 AM
Hi Sergei,
I have now added a new column which has to come into the equation and was wondering if you could give me a helping hand.
A new column called 'On Hold' has been added to the end of the table (let's say column Z).
If fields within this column state 'On Hold' I need the previous 'Good to Go' column to state "N/A".
I hope this is all clear.
Cheers
Elliot
May 15 2021 03:44 AM
You may wrap the formula with one more condition
=IF(Z3="On Hold", "N/A", IF(ISNA(XMATCH("",AF3:AI3)), "Yes", "N/A"))
May 17 2021 12:32 AM
May 07 2021 06:57 AM
SolutionTo change the check on empty string the formula could be
=IF(ISNA(XMATCH("",AF3:AI3)), "Yes", "N/A")
In attached file I changed K3 to test.