LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Boo Boo is offline
external usenet poster
 
Posts: 21
Default look up formula not returning data

Hopeful,

This sounds like a formatting issue (which probably won't come as a surprise
to you!).

For example, if column A contains the values 1,2,A,B and the corresponing
entries in column B are One, Two, AAA, BBB a lookup formula of

=vlookup("1",A1:B4,2,false) will return #N/A because Excel is looking for
the text value 1 and not the numerical value 1 (which sounds like the problem
you are experiencing).

If I change the format of column A to be text this should solve the problem
- no! The formula will not update unless you edit the cell (F2) and then
press return - you don't want to do this for all cells!

Best way to get round this is choose a column with no data, enter a formula
along the lines of =proper(A1), copy down so all values you will be looking
up on are covered. Select this list of formulas, copy and then paste special
the values back to your original column.

Excel will now pick up the lookup values for you (assuming there is a match).

Sounds long winded but it takes a few seconds to do.

"Hopeful" wrote:

I have been working with vlookup tables for a while now but when I started a
new one with some new date from another source, it stopped working. It will
not return values that I ask it to lookup. The date is both numerical and
text. I have sorted the date in ascending order. I have tried changing the
data from number to text to general. Nothing seems to work.

If I open another sheet up and try to a vlookup it works. It is just not
working with my new data.

Thanks



 
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
macro unouwanme Excel Discussion (Misc queries) 9 August 31st 06 09:38 PM
Inputting data to one worksheet for it effect another daedalus1 Excel Discussion (Misc queries) 1 June 25th 06 04:39 PM
Inserting a new line when external data changes Rental Man Excel Discussion (Misc queries) 0 January 11th 06 07:05 PM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Howdo U copy a formula down a column, that uses data in another w. brantty Excel Worksheet Functions 0 February 25th 05 10:11 AM


All times are GMT +1. The time now is 08:54 AM.

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"