+ Reply to Thread
Results 1 to 4 of 4

Excel 2007 : Extracting Largest Variances

  1. #1
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Extracting Largest Variances

    On the attached spreadsheet I have encountered a problem that I am struggling to resolve. In cells G4 and G14 I have variances of 585,000 & (585,000). In column W I am ranking the largest variances regardless if the variance is positive or negative. In cells W6 & W7 the formula is referencing both cells to cell G4 instead of one delivering the value from G4 and the other giving the value of G14

    Any help would be gratefully appreciated !!

    Many thanks

    Mike
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    Office 2021
    Posts
    2,237

    Re: Extracting Largest Variances

    Hello Mike, try this,

    W3, copy down.

    =IFERROR(INDEX(M:M,SMALL(IF(M$3:M$133=LARGE(ABS(M$3:M$133),SUM(COUNTIF(M$3:M$133,W$2:W2))+1)*{1,-1},IF(ISNA(MATCH(M$3:M$133,W$2:W2,0)),ROW(M$3:M$133))),1)),"")

    Confirmed with CTRL+SHIFT+ENTER
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Extracting Largest Variances

    Hi Haseeb,

    Thank you for the above formula. Unfortunately it has not worked due to a circular reference

    Regards,

    Mike

  4. #4
    Registered User
    Join Date
    11-21-2011
    Location
    Addlestone, Surrey, UK
    MS-Off Ver
    Excel 2007
    Posts
    17

    Re: Extracting Largest Variances

    Hi Haseeb,

    The formula is working ... ignore my previous message.

    Thanks again for your 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