Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Vlookup that checks against two values

I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 133
Default Vlookup that checks against two values

On Jan 31, 6:44 pm, runsrealfast wrote:
I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John


Convert your database to Access.


Really. If you are managing multi-product, multi-customer
information, Excel is probably the wrong platform. There are some
Access templates that will probably get you 80% there.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Vlookup that checks against two values

On Feb 1, 7:44*am, runsrealfast wrote:
I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John


Try populating a new column with the concatenated lookup fields and
use this as the lookup value instead of 2 separate fields. Repeat for
the lookup table.

Regards
Trevosef
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Vlookup that checks against two values

Check your other posts, too.

runsrealfast wrote:

I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 51
Default Vlookup that checks against two values

Try - VLOOKUP(A1&B1,ANOTHERSHEET!A1:C1,3,false)

This will not work if both cells contain numbers.

"runsrealfast" wrote:

I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).

VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)

What is the best way to do this?

John




  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Vlookup that checks against two values

On Jan 31, 5:45 pm, SteveM wrote:
On Jan 31, 6:44 pm, runsrealfast wrote:

I have a sheet that contains a column of Product numbers, a comlumn of
customer numbers, and a column for orders. In another sheet I have the
a similar format with the same columns. I need to check I need to move
the values of the order to the second sheet but I must check against
both the product number and the customer number. excel does not allow
you to do the following (gives the #NAME? error).


VLOOKUP(A1 AND B1, ANOTHERSHEETA1:C1,3,false)


What is the best way to do this?


John


Convert your database to Access.

Really. If you are managing multi-product, multi-customer
information, Excel is probably the wrong platform. There are some
Access templates that will probably get you 80% there.


Actually the database is an oracle database. just have information
that needed to be undated and then we ran scripts to put the new data
in the DB.

Excel is in no way acceptable for a database.

John
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
VLookup multiple values - sum returned values into single cell se7098 Excel Worksheet Functions 12 April 2nd 23 07:32 PM
Vlookup that checks against two values runsrealfast Excel Worksheet Functions 4 February 1st 08 02:43 AM
Checks whether a value is text or number Mike Excel Worksheet Functions 0 February 23rd 07 01:29 PM
Different colored checks?? Ltat42a Excel Discussion (Misc queries) 0 August 2nd 06 07:35 PM
Formula/function that checks for a set of values. Memnok Excel Worksheet Functions 8 March 24th 06 05:59 PM


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