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  

Large Function



 
 
Thread Tools Display Modes
  #1  
Old December 2nd, 2003, 08:34 AM
,
external usenet poster
 
Posts: n/a
Default Large Function

I have a spreadsheet with something similar to item below. I need to be
able to find the oldest (largest) item for each person. Any and all
help is appreciated. And, it cannot return an oldest date with a cost
code of 7.




employee Days Old Cost Code
Joe 30 3
Jack 45 7
Joe 21 1
Joe 45 3
Joe 75 7
Jack 21 1
Jack 46 4


How do I return 45 for Joe and 46 for Jack? Well, give me one formula
for either and I can figure out the other.

Thank you for any assistance.

Dave Elliott

  #2  
Old December 2nd, 2003, 09:02 AM
Ron Rosenfeld
external usenet poster
 
Posts: n/a
Default Large Function

On Tue, 02 Dec 2003 08:34:10 GMT, "," wrote:

I have a spreadsheet with something similar to item below. I need to be
able to find the oldest (largest) item for each person. Any and all
help is appreciated. And, it cannot return an oldest date with a cost
code of 7.




employee Days Old Cost Code
Joe 30 3
Jack 45 7
Joe 21 1
Joe 45 3
Joe 75 7
Jack 21 1
Jack 46 4


How do I return 45 for Joe and 46 for Jack? Well, give me one formula
for either and I can figure out the other.

Thank you for any assistance.

Dave Elliott



The *array-entered* formula:

=MAX((employee=F2)*(Cost_Code7)*Days_Old)

where F2 contains the employee name of interest.

To *array-enter* a formula, hold down ctrlshift while hitting enter. XL
will place braces {...} around the formula.


--ron
 




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 09:29 PM.


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