i need function for combine table

dabielcrbyton

New Member
Joined
May 28, 2017
Messages
39
a1b1c1d1
222
242
434
484
88


hi everyone i have the excel :

i have a problem
i sit down to finger it out
but i cannot succeed of solving it

i have numbers in a3:a7
and numbers in b3:b6

i need function for d3:d7 ( only the use of function )
the function need to take every number in b3:b6
and if it find it on a3:a7
it should write it on d3:d7


look at that :
1) the number 3 is on b3:b6 but not on a3:a7
so he is not in d3:d7

2) the number 2 is on b3:b6 and twice on a3:a7
so it is twice on d3:d7

3) their is not duplicate number on b3:b6
but in a3:a7 it can be duplicate number and also 3 time the same number
until 4 time the same number


thanks
 

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
Hi dabielcrbyton,

I'm not sure if I've understood correctly but does this do what you want?


dabielcrbyton.xlsx
ABCD
1a1b1c1d1
2
3222
4242
5434
6484
788
8 
Sheet1
Cell Formulas
RangeFormula
D3:D8D3=IFERROR(INDEX($A$3:$A$9999,AGGREGATE(15,6,ROW($A$3:$A$9999)-ROW($A$2)/((NOT(ISNA(MATCH($A$3:$A$9999,$B$3:$B$9999,0)))*($A$3:$A$9999<>""))),ROW()-ROW($D$2))),"")
 
Upvote 0
Your profile doesn't say what version you are running but AGGREGATE has been in since Excel 2010.

Try without the IFERROR and see what you get.

dabielcrbyton.xlsx
ABCD
1a1b1c1d1
2
3222
4242
5434
6484
788
8#NUM!
Sheet2
Cell Formulas
RangeFormula
D3:D8D3=INDEX($A$3:$A$9999,AGGREGATE(15,6,ROW($A$3:$A$9999)-ROW($A$2)/((NOT(ISNA(MATCH($A$3:$A$9999,$B$3:$B$9999,0)))*($A$3:$A$9999<>""))),ROW()-ROW($D$2)))
 
Upvote 0
Another formula

Pasta1
ABCD
1a1b1c1d1
2
3222
4242
5432
6584
724
888
94 
10
Plan3
Cell Formulas
RangeFormula
D3:D9D3=IFERROR(INDEX($B$3:$B$6,AGGREGATE(15,6,MATCH(A$3:A$100,B$3:B$6,0),ROWS(D$3:D3))),"")


M.
 
Upvote 0

Forum statistics

Threads
1,223,400
Messages
6,171,891
Members
452,431
Latest member
TiffanyMcllwain

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