+ Reply to Thread
Results 1 to 4 of 4

Median Ifs, need to find median $ amount per deal for each year

  1. #1
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Wink Median Ifs, need to find median $ amount per deal for each year

    Hello,

    I need to find the Median $ amount earned for deals done from 2005-2012, in current worksheet Statistics! from worksheet Deals!.

    =MEDIAN(IF(TEXT(Deals!$C$2:$C$500,"yyyy")=AA2&"",Deals!$P$2:$P$500))

    I've been having problems with this formula I was given from another forum. Is it legitimate? It's pulling a totally random number, $398,412.00, when the median formula on the actual deals worksheet pulls $500,000.

    The date column in Deals! are formatted numerically in dd/mm/yyyy format.

    Current worksheets AA2-AA9 are labeled 2005:2012.

    Thanks for any help...
    Last edited by xenomorph8472; 11-13-2012 at 01:30 PM.

  2. #2
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,664

    Re: Median Ifs, need to find median $ amount per deal for each year

    Looks OK. It MUST be confirmed with Ctrl+Shift+Enter instead of just Enter.

    It could be simplified to

    =MEDIAN(IF(YEAR(Deals!$C$2:$C$500)=AA2, Deals!$P$2:$P$500))
    Entia non sunt multiplicanda sine necessitate

  3. #3
    Registered User
    Join Date
    11-13-2012
    Location
    cincinnati OH
    MS-Off Ver
    Excel 2010
    Posts
    10

    Re: Median Ifs, need to find median $ amount per deal for each year

    You sir, are wonderful, ctrl+shift+enter was the magic. Thanks muchly!!!!!!!!!!!

    For months, could it be (IF(MONTH(Deals!$C$2:$C$500)=AB2, ? If AB2 is January so on and so forth?
    Last edited by xenomorph8472; 11-13-2012 at 01:48 PM.

  4. #4
    Forum Guru shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,664

    Re: Median Ifs, need to find median $ amount per deal for each year

    The MONTH function returns a number, not a string. See Help.

+ 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