ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Wildcard issue for Index/Match Function when searching numbers (https://www.excelbanter.com/excel-worksheet-functions/445642-wildcard-issue-index-match-function-when-searching-numbers.html)

rethish

Wildcard issue for Index/Match Function when searching numbers
 
Hi All,

Please help with this issue. Been bogged down all morning.

I have to search a value in a list of values and give the corresponding value in the same row in a different cell.

In my Column B, I have 309.5,328.8,-410.5,-80.3,-1.4

In Column A, I have 1228.3,943.7,44.4,301.1,688.7.

The formula needs to search for 410.5 in Column B and subsequently give 44.4 as result.

I tried this formula but doesnt work at all.


=INDEX(A1:B5,MATCH("*"&D1&"*",B1:B5,0),1)

Where D1 is the cell where 410.5 resides and needs to be looked in Column B.


Thanks alot..

Claus Busch

Wildcard issue for Index/Match Function when searching numbers
 
Hi,

Am Mon, 2 Apr 2012 02:52:14 +0000 schrieb rethish:

In my Column B, I have 309.5,328.8,-410.5,-80.3,-1.4

In Column A, I have 1228.3,943.7,44.4,301.1,688.7.

The formula needs to search for 410.5 in Column B and subsequently give
44.4 as result.


try:
=INDEX(A1:A5,MATCH(D1,ABS(B1:B5),1))
This formula is an array formula to enter with CTRL+SHIFT+ENTER


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2


All times are GMT +1. The time now is 09:39 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com