A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Find occurance of a part number?



 
 
Thread Tools Display Modes
  #1  
Old May 20th, 2009, 07:59 PM posted to microsoft.public.excel.worksheet.functions
Premachine
external usenet poster
 
Posts: 3
Default Find occurance of a part number?

I have a computer sales program that will output an excel spredsheet that
contans all of my computer generated 10 digit part numbers. Part#'s are
generated by options selected at time of order so there are literly thousands
of different part#'s

The part numbers are listed in two colums depending on if it was bought or
sold.

Each row transaction is loged with a date and time the order was generated.

The row data and colum headers a

Date - Time (am/pm) - sold - purchase - customer - vendor
5/20/2009 - 11:00 am - 10digits - 10digits - text - text
5/19/2009 - 3:09 pm - 10digits - 10digits - text -
text

Is there a function - formula or someway to search this sheet and find the
(by Date/Time) first and last time a part number was purchsed and also the
first and last time (by Date/Time) it was sold?

I would like to pull this info into a seperate worksheet or tab.

I would even be happy with somthing as simple as a way get a list that would
just pull the entire row data into the worksheet for each of the different
part#'s, first and last occurance.

Thanks for any help. I am at a total loss!

Premachine, (Mark)
  #2  
Old May 20th, 2009, 09:46 PM posted to microsoft.public.excel.worksheet.functions
T. Valko
external usenet poster
 
Posts: 15,759
Default Find occurance of a part number?

If I understand what you want...

All formulas are array formulas**.

H1 = part number to lookup

First time sold:

=MIN(IF(C2:C100=H1,A2:A100+B2:B100))

Last time sold:

=MAX(IF(C2:C100=H1,A2:A100+B2:B100))

First time purchased:

=MIN(IF(D2100=H1,A2:A100+B2:B100))

Last time purchased:

=MAX(IF(C2:C100=H1,A2:A100+B2:B100))

Format as Date 3/14/01 1:30 PM

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"Premachine" wrote in message
...
I have a computer sales program that will output an excel spredsheet that
contans all of my computer generated 10 digit part numbers. Part#'s are
generated by options selected at time of order so there are literly
thousands
of different part#'s

The part numbers are listed in two colums depending on if it was bought or
sold.

Each row transaction is loged with a date and time the order was
generated.

The row data and colum headers a

Date - Time (am/pm) - sold - purchase - customer - vendor
5/20/2009 - 11:00 am - 10digits - 10digits - text -
text
5/19/2009 - 3:09 pm - 10digits - 10digits - text -
text

Is there a function - formula or someway to search this sheet and find the
(by Date/Time) first and last time a part number was purchsed and also the
first and last time (by Date/Time) it was sold?

I would like to pull this info into a seperate worksheet or tab.

I would even be happy with somthing as simple as a way get a list that
would
just pull the entire row data into the worksheet for each of the different
part#'s, first and last occurance.

Thanks for any help. I am at a total loss!

Premachine, (Mark)



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.