Formula Question - Don't know what to call it

jaysh

New Member
I have a quick question. I dont know exactly what this would be called so I unfortunatley could not search.

Basically, I have 2 sheets.

Example

Sheet 1

1 A
2 B
3 C

Sheet 2

2 ?
2 ?
3 ?
1 ?
1 ?
2 ?
3 ?
2 ?

What I would like to do, is replace column b on sheet 2 w/ the corresponding information from sheet 1.

2 B
2 B
3 C
1 A
1 A
2 B
3 C
2 B

But a simple IF would not work for me because I have about 100 different variables.

Any help would be appreciated.

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Excel Workbook
AB
12B
22B
33C
41A
51A
62B
73C
82B
Sheet2

In case the values in column A are not index values (positions pointing to column B)...

B1, Sheeet2

=INDEX(Sheet1!\$B\$1:\$B\$3,MATCH(A1,Sheet1!\$A\$1:\$A\$3,0))

I have a quick question. I dont know exactly what this would be called so I unfortunatley could not search.

Basically, I have 2 sheets.

Example

Sheet 1

1 A
2 B
3 C

Sheet 2

2 ?
2 ?
3 ?
1 ?
1 ?
2 ?
3 ?
2 ?

What I would like to do, is replace column b on sheet 2 w/ the corresponding information from sheet 1.

2 B
2 B
3 C
1 A
1 A
2 B
3 C
2 B

But a simple IF would not work for me because I have about 100 different variables.

Any help would be appreciated.
Here's another one...

Assuming your data on Sheet1 is in the range A2:B4.

Your data on Sheet2 is in the range A2:A9.

Enter this formula in Sheet2 B2 and copy down as needed:

=VLOOKUP(A2,Sheet1!A\$2:B\$4,2,0)

Replies
2
Views
308
Replies
2
Views
66
Replies
3
Views
148
Replies
0
Views
247
Replies
0
Views
245

1,218,909
Messages
6,145,160
Members
450,591
Latest member
mba3170

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.

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