+ Reply to Thread
Results 1 to 6 of 6

Find the Largest Difference

  1. #1
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Find the Largest Difference

    Hi There

    I hope someone will be able to help me..........

    I have a pivot table that shows values grouped as ranges in the row, Gender as the columns and an average % value in the data.

    In a cell outside of the pivot I would like to be able to produce the name of the range that has the largest difference between male and female.

    I hope this makes sense and that someone can help. I have thought about getting the min and Max values but this doesn't mean finding the biggest difference so at the moment I am pretty lost for ideas.

    I can post an example if this makes not sence at all

    Thanks in advance.

    Jim
    Last edited by JimmyA; 04-24-2009 at 10:27 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: Find the Largest Difference

    It'd be easier to understand what you want if you posted a sample spreadsheet and show an expected result
    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 Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Find the Largest Difference

    Thanks, I have attched an example sheet. The data i am using is a lot larger than this (13k rows) but hopefully this should explain what I am after.

    I would like Cell O2 to show the name of the range that contains the largest difference between males and females. In this case 50000-60000

    Any help you could offer would be great.

    Thanks agian

    Jim
    Attached Files Attached Files

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

    Re: Find the Largest Difference

    Try:

    Please Login or Register  to view this content.
    adjust ranges to suit your actual data and confirm with CTRL+SHIFT+ENTER not just ENTER... you will see { } brackets appear

  5. #5
    Forum Contributor
    Join Date
    02-14-2007
    Location
    Chester, England
    MS-Off Ver
    2010 & 2016
    Posts
    312

    Re: Find the Largest Difference

    Perfect, Thanks very much.

    I must confess to still not understanding array formulas very well but I just adjusted the ranges for my actual data and it worked 1st time

    Thanks again.

    Jim

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

    Re: Find the Largest Difference

    Interesting read here: Array Formulas

+ 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