Searching Database

  • Thread starter Thread starter merritts
  • Start date Start date
M

merritts

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
 
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
 
mark,

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

Thanks,
Andre
 

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