+ Reply to Thread
Results 1 to 5 of 5

Returns Minimum Value in Specific Data

  1. #1
    Registered User
    Join Date
    12-29-2009
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    42

    Returns Minimum Value in Specific Data

    Hello

    I'm a little stuck.

    I have a report I am producing that returns some information regarding accounts we deal with.

    it may be best to explain what I have allready.

    Firstly I have The total occurences in a specific month and year using the following formula.

    Please Login or Register  to view this content.
    This looks at the date field 06-2009 returns the total number of occurences in June 09.

    Then I have the average number returned using the following.

    Please Login or Register  to view this content.
    Again looking at 06-2009.

    What I need is the actual Minimum number which is in the list that the average is taken from.

    For example the minimum number for 06-2009 is 2 from the list 2,5,7,7,6,5,7,5,9.
    Ill do the same for the max which will be 06-2009 is 9

    Please can someone help?

    Thanks
    Rich
    Last edited by Ricco Balboa; 01-18-2010 at 10:37 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Returns Minimum Value in Specific Data

    tRY:

    =MIN(IF('App - Setup Fee'!$P$2:$P1000=A3,'App - Setup Fee'!$AH$2:$AH$10000))

    AND

    =MAX(IF('App - Setup Fee'!$P$2:$P1000=A3,'App - Setup Fee'!$AH$2:$AH$10000))

    Each confirmed with CTRL+SHIFT+ENTER and not just ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Returns Minimum Value in Specific Data

    If you are repeating these calcs for different months/years accounts etc you might want to consider using a Pivot Table to do this as it will be more efficient long term.

    You can show Count, Average & Max quite easily - and you can group your source data by Month & Year ... if you provide a sample of your source data (confidential info. removed) we could perhaps demo for you ?

  4. #4
    Registered User
    Join Date
    12-29-2009
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Returns Minimum Value in Specific Data

    Hi guys,

    I thought of doing a pivot table but this particular report is part of a month end stats report and I want to be able to add and remove information form different areas.

    I may produce a pivot table to obtain my raw data and add it to the report itself but for this particular excercise I would prever to create my own table.

    Thanks very much Donkey for your suggestion, if I can't crack it I will resort to a pivot.
    I'll let you know how I get on.


    As for the formula It doesnt seem to work, the first field works fine but when I copy down the formula to get 07-2009 it won't pick up on the the next date, I feel it should though; a 0 is returned.

    Any thoughts?

  5. #5
    Registered User
    Join Date
    12-29-2009
    Location
    North Wales
    MS-Off Ver
    Excel 2007
    Posts
    42

    Re: Returns Minimum Value in Specific Data

    Hold up.

    Donkey is right. I have knocked up a quick pivot and Its much better.

    Thanks guys for your imput.

    Rich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1