A cell follow the reference of another cell when using drop down

tv_helge

New Member
Joined
Jan 2, 2018
Messages
9
I am using a drop down on cell C3 on sheet 1 with reference to C 2 to C 50 in sheet 2.
In D3 sheet 1, I would like to reference whatever is in D 2 to D 50 in sheet 2, depending on which item I choose in the drop down on C3.

Example:

Sheet 2:

<tbody>
</tbody>
CDEF
2PaperUSD 2Group 1No
3PenUSD 5Group 2No
4EraserUSD 3Group 2Yes
5TapeUSD 7Group 3Yes

<tbody>
</tbody>

Sheet 1:
CDEF
3Drop down of C 2-50, sheet 2"Auto-follow" D 2-50 depending on what you choose in C3"Auto-follow" E 2-50 depending on what you choose in C3"Auto-follow" F 2-50 depending on what you choose in C3
3 (Example)PenUSD 5Group 2No
3 (Example 2)EraserUSD 3Group 2Yes

<tbody>
</tbody>


<tbody>
</tbody>

When choosing "Pen" in drop down on C3 I would like D3 to show "USD 5", E3 to show "Group 2" automatically etc...

Is this possible? If yes, how?


regards
Helge
 

Some videos you may like

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)

Scott T

Well-known Member
Joined
Dec 14, 2016
Messages
2,615
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Excel 2010
CDEF
3PenUSD 5Group 2No
4EraserUSD 3Group 2Yes

<colgroup><col><col><col><col><col></colgroup><tbody>
</tbody>
Sheet1

Worksheet Formulas
CellFormula
D3=VLOOKUP($C3,Sheet2!$C$2:$F$5,2,0)
E3=VLOOKUP($C3,Sheet2!$C$2:$F$5,3,0)
F3=VLOOKUP($C3,Sheet2!$C$2:$F$5,4,0)
D4=VLOOKUP($C4,Sheet2!$C$2:$F$5,2,0)
E4=VLOOKUP($C4,Sheet2!$C$2:$F$5,3,0)
F4=VLOOKUP($C4,Sheet2!$C$2:$F$5,4,0)

<tbody>
</tbody>

<tbody>
</tbody>
 

tv_helge

New Member
Joined
Jan 2, 2018
Messages
9
Thank you for your really fast reply! However, I cannot seem to get it working. When using this, excel tells me there is something wrong with the formula. It highlights the "$C3,Sheet2", don't know if that means it is wrong though...
Any ideas?

regards
Helge
 

Scott T

Well-known Member
Joined
Dec 14, 2016
Messages
2,615
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
I your second sheet named Sheet2? Some versions of Excel do not use the comma (,) in formulas but use semicolons (;). If your version of Excel uses semicolons then change the commas to semicolons.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,577
Messages
5,596,996
Members
414,116
Latest member
sfullnet

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
Top