Data Validation

Abdulkhadar

Board Regular
Joined
Nov 10, 2013
Messages
165
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Dear Excel Experts,
In first row from Cell C1 to M1 there are name of persons and below 4 rows have specific numbers. I have set in column A all first row name by using data validation list criteria. I want a formula in column B. if a particular name select in cell A2 then at cell B2 shows all 4 cells specific numbers to choose any one number which was shows in second to fourth rows of column C2:C5 to M2:M5 which was below the name.

My data is as follows :
[TABLE="width: 448"]
<colgroup><col style="width:48pt" width="64" span="7"> </colgroup><tbody>[TR]
[TD="class: xl67, width: 64"] [/TD]
[TD="class: xl67, width: 64"]C[/TD]
[TD="class: xl67, width: 64"]D[/TD]
[TD="class: xl67, width: 64"]E[/TD]
[TD="class: xl67, width: 64"]F[/TD]
[TD="class: xl67, width: 64"]G[/TD]
[TD="class: xl67, width: 64"]H[/TD]
[/TR]
[TR]
[TD="class: xl67"]1[/TD]
[TD="class: xl67"]AMK[/TD]
[TD="class: xl67"]RAK[/TD]
[TD="class: xl67"]MNO[/TD]
[TD="class: xl67"]RAK[/TD]
[TD="class: xl67"]ZND[/TD]
[TD="class: xl67"]SPP[/TD]
[/TR]
[TR]
[TD="class: xl67"]2[/TD]
[TD="class: xl67"]11[/TD]
[TD="class: xl67"]15[/TD]
[TD="class: xl67"]14[/TD]
[TD="class: xl67"]17[/TD]
[TD="class: xl67"]18[/TD]
[TD="class: xl67"]20[/TD]
[/TR]
[TR]
[TD="class: xl67"]3[/TD]
[TD="class: xl67"]14[/TD]
[TD="class: xl67"]16[/TD]
[TD="class: xl67"]15[/TD]
[TD="class: xl67"]18[/TD]
[TD="class: xl67"]20[/TD]
[TD="class: xl67"]21[/TD]
[/TR]
[TR]
[TD="class: xl67"]4[/TD]
[TD="class: xl67"]16[/TD]
[TD="class: xl67"]17[/TD]
[TD="class: xl67"]19[/TD]
[TD="class: xl67"]20[/TD]
[TD="class: xl67"]22[/TD]
[TD="class: xl67"]23[/TD]
[/TR]
[TR]
[TD="class: xl67"]5[/TD]
[TD="class: xl67"]17[/TD]
[TD="class: xl67"]18[/TD]
[TD="class: xl67"]20[/TD]
[TD="class: xl67"]21[/TD]
[TD="class: xl67"]23[/TD]
[TD="class: xl67"]25[/TD]
[/TR]
</tbody>[/TABLE]

My goal is
if in A2 cell select AMK the B2 cells shows 11 12 16 17 to choose any one number
if in A2 cell select RAK the B2 cells shows 17 18 20 21 to choose any one number
if in A3 cell select ZND the B2 cells shows 18 20 22 23 to choose any one number

and so on......

Thanks in advance.
 

Excel Facts

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,223,886
Messages
6,175,195
Members
452,616
Latest member
intern444

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