LOOKUP Help needed

  • Thread starter Thread starter Paul Watkins
  • Start date Start date
P

Paul Watkins

Hi
On Sheet 1 of a workbook i have 4 columns of information
Item Number (Column A)
Description (Column B)
Price (Column C)
Location (Column D)

In Cell K1 i want to select from a combobox the description 'Ice Cream' and
then have Cell L1 display the corrosponding Price Cell M1 display the
location and Cell N1 display the item number for the Ice Cream.
I have this formula in cell L1 =[IF(K1="","",VLOOKUP(K1,b3:c40,2,FALSE))]
This displays the price.
I've tried the formula below in cell M1 but i get '#N/A' in the cell.

IF(K1="","",VLOOKUP(K1,A3:D40,1,FALSE))

How can i get this lot to work


Thanks in advance

Paul
 
Hi Paul

You description is in column B

This formula is looking in A
IF(K1="","",VLOOKUP(K1,A3:D40,1,FALSE))
It looks in the first column of the range

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)




Paul Watkins said:
Hi
On Sheet 1 of a workbook i have 4 columns of information
Item Number (Column A)
Description (Column B)
Price (Column C)
Location (Column D)

In Cell K1 i want to select from a combobox the description 'Ice Cream' and
then have Cell L1 display the corrosponding Price Cell M1 display the
location and Cell N1 display the item number for the Ice Cream.
I have this formula in cell L1 =[IF(K1="","",VLOOKUP(K1,b3:c40,2,FALSE))]
This displays the price.
I've tried the formula below in cell M1 but i get '#N/A' in the cell.

IF(K1="","",VLOOKUP(K1,A3:D40,1,FALSE))

How can i get this lot to work


Thanks in advance

Paul
 
Thanks Ron
I get 'formula blind' from time to time

Paul


Ron de Bruin said:
Hi Paul

You description is in column B

This formula is looking in A
IF(K1="","",VLOOKUP(K1,A3:D40,1,FALSE))
It looks in the first column of the range

--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)




Hi
On Sheet 1 of a workbook i have 4 columns of information
Item Number (Column A)
Description (Column B)
Price (Column C)
Location (Column D)

In Cell K1 i want to select from a combobox the description 'Ice Cream' and
then have Cell L1 display the corrosponding Price Cell M1 display the
location and Cell N1 display the item number for the Ice Cream.
I have this formula in cell L1 =[IF(K1="","",VLOOKUP(K1,b3:c40,2,FALSE))]
This displays the price.
I've tried the formula below in cell M1 but i get '#N/A' in the cell.

IF(K1="","",VLOOKUP(K1,A3:D40,1,FALSE))

How can i get this lot to work


Thanks in advance

Paul
 

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

Back
Top