Shrinking Data Validation Drop List with a column in between

mrp80

New Member
Joined
Oct 10, 2019
Messages
1
Hello All,

This is my first post, I've looked though the forums and I've found some items that come close but not exactly what I'm looking for.

I'm working on shrinking drop down list with data validation. I'm able to get it working while using 1 column and adjacent columns, the issue comes when I try to get it working with a column in between.

working
=if(countif($A$1:$A$6,Q1)>=1,"",row()) or =if(countif($A$1:$B$6,Q1)>=1,"",row())

too many arguments error
=if(countif($A$1:$A$6,$C$6:$C11,Q1)>=1,"",row())

I need that column in the middle to add other data. Is there a way to get it working or am I just out of luck?

I have a sample sheet with everything to include the error, i just don't see how to share it.

Any assistance would be greatly appreciated.

Thank you

 

Excel Facts

Bring active cell back into view
Start at A1 and select to A9999 while writing a formula, you can't see A1 anymore. Press Ctrl+Backspace to bring active cell into view.
Will this work for you?

=IF(COUNTIF($A$1:$A$6,Q1)+COUNTIF($C$6:$C11,Q1)>=1,"",ROW())
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,024
Messages
6,122,729
Members
449,093
Latest member
Mnur

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
Back
Top