Matching Value from one colum and presenting appropriate list

hsshah

New Member
Joined
Sep 14, 2012
Messages
30
Hey,
I have a list of differnet sites having same site name but differnet site code. Now what I want to do is that when in the first colum I type A then in the second colum only the site codes of A should appear as a selection or drop down list. Same goes for B, C, D and E.
A picture is attached to further facilitate you.
Thanks in advance.
33dlgxs.jpg
 
Last edited:

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
If C1 is the cell in which you will enter the letter, define the name MyList that refers to:

=OFFSET(Sheet1!$B$1,MATCH(Sheet1!$C$1,Sheet1!$A:$A,FALSE)-1,0,COUNTIF(Sheet1!$A:$A,Sheet1!$C$1),1)

and use that name as the source in Data Validation.
 
Upvote 0
Sorry Andrew I couldn't understand could you explain it a lil further as i am not that rehearsed in excel.
Thanks
If C1 is the cell in which you will enter the letter, define the name MyList that refers to:

=OFFSET(Sheet1!$B$1,MATCH(Sheet1!$C$1,Sheet1!$A:$A,FALSE)-1,0,COUNTIF(Sheet1!$A:$A,Sheet1!$C$1),1)

and use that name as the source in Data Validation.
 
Upvote 0

Forum statistics

Threads
1,216,165
Messages
6,129,242
Members
449,496
Latest member
Patupaiarehe

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