PC Review


Reply
Thread Tools Rate Thread

data return based on two criteria

 
 
Jimmy Joseph
Guest
Posts: n/a
 
      7th Jun 2006
Hello,

I have the following data in excel

A2:A5 - cells are merged and contains partnumber (alpha numeric &
numeric)

C1:AF1 - DATE

C2 - initial stock (number)
C3 - receipts data (number)
C4 - production (number)
C5 = available stock (C2+C3)-C4

Similar data is maintained for 25 partnumbers

I would like to have a sheet where the users can input date &
partnumber and get available stock data.

Your help will be highly appreciated.

Regards,

Jimmy Joseph
 
Reply With Quote
 
 
 
 
Jimmy Joseph
Guest
Posts: n/a
 
      9th Jun 2006
Hello,

Help please!

Jimmy Joseph <(E-Mail Removed)> wrote in
news:(E-Mail Removed):

> Hello,
>
> I have the following data in excel
>
> A2:A5 - cells are merged and contains partnumber (alpha numeric &
> numeric)
>
> C1:AF1 - DATE
>
> C2 - initial stock (number)
> C3 - receipts data (number)
> C4 - production (number)
> C5 = available stock (C2+C3)-C4
>
> Similar data is maintained for 25 partnumbers
>
> I would like to have a sheet where the users can input date &
> partnumber and get available stock data.
>
> Your help will be highly appreciated.
>
> Regards,
>
> Jimmy Joseph
>


 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      9th Jun 2006
This may work for you:

=INDEX($A$1:$D$16,MATCH(G8,A:A,0)+3,MATCH(H8,1:1,0))

In Sheet2:
Put the part number in A1
Put the date in B1
Put this in C1:
=INDEX(sheet1!$A:$af,MATCH(a1,sheet1!A:A,0)+3,MATCH(b1,sheet1!1:1,0))

The first match() looks for a part number match--and then drops down 3 rows (to
get the available stock). The second match() looks for a match in dates.

Debra Dalgleish has lots of notes on how to use =Index() and
=index(match(),match()):
http://contextures.com/xlFunctions03.html



Jimmy Joseph wrote:
>
> Hello,
>
> I have the following data in excel
>
> A2:A5 - cells are merged and contains partnumber (alpha numeric &
> numeric)
>
> C1:AF1 - DATE
>
> C2 - initial stock (number)
> C3 - receipts data (number)
> C4 - production (number)
> C5 = available stock (C2+C3)-C4
>
> Similar data is maintained for 25 partnumbers
>
> I would like to have a sheet where the users can input date &
> partnumber and get available stock data.
>
> Your help will be highly appreciated.
>
> Regards,
>
> Jimmy Joseph


--

Dave Peterson
 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      9th Jun 2006
Oops.

Ignore that first formula.

I used it when I was making a small test and I pasted just for the syntax--then
forgot to delete it.

Jimmy Joseph wrote:
>
> Hello,
>
> I have the following data in excel
>
> A2:A5 - cells are merged and contains partnumber (alpha numeric &
> numeric)
>
> C1:AF1 - DATE
>
> C2 - initial stock (number)
> C3 - receipts data (number)
> C4 - production (number)
> C5 = available stock (C2+C3)-C4
>
> Similar data is maintained for 25 partnumbers
>
> I would like to have a sheet where the users can input date &
> partnumber and get available stock data.
>
> Your help will be highly appreciated.
>
> Regards,
>
> Jimmy Joseph


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: data return based on two criteria Jimmy Joseph Microsoft Excel Discussion 1 15th Jun 2006 12:22 PM
Re: data return based on two criteria Jimmy Joseph Microsoft Excel Discussion 2 10th Jun 2006 12:34 PM
Re: data return based on two criteria Jimmy Joseph Microsoft Excel Discussion 0 10th Jun 2006 09:51 AM
Based on criteria in 1 colum, return data from a different colum. =?Utf-8?B?ZGNvenpp?= Microsoft Access 5 17th Mar 2006 03:19 PM
return multiple rows of data based on criteria =?Utf-8?B?c3RldmVfc3Iy?= Microsoft Excel Worksheet Functions 7 28th Feb 2006 04:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:22 AM.