mariposa
New Member
- Joined
- Sep 14, 2016
- Messages
- 14
Hello,
I need a way, either via VBA or Data Validation or combination of both to determine the cell value based on another cell's value.
So in column "F" I have a data validation list of just 2 options "Salary" or "Hourly", easy.
Based on what is selected by the user, column "H" need to be either an hourly rate or annual rate.
Meaning if "F" equals "Salary" the value in "H" should be greater than $xxx.xx or $x,xxx.xx, or greater than an obvious hourly figure, like $99 (I don't care what the value is as long as user gets something to say "must enter annual salary" if they enter $20-something aka the hourly equivalent).
And same applies if "F" equals "Hourly", then the value in "H" should be $xx.xx or less, so if they enter the annual equivalent, something tells them to enter the hourly rate.
Thank you in advance!
I need a way, either via VBA or Data Validation or combination of both to determine the cell value based on another cell's value.
So in column "F" I have a data validation list of just 2 options "Salary" or "Hourly", easy.
Based on what is selected by the user, column "H" need to be either an hourly rate or annual rate.
Meaning if "F" equals "Salary" the value in "H" should be greater than $xxx.xx or $x,xxx.xx, or greater than an obvious hourly figure, like $99 (I don't care what the value is as long as user gets something to say "must enter annual salary" if they enter $20-something aka the hourly equivalent).
And same applies if "F" equals "Hourly", then the value in "H" should be $xx.xx or less, so if they enter the annual equivalent, something tells them to enter the hourly rate.
Thank you in advance!