ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   lookup/left (https://www.excelbanter.com/excel-worksheet-functions/86482-lookup-left.html)

via135

lookup/left
 

hi!

i am having data in A1:C5.
can i findout the value in COL "A" or COL "B"
corresponding to my lookup value in COL "C"-?

hlp pl!?

-via135


--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=538287


Aladin Akyurek

lookup/left
 
For unsorted data...

=INDEX(ReturnRange,MATCH(Value,MatchRange,0))

For example:

=INDEX(A:A,MATCH(E2,C:C,0))

where E2 houses a value you want to look up.

via135 wrote:
hi!

i am having data in A1:C5.
can i findout the value in COL "A" or COL "B"
corresponding to my lookup value in COL "C"-?

hlp pl!?

-via135



Biff

lookup/left
 
Hi!

To return the value from column A:

=INDEX(A1:A5,MATCH(lookup_value,C1:C5,0))

To return the value from column B:

=INDEX(B1:B5,MATCH(lookup_value,C1:C5,0))

Or, index both columns A and B and use a cell to hold the column_number
argument:

H1 = 1 or 2

=INDEX(A1:B5,MATCH(lookup_value,C1:C5,0),H1)

Biff

"via135" wrote in
message ...

hi!

i am having data in A1:C5.
can i findout the value in COL "A" or COL "B"
corresponding to my lookup value in COL "C"-?

hlp pl!?

-via135


--
via135
------------------------------------------------------------------------
via135's Profile:
http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=538287




via135

lookup/left
 

thks..Aladin & Biff..!!!

-via135


--
via135
------------------------------------------------------------------------
via135's Profile: http://www.excelforum.com/member.php...o&userid=26725
View this thread: http://www.excelforum.com/showthread...hreadid=538287



All times are GMT +1. The time now is 02:43 AM.

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