Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 115
Default LOOKUP HELP PLEASE

N1 and O1 contain examples of my lookup values "361A" and "362B".
H1 AND H2 are the vectors containing these variables.
E1 contains the names I want to input to L1, L2 etc and M1,M2 etc respectively
The LOOKUP formula I've used seems to work in L1: (where H1 contains "361A")
butdoesn't work in M1.

I used: =LOOKUP($N$1,H1,E1) in L1 (that's fine) and
=LOOKUP($O$1,H1,E1) in M1 (where I got the same result as in L1, same name)
As O2 and H2 both contained the value "362B" I would have expected to get a
#n/a in M1 and the name in E2 returned to M2. M2 has the correct result but
M1 doesn't. Also as H3 contains the same value as H1 "361A" I should get a
#n/a there as well, shouldn't I? However I get the name from E3 returned
instead of a #n/a.
Where am I going wrong?


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,393
Default LOOKUP HELP PLEASE

I suggest you look at
http://www.contextures.com/xlFunctions02.html

And then Google: excel vlookup
And view some tutorials

Then come back if you need more help
best wishes
--
Bernard Liengme
http://people.stfx.ca/bliengme
Microsoft Excel MVP

"Zakynthos" wrote in message
...
N1 and O1 contain examples of my lookup values "361A" and "362B".
H1 AND H2 are the vectors containing these variables.
E1 contains the names I want to input to L1, L2 etc and M1,M2 etc
respectively
The LOOKUP formula I've used seems to work in L1: (where H1 contains
"361A")
butdoesn't work in M1.

I used: =LOOKUP($N$1,H1,E1) in L1 (that's fine) and
=LOOKUP($O$1,H1,E1) in M1 (where I got the same result as in L1, same
name)
As O2 and H2 both contained the value "362B" I would have expected to get
a
#n/a in M1 and the name in E2 returned to M2. M2 has the correct result
but
M1 doesn't. Also as H3 contains the same value as H1 "361A" I should get
a
#n/a there as well, shouldn't I? However I get the name from E3 returned
instead of a #n/a.
Where am I going wrong?


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
LOOKUP FUNCTION? (LOOKUP VALUE BEING A TIME RENERATED FROM A FORMU JCC Excel Discussion (Misc queries) 5 June 26th 09 09:15 PM
Get Cell Address From Lookup (Alternative to Lookup) ryguy7272 Excel Worksheet Functions 12 September 28th 07 10:36 PM
Join 2 Lists - Lookup value in 1 list & use result in 2nd lookup JBush Excel Worksheet Functions 3 January 3rd 07 11:14 PM
Sumproduct - Condition based on lookup of a Lookup Hari Excel Discussion (Misc queries) 12 May 31st 06 09:28 AM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM


All times are GMT +1. The time now is 01:44 PM.

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

About Us

"It's about Microsoft Excel"