#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default lookup function

I have 2 lists of information that I'm using to make one and I am trying to
create a lookup formula to connect the information.

Here is my formula:
=IF(ISNA(LOOKUP(A4,L$4:L$2340,P$4:P$2340)),"",LOOK UP(A4,L$4:L$2340,P$4:P$2340))


I have used it before and it seems to work but now I try and copy it and it
is not working.

The information in Column L and P are style numbers that are alpha numeric,
would that make a difference?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 364
Default lookup function

"danm5644" wrote in message
...
I have 2 lists of information that I'm using to make one and I am trying to
create a lookup formula to connect the information.

Here is my formula:
=IF(ISNA(LOOKUP(A4,L$4:L$2340,P$4:P$2340)),"",LOOK UP(A4,L$4:L$2340,P$4:P$2340))


I have used it before and it seems to work but now I try and copy it and
it
is not working.

The information in Column L and P are style numbers that are alpha
numeric,
would that make a difference?



I suspect what matters is the value in A4 and whether this is of the same
type as data in column L.

There is in Excel a fundamental difference between the number 123 and a text
string containing those three characters, which (for clarity) in postings we
usually write as "123". Viewed in the spreadsheet cell, both would look the
same, just the three characters 123. (Typically, a number would be
right-aligned and text left-aligned, but this can be overridden.) However,
one would be a number and the other a text string. These would behave quite
differently as regards functions such as LOOKUP.

So you need to make sure that the values in A4 and column L are all of the
same type - either numbers or text strings. For example, you can use the
formula
=ISTEXT(A4)
to determine this.


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
how to combine an IF Function with a lookup function to determine [email protected] Excel Worksheet Functions 1 December 5th 06 06:09 AM
Help with lookup function Scott Excel Worksheet Functions 4 September 30th 05 07:34 PM
Lookup Function help marlea Excel Discussion (Misc queries) 2 August 23rd 05 07:30 PM
Pivot table doing a lookup without using the lookup function? NGASGELI Excel Discussion (Misc queries) 0 August 2nd 05 05:08 AM
Lookup Function andibevan Excel Worksheet Functions 1 October 28th 04 12:25 PM


All times are GMT +1. The time now is 12:53 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"