happyhungarian
Active Member
- Joined
- Jul 19, 2011
- Messages
- 252
- Office Version
- 365
- Platform
- Windows
Hi,
I have a range of cells (let's say cells D2:H2) that can either be formula-driven or user-inputs. In cells D1:H1 there are drop downs that determine the type of formula that should be used if a formula is chosen over user inputs. I can't simply use an IF formula in D2:H2 because a user could simply input cells and overwrite the IF formula. What I would like is to have a code that would say if D1 = OR("Formula1","Formula2") then retrieve the value in another cell (let's say D10) and insert it into D2. Row "10" is where I would have my IF formula. Hope that makes sense!
Thanks,
Jesse
I have a range of cells (let's say cells D2:H2) that can either be formula-driven or user-inputs. In cells D1:H1 there are drop downs that determine the type of formula that should be used if a formula is chosen over user inputs. I can't simply use an IF formula in D2:H2 because a user could simply input cells and overwrite the IF formula. What I would like is to have a code that would say if D1 = OR("Formula1","Formula2") then retrieve the value in another cell (let's say D10) and insert it into D2. Row "10" is where I would have my IF formula. Hope that makes sense!
Thanks,
Jesse