Match/search formula

mrafiq44

New Member
Joined
Oct 14, 2015
Messages
28
I have a large excel with 20000 rows - various transactions - 2 columns one debit and one credit, but they are not in order. Have to search within the large file to match column A to Column B based on the amount. is there a way i can do that without constantly searching via control F and doing find.
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
maybe something like this could help ?

Book1
ABCDEFGHIJK
1
21267511The +1 in my formula relates to the row offset (as I start at row 2).
3123123Yours could be different depending on how many rows above your data..
41245837
5532432
6432532
7543654
8234234
9654543
10345345
1167512
128371245
13
14
Sheet3
Cell Formulas
RangeFormula
D2D2=MATCH(A2,$B$2:$B$12,0)+1


needs copying down your data to highlight the corresponding row number for the data

Not sure what you would do if 2 values are the same though ..
 
Upvote 0
Or in fact if you have O365, you can use this formula once and it will spll down the rows...

Excel Formula:
=BYROW(A2:A12,LAMBDA(row,MATCH(row,$B$2:$B$12,0)+1))

Book1
ABCD
1
21267511
31231233
4124583712
55324326
64325325
75436549
82342348
96545437
1034534510
11675122
1283712454
Sheet3
Cell Formulas
RangeFormula
D2:D12D2=BYROW(A2:A12,LAMBDA(row,MATCH(row,$B$2:$B$12,0)+1))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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