Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
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(D2:D100=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)



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
find occurance of something from 2 creterion liu Excel Discussion (Misc queries) 4 February 12th 09 06:08 PM
Find the next occurance Lou Excel Worksheet Functions 6 April 8th 08 04:37 AM
Macro to find last occurance hnyb1 Excel Discussion (Misc queries) 2 June 8th 07 04:40 PM
Find the 1st occurance of a number in a cell lovemuch Excel Worksheet Functions 4 August 17th 06 01:02 AM
Find next occurance Jambruins Excel Discussion (Misc queries) 5 August 10th 06 04:48 PM


All times are GMT +1. The time now is 03:57 PM.

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"