Combining Data from 2 sheets into one using formula's

LearnerDriver

New Member
Joined
Aug 6, 2012
Messages
5
Hi All,

I currently have 2 sheets both containing a single column that is common. What I am trying to achieve is a index and match on this column, effectively creating one master sheet.

Sheet 1

WORKSHEET 01
VALUE W1-AVALUE W1-B
W1-A1W1-B1
W1-A2W1-B1
W1-A3W1-B1
W1-A4W1-B1
W1-A1W1-B2
W1-A2W1-B2
W1-A3W1-B2
W1-A4W1-B2
W1-A1W1-B3
W1-A2W1-B3
W1-A3W1-B3
W1-A4W1-B3

<colgroup><col><col></colgroup><tbody>
</tbody>

Sheet 2

WORKSHEET 02
VALUE W2-BVALUE W2-C
W1-B1W2-C1
W1-B1W2-C2
W1-B2W2-C1
W1-B3W2-C1
W1-B4W2-C1
W1-B1W2-C3
W1-B5W2-C1
W1-B1W2-C4
W1-B6W2-C1
W1-B1W2-C5

<colgroup><col><col></colgroup><tbody>
</tbody>

Wanted Outcome

WANTED OUTPUT TO WORKSHEET THREE
W1-AW2-CVALUE W1/W2-B
W1-A1W2-C1W1-B1 or W2-B1
W1-A2W2-C1W1-B1 or W2-B1
W1-A3W2-C1W1-B1 or W2-B1
W1-A4W2-C1W1-B1 or W2-B1
W1-A1W2-C2W1-B1 or W2-B1
W1-A2W2-C2W1-B1 or W2-B1
W1-A3W2-C2W1-B1 or W2-B1
W1-A4W2-C2W1-B1 or W2-B1
W1-A1W2-C3W1-B1 or W2-B1
W1-A2W2-C3W1-B1 or W2-B1
W1-A3W2-C3W1-B1 or W2-B1
W1-A4W2-C3W1-B1 or W2-B1
W1-A1W2-C4W1-B1 or W2-B1
W1-A2W2-C4W1-B1 or W2-B1
W1-A3W2-C4W1-B1 or W2-B1
W1-A4W2-C4W1-B1 or W2-B1
W1-A1W2-C5W1-B1 or W2-B1
W1-A2W2-C5W1-B1 or W2-B1
W1-A3W2-C5W1-B1 or W2-B1
W1-A4W2-C5W1-B1 or W2-B1
W1-A1W2-C1W2-B2 or W2-B2
W1-A2W2-C1W2-B2 or W2-B2
W1-A3W2-C1W2-B2 or W2-B2
W1-A4W2-C1W2-B2 or W2-B2

<colgroup><col><col><col></colgroup><tbody>
</tbody>


The closest thing I got was to use:
{=INDEX($B$3:$C$14, SMALL(IF(COUNTIF($E$3:$F$12,$C$3:$C$14), ROW($B$3:$C$14)-MIN(ROW($B$3:$C$14))+1), ROW(A1)), COLUMN(A1))}

This brings back the W1-A column correctly but not sure how to tie it up to bring back the W2-C values.

Any pointers or help would be appreciated

Cheers
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"

Forum statistics

Threads
1,216,116
Messages
6,128,931
Members
449,480
Latest member
yesitisasport

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