# Alternative Formula

#### ExcelRoy

##### Well-known Member
Good evening,

Would it be possible to have an alternative formula to the following as this only returns data if D12 is a alpha numeric value

this matched D12 within AK3:AK502 and F12 within AD3:AD502 and returns from column X in that row

Many thanks

### Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

#### James006

##### Well-known Member
Hello,

You could test following Array Formula :

Code:
``=INDEX((Data!\$X\$3:\$X\$502),LARGE(IF(ISNUMBER(SEARCH(D12,\$AK\$3:\$AK\$502)),IF(ISNUMBER(SEARCH(F12,\$AD\$3:\$AD\$502)),ROW(\$X\$3:\$X\$502)),""),1))``

Hope this will help

#### ExcelRoy

##### Well-known Member
Hi James,

It appears there is a #NUM error for your formula?

I am running 2007 if that makes any difference

Thanks

#### ExcelRoy

##### Well-known Member
Hi James all good now thanks, just added the Data part of the ranges

Thanks again

#### James006

##### Well-known Member

Hi again,

Quite honestly ... building a formula groundless ... without the visual support of the worksheet can be tricky ...

We do agree this is an Array Formula ... where you are using simultaneously the three keys : Control Shift Enter .... instead of the standard Enter key ...

#### ExcelRoy

##### Well-known Member
Hi James,

Absolutely, must be a mind reading exercise most of the time

Just looking a little closer it appears that the formula doesn't return the correct match data? but it does return something in the desired column

Thanks

#### James006

##### Well-known Member
Hello,

Can you ... at least ... post your latest formula ... :wink:

Replies
5
Views
109
Replies
1
Views
69
Replies
3
Views
217
Replies
2
Views
1K
Replies
8
Views
95

1,129,370
Messages
5,635,860
Members
416,886
Latest member
coreyalaurence37

### 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.

### Which adblocker are you using?

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

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