No VBA, Data Validation List, with Custom Formula, cell value can't equal adjacent cell value

blbat

Active Member
Joined
Mar 24, 2010
Messages
292
Without using VBA, is it possible for me to use a data validation list of "0,5,10" in two columns, "H" and "I", AND in column "I", make it impossible for user to select "10" IF "10" is already entered in column "H"?
 

Some videos you may like

Excel Facts

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college

blbat

Active Member
Joined
Mar 24, 2010
Messages
292
For anyone else that ever searches for this type of problem....

after bashing around a bit on my own I find This works:

=IF(H2=10,NoTen,INDIRECT(H2))

where "NoTen" is a Named range containing values "0", "5"

Now I need an
Code:
=IF(OR
statement to allow for no value in Column "H".

I thought this would work:
datavalidation List in "I2"

Code:
=IF(OR(H2=10,H2=""),IF(H2=10,NoTen,INDIRECT(H2)),IF(H2="",PickOne,(H2)))

but I'm having some problems with it. will post back if I solve.
 

Watch MrExcel Video

Forum statistics

Threads
1,123,385
Messages
5,601,329
Members
414,445
Latest member
walramgo02

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top