#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 6
Default Search Function

It has been a while since I worked with Excel and I have gone blank. Can
someone help me out please. I have 2 tabs, one with a list 453 model numbers
and the second with the entire 8000 models with the quantity on hand. I want
to create a list with the 453 models an the first tab and the quantity on
hand from the second tab.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Search Function

Try this...

Sheet1 A1:A453 = model numbers

Sheet2
A1:A8000 = model numbers
B2:B8000 = qunatities

Enter this formula on Sheet1 in cell B1:

=SUMIF(Sheet2!A$1:A$8000,A1,Sheet2!B$1:B$8000)

Copy down to B453.

Tip on quick copying...

Enter the formula in B1

With B1 still selected, double click the fill handle. The fill handle is
that little black square at the bottom right corner of the selected cell.
When you hover your mouse over the fill handle the cursor will change from a
"fat" cross to a "skinny" cross. When you get the "skinny" cross, double
click and the formulas will be copied down the column to the end of the
range.


--
Biff
Microsoft Excel MVP


"cra88" wrote in message
...
It has been a while since I worked with Excel and I have gone blank. Can
someone help me out please. I have 2 tabs, one with a list 453 model
numbers
and the second with the entire 8000 models with the quantity on hand. I
want
to create a list with the 453 models an the first tab and the quantity on
hand from the second tab.

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default Search Function

Hi,
Let' say you have the 453 models in sheet 1 starting cell A2, the 8000
models are in sheet 2 column A and what is on hand in column B

so in cell B2 sheet 1 enter

=sumproduct(--(sheet2!$A$2:$A$9000=A2),sheet2!$B$2:$B$9000)

if you are using excel 2007 enter

=sumproduct(--(sheet2!A:A=A2),sheet2!B:B)

"cra88" wrote:

It has been a while since I worked with Excel and I have gone blank. Can
someone help me out please. I have 2 tabs, one with a list 453 model numbers
and the second with the entire 8000 models with the quantity on hand. I want
to create a list with the 453 models an the first tab and the quantity on
hand from the second tab.

Thanks

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
Search function LiAD Excel Worksheet Functions 6 March 28th 09 03:09 AM
Search Function TerryR Excel Discussion (Misc queries) 3 February 17th 09 09:32 AM
Search function. the_intern Excel Worksheet Functions 2 August 3rd 06 11:40 AM
SEARCH function help Eric Shamlin Excel Worksheet Functions 2 May 4th 06 01:25 AM
VBA Search function tamato43 Excel Discussion (Misc queries) 0 March 29th 05 08:09 PM


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