Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Searching Database


Hi,

I have two seperate excel files (file1: inventory.xls, file2:order.xls
each with two columns (col a: part #, col b: quantity). Using the par
# from order.xls i would like to search inventory.xls for the same par
# and add/subtract the respective numeric quantities.

*the part# is a combination of letters and numbers, roughly AAAA####

Thank

--
merritt
-----------------------------------------------------------------------
merritts's Profile: http://www.excelforum.com/member.php...fo&userid=3580
View this thread: http://www.excelforum.com/showthread.php?threadid=55616

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default Searching Database

You could put something like this formula in Cell C1 or order.xls.

=SUMIF('[Inventory.xls]Sheet1'!$A:$A,A1,'[Inventory.xls]Sheet1'!$B:$B)

Mark


merritts wrote:
Hi,

I have two seperate excel files (file1: inventory.xls, file2:order.xls)
each with two columns (col a: part #, col b: quantity). Using the part
# from order.xls i would like to search inventory.xls for the same part
# and add/subtract the respective numeric quantities.

*the part# is a combination of letters and numbers, roughly AAAA####

Thanks


--
merritts
------------------------------------------------------------------------
merritts's Profile: http://www.excelforum.com/member.php...o&userid=35803
View this thread: http://www.excelforum.com/showthread...hreadid=556168


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Searching Database


mark,

I was hoping to add other functions later and would like to implemen
it through macros. Is this possible?

Thanks,
Andre

--
merritt
-----------------------------------------------------------------------
merritts's Profile: http://www.excelforum.com/member.php...fo&userid=3580
View this thread: http://www.excelforum.com/showthread.php?threadid=55616

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
Searching a linked database [email protected] Excel Discussion (Misc queries) 1 May 30th 07 11:11 PM
Problems searching a database and reporting all occurrences of a v Pat Excel Discussion (Misc queries) 5 December 22nd 06 10:25 AM
searching a large database with a long list of search terms [email protected] Excel Discussion (Misc queries) 34 January 10th 06 06:23 AM
Searching for variables in excel database Gavin77 Excel Discussion (Misc queries) 0 August 2nd 05 03:28 PM
Searching a database in excel kylev96[_2_] Excel Programming 2 June 9th 05 07:35 PM


All times are GMT +1. The time now is 07:49 AM.

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"