Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 112
Default Lookup between multiple columns

Is there a way to look up between multiple columns on the same worksheet. I
have 297,000 serial numbers that I need to search through. I exceed the
allowed rows so had to but them in columns

ex:
Column A Column B Column C Comlumn D Column E
Serial 0001 1/25/08 Serial 1023 5/01/08
Serial 0002 3/19/08 Serial 1034 6/23/08 Lookup Serial
number
Serial 0003 4/12/08 Serial 1056 7/14/08
Serial 0004 5/29/08 Serial 1078 8/28/08

On cell E2 I would like to search for the serial number and have it return
the value on the cell next to it.

ex: search Serial 1056 and return the 7/14/08 date.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup between multiple columns

Assuming every serial number is unique.

F1 = Serial 1056

=SUMIF(A:C,F1,B:D)

Format as Date.

Note how the range references are offset:

A...B...C
.......B...C...D

--
Biff
Microsoft Excel MVP


"Mickey" wrote in message
...
Is there a way to look up between multiple columns on the same worksheet.
I
have 297,000 serial numbers that I need to search through. I exceed the
allowed rows so had to but them in columns

ex:
Column A Column B Column C Comlumn D Column E
Serial 0001 1/25/08 Serial 1023 5/01/08
Serial 0002 3/19/08 Serial 1034 6/23/08 Lookup Serial
number
Serial 0003 4/12/08 Serial 1056 7/14/08
Serial 0004 5/29/08 Serial 1078 8/28/08

On cell E2 I would like to search for the serial number and have it return
the value on the cell next to it.

ex: search Serial 1056 and return the 7/14/08 date.




  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 112
Default Lookup between multiple columns

T.Valko,
Thanks, it worked perfect. When a serial number does not exist it returns a
0-Jan-00, is there a way to make it return "not valid" using the same formula?

Thanks,



"T. Valko" wrote:

Assuming every serial number is unique.

F1 = Serial 1056

=SUMIF(A:C,F1,B:D)

Format as Date.

Note how the range references are offset:

A...B...C
.......B...C...D

--
Biff
Microsoft Excel MVP


"Mickey" wrote in message
...
Is there a way to look up between multiple columns on the same worksheet.
I
have 297,000 serial numbers that I need to search through. I exceed the
allowed rows so had to but them in columns

ex:
Column A Column B Column C Comlumn D Column E
Serial 0001 1/25/08 Serial 1023 5/01/08
Serial 0002 3/19/08 Serial 1034 6/23/08 Lookup Serial
number
Serial 0003 4/12/08 Serial 1056 7/14/08
Serial 0004 5/29/08 Serial 1078 8/28/08

On cell E2 I would like to search for the serial number and have it return
the value on the cell next to it.

ex: search Serial 1056 and return the 7/14/08 date.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Lookup between multiple columns

Try this:

=IF(SUMIF(A:C,F1,B:D),SUMIF(A:C,F1,B:D),"not valid")


--
Biff
Microsoft Excel MVP


"Mickey" wrote in message
...
T.Valko,
Thanks, it worked perfect. When a serial number does not exist it returns
a
0-Jan-00, is there a way to make it return "not valid" using the same
formula?

Thanks,



"T. Valko" wrote:

Assuming every serial number is unique.

F1 = Serial 1056

=SUMIF(A:C,F1,B:D)

Format as Date.

Note how the range references are offset:

A...B...C
.......B...C...D

--
Biff
Microsoft Excel MVP


"Mickey" wrote in message
...
Is there a way to look up between multiple columns on the same
worksheet.
I
have 297,000 serial numbers that I need to search through. I exceed
the
allowed rows so had to but them in columns

ex:
Column A Column B Column C Comlumn D Column E
Serial 0001 1/25/08 Serial 1023 5/01/08
Serial 0002 3/19/08 Serial 1034 6/23/08 Lookup
Serial
number
Serial 0003 4/12/08 Serial 1056 7/14/08
Serial 0004 5/29/08 Serial 1078 8/28/08

On cell E2 I would like to search for the serial number and have it
return
the value on the cell next to it.

ex: search Serial 1056 and return the 7/14/08 date.







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
Lookup in multiple columns sapai Excel Worksheet Functions 7 August 13th 08 07:55 PM
Lookup across multiple columns within multiple sheets Garnet Excel Discussion (Misc queries) 2 June 25th 08 11:46 PM
lookup using multiple columns mario Excel Worksheet Functions 7 December 17th 07 06:53 AM
Lookup in Multiple Columns, Return Multiple Values andy62 Excel Worksheet Functions 3 July 6th 06 02:36 AM
lookup across multiple columns NHP Excel Worksheet Functions 4 March 31st 06 10:31 PM


All times are GMT +1. The time now is 10:45 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"