Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sharon
 
Posts: n/a
Default How do I list the most recent occrence of a purchase order?

I am working on an Excel spreadsheet that lists information on individuals
based on purchase order number, date of the purchase order number in addtion
to other fields. This report lists activity on a purchase order based on
yyyy/mm/dd format. What I would like to return from this report is the MOST
RECENT activity of the purchase order. For example, activity for PO#12345
for Jane Doe occurred in Jan, Mar, and April. I ONLY want to list the
activity for the same PO on Jane Doe in April.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ronald Dodge
 
Posts: n/a
Default How do I list the most recent occrence of a purchase order?

You can do this one of 2 ways, via macro or formula. I'm not sure how you
are with macros, but here's the formula method:

Assuming you have all of your data in a table like format, similar to how it
would be stored in a DB environment, you can use formula something like the
follows:

=INDIRECT(ADDRESS(MATCH(MAX($A:$A),$A:$A,0),COLUMN (C:C)))

One potential downfall of this, the MATCH function will only return the
first occurence within the range of that exact value (as specified by the
'0' in the last argument of the function), which then may require to not
only use date, but also time of day as well.

--
Ronald R. Dodge, Jr.
Production Statistician/Programmer
Master MOUS 2000

"Sharon" wrote in message
...
I am working on an Excel spreadsheet that lists information on individuals
based on purchase order number, date of the purchase order number in

addtion
to other fields. This report lists activity on a purchase order based on
yyyy/mm/dd format. What I would like to return from this report is the

MOST
RECENT activity of the purchase order. For example, activity for PO#12345
for Jane Doe occurred in Jan, Mar, and April. I ONLY want to list the
activity for the same PO on Jane Doe in April.

Thanks.



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
LIST DATES IN MONTH ORDER kelco Excel Worksheet Functions 1 April 27th 06 09:19 AM
update data validation list with new entries?? cjtj4700 Excel Discussion (Misc queries) 10 December 12th 05 01:00 AM
purchase order counter in excel purchase order template Brandy@baoco Excel Worksheet Functions 0 February 23rd 05 06:17 PM
Template Purchase Order br6 Excel Discussion (Misc queries) 1 January 28th 05 02:08 AM
I want a purchase order that includes page number (if to be order. Angela New Users to Excel 1 December 3rd 04 04:39 PM


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