say you have 4 cols A:D and a worksheet full of calcs currently tied to col C
End user selects either Yes/No from a DV drop down.
If yes, then the sheet calcs need to refer to col C
If no, then the sheet calcs need to refer to col B
Rather than implement a bunch of IF Then logic embedded in each formula, is there
a way to have an event triggered based on the DV selection?
The event would reset a named range to point to either col, e.g., if Yes, then
name col C as the range, else if No, then name Col B as the range.
Then all the formulas would just refer to the range and would not need the boolean logic
embedded in each cell.
Something like:
If cell "B3" = "Yes", call sub(rename range to point col C), if no, then call sub(rename range to point to col B .........
Thoughts?
Thanks,
Steve
End user selects either Yes/No from a DV drop down.
If yes, then the sheet calcs need to refer to col C
If no, then the sheet calcs need to refer to col B
Rather than implement a bunch of IF Then logic embedded in each formula, is there
a way to have an event triggered based on the DV selection?
The event would reset a named range to point to either col, e.g., if Yes, then
name col C as the range, else if No, then name Col B as the range.
Then all the formulas would just refer to the range and would not need the boolean logic
embedded in each cell.
Something like:
If cell "B3" = "Yes", call sub(rename range to point col C), if no, then call sub(rename range to point to col B .........
Thoughts?
Thanks,
Steve