#1   Report Post  
Posted to microsoft.public.excel.misc
Esrei
 
Posts: n/a
Default Lookup and mach

I have 2 worksheets Data and Invent_Count.

In transit invent I have in A a list of all invertory codes and in row 1
order nr not shipped
Worksheet data is in database format with a column for Order_NR an a colmn
for Invent_Code

In Invent_Count!c2 I want to place a formula that would look in Data!A2:C500
match Invent_Count!A2 & Invent_Count!C1 and give me the quantity of a that
stock item on that order and 0 if not.
I am calculating remaining stock

Thank you
  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default Lookup and mach

=INDEX(Data!C2:C500,MATCH(1,(Invent_Count!A2=Data! A2:A500)*(Invent_Count!C1=
Data!B2:B500),0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Esrei" wrote in message
...
I have 2 worksheets Data and Invent_Count.

In transit invent I have in A a list of all invertory codes and in row 1
order nr not shipped
Worksheet data is in database format with a column for Order_NR an a colmn
for Invent_Code

In Invent_Count!c2 I want to place a formula that would look in

Data!A2:C500
match Invent_Count!A2 & Invent_Count!C1 and give me the quantity of a

that
stock item on that order and 0 if not.
I am calculating remaining stock

Thank you



  #3   Report Post  
Posted to microsoft.public.excel.misc
Esrei
 
Posts: n/a
Default Lookup and mach

Briliant thanks

"Bob Phillips" wrote:

=INDEX(Data!C2:C500,MATCH(1,(Invent_Count!A2=Data! A2:A500)*(Invent_Count!C1=
Data!B2:B500),0))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Esrei" wrote in message
...
I have 2 worksheets Data and Invent_Count.

In transit invent I have in A a list of all invertory codes and in row 1
order nr not shipped
Worksheet data is in database format with a column for Order_NR an a colmn
for Invent_Code

In Invent_Count!c2 I want to place a formula that would look in

Data!A2:C500
match Invent_Count!A2 & Invent_Count!C1 and give me the quantity of a

that
stock item on that order and 0 if not.
I am calculating remaining stock

Thank you




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



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