drop down list

dan03uk

New Member
Joined
Mar 17, 2009
Messages
33
Im currently creating a drop down list for a range of cells. The range of cells I have chosen use the formula =IF($G$2=A3,A3,NA()), thr problem is that when they are showing NA they still appear in the drop down list is there any way of stopping this from heppening.

Any help would be much appreciated
 

Excel Facts

Whats the difference between CONCAT and CONCATENATE?
The newer CONCAT function can reference a range of cells. =CONCATENATE(A1,A2,A3,A4,A5) becomes =CONCAT(A1:A5)
It's a little unclear about what you are trying to do...but..if i've read correctly..try the formula:

=IF($G$2=A3,A3,"")

Instead of:

=IF($G$2=A3,A3,NA())

to populate your range of cells.
 
Upvote 0
You could do a pivot table on your list and exclude the NAs. And then use the pivot table for your list, by putting that field on the left side of the pivot table. You would just have to refresh your pivot table though, if you changed anything. Though I think there is a setting to automatically refresh?
 
Upvote 0
Perhaps you could change your approach by using the below.

Assuming your list is in Column A.

The below will update your drop down list by changing your range to.

=$A$1:INDEX($A:$A,MATCH("ZZZ",$A:$A))
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,688
Members
448,978
Latest member
rrauni

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