lookup value

Abdulkhadar

Board Regular
Joined
Nov 10, 2013
Messages
165
Office Version
  1. 2019
  2. 2010
Platform
  1. Windows
Hi Experts,
I want the data of the row in column wise as per when select a number from dropdown list at K2,

Thanks in adavance.

Dropdown.xlsx
ABCDEFGHIJK
1
2NA0006019-NA020-NA021-NA022-NA954-NA955-NA139-NANA0006
3NA0017024-NA025-NA089-NA094-NA954-NA955-NA019-NA
4NA0026111-NA112-NA127-NA139-NA954-NA955-NA020-NA
5NA0028112-NA127-NA139-NA954-NA955-NA021-NA
6NA0047089-NA094-NA954-NA955-NA022-NA
7NA0048020-NA021-NA022-NA023-NA024-NA954-NA955-NA
8
9
Sheet1
Cell Formulas
RangeFormula
K3K3=C2
K4K4=D2
K5K5=E2
K6K6=F2
Cells with Conditional Formatting
CellConditionCell FormatStop If True
I2Cell ValueduplicatestextNO
K3:K6Cell ValueduplicatestextNO
K2Cell ValueduplicatestextNO
G7Cell ValueduplicatestextNO
H7:I7Cell ValueduplicatestextNO
E7:F7Cell ValueduplicatestextNO
C7:D7Cell ValueduplicatestextNO
E6:F6Cell ValueduplicatestextNO
C6:D6Cell ValueduplicatestextNO
G3:H3Cell ValueduplicatestextNO
G2:H2Cell ValueduplicatestextNO
C5:G5Cell ValueduplicatestextNO
C4:H4Cell ValueduplicatestextNO
C3:F3Cell ValueduplicatestextNO
C2:F2Cell ValueduplicatestextNO
Cells with Data Validation
CellAllowCriteria
K2List=$B$2:$B$7
 

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.
Check this and revert - Look at Column L
Have to use Underscore as I don't know the data source and Named range won't allow to use Same Name...
Another concern is - Will it spill in Excel 2019...

Book2
ABCDEFGHIJKLM
1
2NA0006019-NA020-NA021-NA022-NA954-NA955-NA139-NANA0006NA_0006
3NA0017024-NA025-NA089-NA094-NA954-NA955-NA019-NA019-NA
4NA0026111-NA112-NA127-NA139-NA954-NA955-NA020-NA020-NA
5NA0028112-NA127-NA139-NA954-NA955-NA021-NA021-NA
6NA0047089-NA094-NA954-NA955-NA022-NA022-NA
7NA0048020-NA021-NA022-NA023-NA024-NA954-NA955-NA954-NA
8955-NA
9139-NA
10
Sheet1
Cell Formulas
RangeFormula
L3:L9L3=TRANSPOSE(INDIRECT(L2))
K3K3=C2
K4K4=D2
K5K5=E2
K6K6=F2
Dynamic array formulas.
Named Ranges
NameRefers ToCells
NA_0006=Sheet1!$C$2:$I$2K3
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGHIJK
1
2NA0006019-NA020-NA021-NA022-NA954-NA955-NA139-NANA0006
3NA0017024-NA025-NA089-NA094-NA954-NA955-NA019-NA
4NA0026111-NA112-NA127-NA139-NA954-NA955-NA020-NA
5NA0028112-NA127-NA139-NA954-NA955-NA021-NA
6NA0047089-NA094-NA954-NA955-NA022-NA
7NA0048020-NA021-NA022-NA023-NA024-NA954-NA955-NA954-NA
8955-NA
9139-NA
10
Sheet5
Cell Formulas
RangeFormula
K3:K9K3=INDEX($C$2:$I$7&"",MATCH($K$2,$B$2:$B$7,0),ROWS(K$3:K3))
 
Upvote 2
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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