#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup functions


Hello everyone,

For a couple of weeks i've been trying to create a formula to find a
given value in a big range of numbers and give back the number in the
column next to it on the cell next to the input.

Example:

R1 | C2 | C3 | C4 |
R1 | D1 | D3 | D5 |
R2 | D2 | D4 | D6 |

When I fill D1 in cell 1, I want in cell 2(the cell next to it) the
value D3.

The lookup/vlookup/match/hlookup don't match the citeria, but maybe
there is a possibility to make a combination of those formulas?

I hope the explanation is clear and someone can help me.

Gr. Arie


--
arnoberg
------------------------------------------------------------------------
arnoberg's Profile: http://www.excelforum.com/member.php...o&userid=36187
View this thread: http://www.excelforum.com/showthread...hreadid=559612

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Lookup functions

Why not just

=VLOOKUP(lookup_val,B2:D200,2,False)

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"arnoberg" wrote in
message ...

Hello everyone,

For a couple of weeks i've been trying to create a formula to find a
given value in a big range of numbers and give back the number in the
column next to it on the cell next to the input.

Example:

R1 | C2 | C3 | C4 |
R1 | D1 | D3 | D5 |
R2 | D2 | D4 | D6 |

When I fill D1 in cell 1, I want in cell 2(the cell next to it) the
value D3.

The lookup/vlookup/match/hlookup don't match the citeria, but maybe
there is a possibility to make a combination of those formulas?

I hope the explanation is clear and someone can help me.

Gr. Arie


--
arnoberg
------------------------------------------------------------------------
arnoberg's Profile:

http://www.excelforum.com/member.php...o&userid=36187
View this thread: http://www.excelforum.com/showthread...hreadid=559612



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup functions


Thnx for you answers, but i'm still not there.

@ Bob Philips: Youre solution would be correct if i would only like the
values of the second column. What happens when i fill D4 in cell1. Then
i will get an error, and in my spreadsheat I want the value D6.

@ Ardus Petes:if cell 1 holds D5 I want no value or 0.

Could please help me further?


--
arnoberg
------------------------------------------------------------------------
arnoberg's Profile: http://www.excelforum.com/member.php...o&userid=36187
View this thread: http://www.excelforum.com/showthread...hreadid=559612

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Lookup functions


Assuming your data is in B1:D2 and your lookup value in H1 try

=VLOOKUP(H1,OFFSET(B1:C2,,MIN(IF(B1:D2=H1,COLUMN(B 1:D2)-COLUMN($B2)))),2,0)

confirmed with CTRL+SHIFT+ENTER.


--
daddylonglegs
------------------------------------------------------------------------
daddylonglegs's Profile: http://www.excelforum.com/member.php...o&userid=30486
View this thread: http://www.excelforum.com/showthread...hreadid=559612

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
INFORMATION ON FUNCTIONS IN EXCEL (EX. "IF", VALUE LOOKUP) skye1971 Excel Worksheet Functions 1 February 1st 06 07:27 PM
Allow refence in the "table_array" position of Lookup functions fcjssc Excel Worksheet Functions 1 March 3rd 05 01:38 PM
Lookup Functions Sharon Excel Worksheet Functions 6 February 20th 05 05:04 AM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 0 November 10th 04 03:16 PM
Excel Lookup Functions Paul Adams Excel Worksheet Functions 1 November 10th 04 02:40 PM


All times are GMT +1. The time now is 11:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"