ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Conditional Values (https://www.excelbanter.com/excel-discussion-misc-queries/187735-conditional-values.html)

DDude

Conditional Values
 
I am trying to figure a way to make the following happen:

I have a list box in cell A1. If the person chooses say "car" from the list
in A1 I want the value of cell B2 to be a formula such as =(2*c2). If the
person chooses any other value from the list in A1 I want them to be able to
enter a number into cell B2 then.

Similarly, if they choose "car" I want them to be able to enter a value into
D2 and if they choose any other value from the list then I want cell D2 to be
blocked from entry.

Thanks

Teethless mama

Conditional Values
 
Data Validation Settings tab Allow: select Custom Formula: =A1="Car"
OK out



"DDude" wrote:

I am trying to figure a way to make the following happen:

I have a list box in cell A1. If the person chooses say "car" from the list
in A1 I want the value of cell B2 to be a formula such as =(2*c2). If the
person chooses any other value from the list in A1 I want them to be able to
enter a number into cell B2 then.

Similarly, if they choose "car" I want them to be able to enter a value into
D2 and if they choose any other value from the list then I want cell D2 to be
blocked from entry.

Thanks



All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com