+ Reply to Thread
Results 1 to 2 of 2

Top 10 Only Positive Numbers in a Pivot

  1. #1
    Registered User
    Join Date
    04-19-2010
    Location
    Manchester, England
    MS-Off Ver
    Excel 2010
    Posts
    85

    Top 10 Only Positive Numbers in a Pivot

    Hi All

    I hope someone would help with a question.

    Is it possible to create a pivot that only shows the top 10 positive numbers?

    For example if the data contains negative values the pivot omits these values, and reduces the pivot to say top 8.

    I am creating a chart based on the pivot, but don't want to include any negative values.

    Many thanks for your time and expertise.

    Diane

  2. #2
    Forum Expert sweep's Avatar
    Join Date
    04-03-2007
    Location
    Great Sankey, Warrington, UK
    MS-Off Ver
    2003 / 2007 / 2010 / 2016 / 365
    Posts
    3,444

    Re: Top 10 Only Positive Numbers in a Pivot

    Hi,

    Not sure if you can do this with a pivot table, but assuming your data is in A1:A25, the following array formula in row 1 of any column should give you the top positive numbers.

    =IFERROR(LARGE(IF(A1:A25>0,A1:A25,""),ROW()),"")

    NB: Use CTRL, SHIFT and ENTER to confirm an array fuction - not just enter.
    Rule 1: Never merge cells
    Rule 2: See rule 1

    "Tomorrow I'm going to be famous. All I need is a tennis racket and a hat".

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Show negative numbers as positive in a pivot
    By Cunner in forum Excel General
    Replies: 0
    Last Post: 11-22-2011, 10:30 AM
  2. Convert negative to positive in sheet containing both positive/negative numbers
    By sa02000 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-29-2010, 07:52 PM
  3. adding positive and negative numbers all as positive
    By tomvh444 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-18-2009, 04:08 PM
  4. [SOLVED] change 2000 cells (negative numbers) into positive numbers
    By lisbern in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-16-2006, 01:00 PM
  5. [SOLVED] convert negative numbers to positive numbers and vice versa
    By bill gras in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-06-2005, 09:45 PM

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