Formula Question - Don't know what to call it

jaysh

New Member
Joined
Jul 30, 2006
Messages
16
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.

Answer would be like this:

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

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
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))
 
Upvote 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.

Answer would be like this:

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)
 
Upvote 0

Forum statistics

Threads
1,214,908
Messages
6,122,187
Members
449,071
Latest member
cdnMech

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