Excel On Steroids         
It is currently Sun Sep 05, 2010 2:18 am

All times are UTC + 2 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: vlookup issue
PostPosted: Mon Jul 20, 2009 9:56 pm 

Joined: Wed Jul 15, 2009 3:50 pm
Posts: 1
I have created a Union report. I want Excel to lookup information from Sheet 1 in Sheet 3 then return the correct answer. My problem is that when I run the Alchemex report, it doesn't recognise the data in sheet 3. When I manually override the information in the lookup cell of sheet 3, it does the calculation correctly. How do I get Excel to recognise sheet 3 (which is part of the union report)?


Offline
 Profile E-mail  
 
 Post subject: Re: vlookup issue
PostPosted: Fri Jul 24, 2009 9:31 am 
Site Admin
User avatar

Joined: Wed Aug 22, 2007 10:54 am
Posts: 404
Location: Durban, South Africa
Have you checked to ensure that the reference cell format (data type) used in you vlookup in sheet3 matches that of the the comparator cell format (data type) of sheet 1 and that there are no trailing blank spaces in one of them?

Scenario 1
e.g. If Sheet1 cell A1 = 123 is type Numeric and Sheet3 Cell C1 = 123 is type Text then the VLOOKUP will not "work". Both need to be the same format.

Scenario 2
e.g. If Sheet1 cell A1 = 'HELLO' and Sheet3 Cell C1 = 'HELLO ' (5 trailing blank spaces) then the VLOOKUP will not "work" - The solution would be to change the source expression "feeding" Sheet3 from "MYTABLE"."MYFIELD" to RTRIM("MYTABLE"."MYFIELD").


Offline
 Profile E-mail  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC + 2 hours


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
phpBB skin developed by: John Olson
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group