if one cell has 6 digit number that matches 6 digit number in another row /another sheet then return contents of another rown

IsabellaLearning

Board Regular
Joined
May 23, 2009
Messages
115
Its late,
Ive tried so hard by myself to make it work
I hope this makes sence to someone...

One workbook, 2 sheets "Master and "Voucher"

if column/ROW "U2" in the sheet called "voucher" matches
any cell in column A in 2nd sheet called "Master"
then add the contents of the same row from "voucher" sheet to
column AN "Master sheet row H - (MATCHING line)

any ideas if this is possible?
Isabella
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
So I am trying to understand what you are saying. You are going to lookup the value in U2 on the Sheet Voucher in column A of Master, and if found, copy Columns V to AN and paste into column H of Master like the following?


Excel 2010
UVWXYZAAABACADAEAFAGAHAIAJAKALAMAN
1
22abcabcabcabcabcabca
33abcabcabcabcabcabca
44abcabcabcabcabcabca
5
Voucher



Results


Excel 2010
ABCDEFGHIJKLMNOPQRSTUVWXYZ
11
22abcabcabcabcabcabca
33abcabcabcabcabcabca
410
Master


Luke
 
Upvote 0
thanks luke there are 2 sheets
master and voucher

in "master" sheet column A
in "voucher" sheet column u
both contain matching data.

What I want to do is put a formula in "master" sheet column F that puts the contents of column AN "voucher" sheet when it finds a match in the rows of "master" sheet column A with in "voucher" sheet column u

Does that make more sense?

Isabella


So I am trying to understand what you are saying. You are going to lookup the value in U2 on the Sheet Voucher in column A of Master, and if found, copy Columns V to AN and paste into column H of Master like the following?

Excel 2010
UVWXYZAAABACADAEAFAGAHAIAJAKALAMAN
1
22abcabcabcabcabcabca
33abcabcabcabcabcabca
44abcabcabcabcabcabca
5

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Voucher




Results

Excel 2010
ABCDEFGHIJKLMNOPQRSTUVWXYZ
11
22abcabcabcabcabcabca
33abcabcabcabcabcabca
410

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Master



Luke
 
Upvote 0
Ok I see, I think.

Here is an example of what I think you are doing. You will have to modify the cell references to your sheet, ie last row of tables.

Here is what I have on the voucher sheet column U and column AN:

Excel 2010
UVWXYZAAABACADAEAFAGAHAIAJAKALAMAN
1xa
2yb
3zc
4xd
5y2
6ze
7xf
8yg
Voucher


And this is what I have on the Master sheet columns A and F. Column F returns a value from Voucher column U if Column A matches Voucher coulumn AN.


Excel 2010
ABCDEF
11 
22y
33
44
55
66
77
88
Master
Cell Formulas
RangeFormula
F1=IFERROR(INDEX(Voucher!$U$1:$U$8,MATCH($A1,Voucher!$AN$1:$AN$8,0)),"")
 
Upvote 0
THANKYOU, THANKYOU, THANKYOU - YOU MADE MY DAY!!!




jUAN

Ok I see, I think.

Here is an example of what I think you are doing. You will have to modify the cell references to your sheet, ie last row of tables.

Here is what I have on the voucher sheet column U and column AN:
Excel 2010
UVWXYZAAABACADAEAFAGAHAIAJAKALAMAN
1xa
2yb
3zc
4xd
5y2
6ze
7xf
8yg

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Voucher



And this is what I have on the Master sheet columns A and F. Column F returns a value from Voucher column U if Column A matches Voucher coulumn AN.

Excel 2010
ABCDEF
11
22y
33
44
55
66
77
88

<colgroup><col style="width: 25pxpx"><col><col><col><col><col><col></colgroup><thead>
</thead><tbody>
</tbody>
Master

Worksheet Formulas
CellFormula
F1=IFERROR(INDEX(Voucher!$U$1:$U$8,MATCH($A1,Voucher!$AN$1:$AN$8,0)),"")

<thead>
</thead><tbody>
</tbody>

<tbody>
</tbody>
 
Upvote 0

Forum statistics

Threads
1,215,741
Messages
6,126,587
Members
449,319
Latest member
iaincmac

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