removing blanks and duplicates in drop down list

zebrasam

New Member
Joined
Aug 21, 2012
Messages
15
I have column A and B.

Column A has the name of a different animal in each cell.

In column B I need a drop down list in each cell. I would like to type the name of the species in the cells in column B corresponding to the name of the animal on the same row in column A.
This drop down list will grow in size as I work my way down the spreadsheet continually adding new species in the cells of column B. This needs to be done as I work my way down the spreadsheet and cannot be predetermined beforehand. (note: This is a hypothetical example to which my situation corresponds exactly)

I managed to get this working but the problem is that as the drop down list grows blanks and duplicates are added to the drop down list.

Sam
 
Last edited:
I get this error

Excel found unreadable content in 'BIicMR1rufG_dropdownlist.xlsx'. Do you want to recover this workbook?

If I say yes then it says this:

Removed Feature: Data validation from /xl/worksheets/sheet1.xml part


I tried inputting the data validation myself:


=IF(COUNTIF(D$2:D$20,"?*"),D$2:INDEX(D$2:D$20,COUNTIF(D$2:D$20,"?*")),NA())


but I get the following error:

You may not use reference operators (such as unions, intersections, and ranges) or array constants for Data validition criteria.


I also got this same error before when I tried to make my own spreadsheet according to your instructions.
 
Upvote 0
I get this error

Excel found unreadable content in 'BIicMR1rufG_dropdownlist.xlsx'. Do you want to recover this workbook?

If I say yes then it says this:

Removed Feature: Data validation from /xl/worksheets/sheet1.xml part


I tried inputting the data validation myself:


=IF(COUNTIF(D$2:D$20,"?*"),D$2:INDEX(D$2:D$20,COUNTIF(D$2:D$20,"?*")),NA())


but I get the following error:

You may not use reference operators (such as unions, intersections, and ranges) or array constants for Data validition criteria.


I also got this same error before when I tried to make my own spreadsheet according to your instructions.
I'll send you a private message.
 
Upvote 0
I'll send you a private message.

I was hoping to see the resolve to this error message because I received it as well.

Here is what I am trying to do. I have several tabs on a worksheet. One tab is setup as my Legend tab where I house information for my validation drop down list.

On this legend tab I have a prospect list, column H. Each cell in column H is a reference to another tab. Basically it is transferring over a name of a client from one of the sales persons tab. Using this data on the Legend tab I was actually able to follow your formula until I got to the: Allow=List, Source: ='s the formula you mentioned and this is where I received the same error message the gent or lady received, You may not use reference operators (such as unions, intersections, and ranges) or array constants for Data Validation criteria.
 
Upvote 0
I was hoping to see the resolve to this error message because I received it as well.

Here is what I am trying to do. I have several tabs on a worksheet. One tab is setup as my Legend tab where I house information for my validation drop down list.

On this legend tab I have a prospect list, column H. Each cell in column H is a reference to another tab. Basically it is transferring over a name of a client from one of the sales persons tab. Using this data on the Legend tab I was actually able to follow your formula until I got to the: Allow=List, Source: ='s the formula you mentioned and this is where I received the same error message the gent or lady received, You may not use reference operators (such as unions, intersections, and ranges) or array constants for Data Validation criteria.
Here's is a link to my monster spreadsheet: https://dl.dropboxusercontent.com/u/42876390/Sales%20SOP.xlsm
 
Upvote 0

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