# fill in multi cells using only one cell

#### mmgta

##### New Member
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.

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

##### Well-known Member
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
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

Replies
14
Views
216
Replies
10
Views
839
Replies
11
Views
793
Replies
3
Views
155
Replies
5
Views
317

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

1,163,517
Messages
5,832,222
Members
430,116
Latest member
d1pakjha

### 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.

### Which adblocker are you using?

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

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