fill in multi cells using only one cell

mmgta

New Member
Joined
Aug 7, 2010
Messages
2
Hi, I have a problem. I want to be able to supply multi cells with only filling in one single cell. like if i fill in an ID number it will fill in Name, Product amounts. For example

Worksheet 1

ID:
Name:
A............B............C
Product...Amount....Price
??..........???...........???


Worksheet 2

A......B.........C............D.............E
ID.....Name...Product...Amount....Price
112...Sony....TV..........200..........800.00

i would like to input the ID number in worksheet one and it auto put in the Name, Product, amount, and price from worksheet 2.

On the second worksheet all the info is on a single row.
i was hoping there was a way to link column with cells and fill in based on using one of them cells in a row.
 

Some videos you may like

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

dado6612

Well-known Member
Joined
Dec 4, 2009
Messages
591
U can accomplish that, if IDs are unique, with vlookup formula
ex.
in A2 u type product ID
in B2 formula: =vlookup(A2,sheet2!A2:E100,2,0)
in C2 formula: =vlookup(A2,sheet2!A2:E100,3,0)
in D2 formula: =vlookup(A2,sheet2!A2:E100,4,0)
in E2 formula: =vlookup(A2,sheet2!A2:E100,5,0)
 

mmgta

New Member
Joined
Aug 7, 2010
Messages
2
I would just like to say thank you so much. I thought it had something to do with vlookup, but i wasn't under standing what to enter when using the formula. but after looking at the example and your formula i was able to figure out what the formula was saying, which always helps me understand it more.

Thank you again dado6612 you are a life saver
 

Watch MrExcel Video

Forum statistics

Threads
1,122,608
Messages
5,597,143
Members
414,129
Latest member
mr vba

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