#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default vlookup

look up value in array and return the value from another column on the same
row number where the lookup value is found in the lookup array
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default vlookup

thats VLOOKUP, yes, but what is the question?

"Menno" wrote:

look up value in array and return the value from another column on the same
row number where the lookup value is found in the lookup array

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default vlookup

I want to find a value from worksheet 1;A1 in an array in worksheet2!A:B;1
and return the value from worksheet2!A:B;2 on the matching row number where
the value was found if value_ is_ true in worksheet 1;B1, and if false return
the value from A1 in B1
=IF(ISERROR(VLOOKUP(B1;worksheet2!A:B;1;FALSE));Ax ;Tabelle2!A
x)

"Patrick Molloy" wrote:

thats VLOOKUP, yes, but what is the question?

"Menno" wrote:

look up value in array and return the value from another column on the same
row number where the lookup value is found in the lookup array

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default vlookup

Do you mean

=IF(ISNA(MATCH(A1,Sheet2!A:A,0)),A1,VLOOKUP(A1,She et2!A:B,2,FALSE))

If this post helps click Yes
---------------
Jacob Skaria


"Menno" wrote:

I want to find a value from worksheet 1;A1 in an array in worksheet2!A:B;1
and return the value from worksheet2!A:B;2 on the matching row number where
the value was found if value_ is_ true in worksheet 1;B1, and if false return
the value from A1 in B1
=IF(ISERROR(VLOOKUP(B1;worksheet2!A:B;1;FALSE));Ax ;Tabelle2!A
x)

"Patrick Molloy" wrote:

thats VLOOKUP, yes, but what is the question?

"Menno" wrote:

look up value in array and return the value from another column on the same
row number where the lookup value is found in the lookup array

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default vlookup

VLOOKUP stands for vertical lookup and search for a value in the first column
of a table array and returns a value in the same row from another column in
the table array. Try the below formulas with a similar data and try changing
the name in Cell C1

in place of formula1
=VLOOKUP($D$1,$A$2:$C$10,2,FALSE)

in place of formula2
=VLOOKUP($D$1,$A$2:$C$10,3,FALSE)


ColA ColB ColC ColD ColE ColF
Name Age Sex Adam =formula1 =formula2
Adam 32 M
Marie 24 F
Francis 33 M
Joel 34 M
Susan 26 F
- - -
- - -
- - -
- - -

If this post helps click Yes
---------------
Jacob Skaria


"Menno" wrote:

look up value in array and return the value from another column on the same
row number where the lookup value is found in the lookup array



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
Vlookup problem - unable to get the vlookup property Fred Excel Programming 2 August 22nd 08 05:23 PM
using a vlookup to enter text into rows beneath the vlookup cell Roger on Excel Excel Programming 1 November 29th 07 12:09 PM
Combine VLOOKUP and IF function so #NA isn't returned as a value from VLOOKUP buffgirl71 Excel Discussion (Misc queries) 12 November 14th 06 11:36 PM
Which is faster: VLOOKUP-worksheet or VB-array VLOOKUP? erikhs[_20_] Excel Programming 1 August 6th 06 06:18 PM
Vlookup -=VLOOKUP(F9,LookUp1!$A$2:$B$1504,2,FALSE) MikeR-Oz New Users to Excel 1 March 22nd 06 09:01 AM


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

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"