Add "All" drop down box item

evongugg

New Member
Joined
Jul 8, 2011
Messages
6
Hi!
I'm new to this forum.
I have an Excel .xls spreadsheet. I have created a drop down box for items 1 through 12 using data validation. Now I need to add a drop down box item called "All".
=A:A is the correct range for "All" in the vlookup formula behind all this. The range for 1 through 11 is P1:P12. If I type =A:A, Excel replaces the value with 1. I want it to show "All".
The values in the drop down box are used by a vlookup formula.
Hope I have been clear enough.
If there is a better way of creating "All", please let me know.
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Just type "All" instead of =A:A. You can include an IF(??="All",A:A,xxx) in the VLOOKUP formula.
 
Upvote 0
Thanks, it helped a lot.
Unfortunately vlookup picks up only the first instance and not all instances, so we will have to rework this spreadsheet.
 
Upvote 0

Forum statistics

Threads
1,224,518
Messages
6,179,261
Members
452,901
Latest member
LisaGo

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