Hi!
I have a table with many rows, columns and formulas.
I'd like to use a formula to check if the cells referenced in formulas, are in the same row.
For example, if I have a formula like this:
=IF(AND(ISBLANK(S3);ISBLANK(U3));"";IF(AND(S3>0;U3>0);U3/S3;"Check the price."))
I'd like to check this formula if all referenced cells (S3 and U3 in the above example) are in the same row (row N# 3). If they're not from the same row, I'd like to be warned.
For example, in the formula below, there is a reference to cell S5, but it should be S3.
=IF(AND(ISBLANK(S5);ISBLANK(U3));"";IF(AND(S5>0;U3>0);U3/S3;"Check the price."))
I'd like to get a warning, perhaps something like "Please check the formula for right references"
I use excel 365.
I have a table with many rows, columns and formulas.
I'd like to use a formula to check if the cells referenced in formulas, are in the same row.
For example, if I have a formula like this:
=IF(AND(ISBLANK(S3);ISBLANK(U3));"";IF(AND(S3>0;U3>0);U3/S3;"Check the price."))
I'd like to check this formula if all referenced cells (S3 and U3 in the above example) are in the same row (row N# 3). If they're not from the same row, I'd like to be warned.
For example, in the formula below, there is a reference to cell S5, but it should be S3.
=IF(AND(ISBLANK(S5);ISBLANK(U3));"";IF(AND(S5>0;U3>0);U3/S3;"Check the price."))
I'd like to get a warning, perhaps something like "Please check the formula for right references"
I use excel 365.