transposing link formula

encioman

Board Regular
Joined
May 30, 2012
Messages
53
Dear Experts,
Kindly share me a formula which links the two sheets making the data fill as shown:

Sheet #1
A1SUGAR
B2COFFEE
C3SALT
D4OIL
Sheet #2
1234
C SALT
B COFFEE
ASUGAR
D OIL

<colgroup><col width="64" span="5" style="width: 48pt; text-align: center;"> </colgroup><tbody>
</tbody>

Many thanks in advance...

Regards,
encioman
 

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.
Assuming the tables in both sheets start in cell A1, the formula in cell B2 of the second sheet is:

=IF(VLOOKUP($A2,Sheet1!$A$1:$C$4,2,FALSE)=B$1,VLOOKUP($A2,Sheet1!$A$1:$C$4,3,FALSE),"")

You can copy the formula to the remaining cells in the second sheet table.


Tim
 
Upvote 0
Dear Tim or anyone,

How would I do that "VINEGAR" must be in column 5 (F12) not that "OIL" in column 4

ABCDEF
1A1SUGAR
2B2COFFEE
3C3SALT
4D4OIL
5D5VINEGAR
6
7SHT. #2
812345
9CSALT
10BCOFFEE
11DOIL
12DOIL
13ASUGAR
14CSALT

<tbody>
</tbody>
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

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