Formula that works in excel but not in Google Sheets

jeremypyle

Board Regular
Joined
May 30, 2011
Messages
174
Hi,

The following formula works in excel but not in Google Sheets. How do I modify to work in Google Sheets:

=LOOKUP(REPT("z",255),CHOOSE({1,2,3},"",
LOOKUP(999999999999999,SEARCH(abbreviations!$A$1:$JZ$1,'Invoice Insert'!F110),abbreviations!$A$3:$JZ$3)))


I basically want to search a range and if any of the range is contained within my cell, then I want that result. For example in 'Invoice Insert'!F25 I have: 21c Cartwright Road

*62a*A*62b*A8b*Cam*8a*Cam*21c*Cart*21 Cart*21b*Cart*13a dak*
*62a*A*62b*A8b*Cam*8a*Cam*21c*Cart*21 Cart*21b*Cart**13*dak*
62a Arcus62b Arcus8b Campbell Pl8a Campbell Pl21c Cartwright Rd21 Cartwright Rd21b Cartwright Rd13a Dakota Pl
Since 21c Cartwright Road would be found in within row 1 (it would be found in 21c*Cart* which is e5, then I want to return the corresponding cell in row 3 which would be: 21c Cartwright Rd

This formula works in excel. But you can't seem to use Search to search an entire range for a cell. Please note that the range contains "*" so it isn't necessarily an exact match

This is a very hard formula to work out in Google Sheets. Any help would be much appreciated
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,898
Messages
6,175,274
Members
452,628
Latest member
dd2

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