Match Challenge ! - Match across an Array -

BruceyBonu$

Board Regular
Joined
Mar 6, 2006
Messages
74
yesterday someone helped me out with this great formula :biggrin: ;

= sumproduct(("range array"="value to be located")*(Row("rangearray"))
= sumproduct(("range array"="value to be located")*(Column("rangearray"))

it locates the "value to be located" in the "range array" and returns the column and row reference, allowing me to lookup across multi column arrays.

Only one problem, where there are multiple iterations of "value to be located" in "Range Array", it adds them all up to give and invalid reference.

Can anyone amend the above formula to return the unique row and column references of the first or last instance it finds ?
 

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"
Last instance is:
Code:
=MAX(("range array"="value to be located")*(Row("rangearray"))
entered using Ctrl-Shift-Enter.
 
Upvote 0
By the way, first instance is:
Code:
=MIN(IF(B1:AZ10000="how is Bruce",ROW(1:10000),999999))
entered using Ctrl-Shift-Enter.
 
Upvote 0

Forum statistics

Threads
1,220,965
Messages
6,157,119
Members
451,398
Latest member
rjsteward

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