I have a spread sheet with =AND formulas that return TRUE OR FALSE based on the need.
From Column AN to AZ are either TRUE or FALSE, I would like to see if there can be a code for Column BA to return with the name of header of the column based on the criteria.
In column AN (header named as A) I check for "False", Column AO (header named as B) I check for "TRUE" Column AP (header named as C) I check for "False". What I check for changes based on the formula,
Example what the code should return
For example 1: in column AN (header: A) has only "TRUE", Column AO (Header B) has both "TRUE" and false Column AP (Header C) has only "False" . SO in Column BA (Header: What to check?) should return with header names i:e B and C.
Reason: Header A I check for false but there is no False (So the code should return only header B and C)
For example 2: in column AN (header: A) "TRUE", Column AO (Header B) has only "False" Column AP (Header C) has "False" . SO in Column BA (Header: What to check?) should return with header names i:e C
The reason Column AN header should not come is because I am supposed to check for False and since there are no false it should not return the header in column BA.
Please see the attached template I have explained with few examples highlighted in green (Table to the right Column Q/R { Is what we are supposed to filter and check for})
https://www.mrexcel.com/forum/excel-...-criteria.html (query here but not able to provide with a template or example sets)
Bookmarks