I need help with an excel formula. I am trying to achieve the following behaviour:
- the formula is in cell A
- in cell B we can have 3 possible values - Low, Medium or High
So if value of cell B is equal to Low then in the A cell the value is "Yes" If the value in cell B is equal to Medium or High then the formula should check if cell C is populated and its content is different then "please fill in" or it is left "blank". If true then cell A is "Yes", if not, then it is "No".
If value of cell B is blank then the cell A is "No" as well.
A combination of IF, OR, ISBLANK and UPPER should solve your problem.
Im not great with formulas but this would do
if you want a VBA function ( but requires you to enter the formula in each cell separately then stick this in a module and then use it in column A
Example
The following formula replicates textually the logic you asked about
Note that there is a case that you left out of your definition (which gives "Undefined"). This is probably not intended.
If "Undefined" is actually not intended, note also that you have only two possible outputs, so the condition can be replaced by a different test, with a single condition combining
AND
/OR
s instead of nestedIF
s.