Lookup Problem

  • Thread starter Thread starter Annette
  • Start date Start date
A

Annette

I have my order form so that when a user enters the product number, the
product information will display in the appropriate spaces (i.e., the full
description of the product). Here's the formula I'm using:

=LOOKUP(L20,Products!$C$2:$C$85,Products!$B$2:$B$85)

However, the spreadsheet gives incorrect information when it sees text in on
the PRODUCTs sheet. An example:

colb colc
toys 2848395
horses 8392879
houses see price list
rugs 8237499

If I type in the 'rugs', it produces the 'see price list'. Can anyone tell
me how to correct this?
 
I believe you have a typo in your posted formula.
If you type rugs into L20, the formula will look in the *first* range
(lookup vector), which is *not* Column C, according to your datalist
example.

But, that's neither here nor there.

When using LOOKUP(), your lookup column *must* be sorted.

That's why it's usually better to use VLOOKUP() or the INDEX() & MATCH()
combination, depending on the position of the lookup column in the datalist.

If your datalist example is correct (lookup column on the left), you can try
this Vlookup formula:

=VLOOKUP(L20,$B$2:$C$85,2,0)
--

HTH,

RD
==============================================
Please keep all correspondence within the Group, so all may benefit!
==============================================

I have my order form so that when a user enters the product number, the
product information will display in the appropriate spaces (i.e., the full
description of the product). Here's the formula I'm using:

=LOOKUP(L20,Products!$C$2:$C$85,Products!$B$2:$B$85)

However, the spreadsheet gives incorrect information when it sees text in on
the PRODUCTs sheet. An example:

colb colc
toys 2848395
horses 8392879
houses see price list
rugs 8237499

If I type in the 'rugs', it produces the 'see price list'. Can anyone tell
me how to correct this?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Lookup 1
lookup and match 2
Lookup help needed 1
Lookup Function Problems 2
vlookup and match first value greater than 4
LOOKUP or VLOOKUP 11
What type of "lookup" 3
Function for price qoutation help 1

Back
Top