+ Reply to Thread
Results 1 to 5 of 5

pivot table to show only last number of records

  1. #1
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    pivot table to show only last number of records

    Hi All,

    i would greatly appreciate your help on something that i thought i would be able to do, but seem to be struggling with.

    i have a table of data that is sorted by a unique number of 1, 2 and so on ( CALLED LEVEL DAY )
    so it is NOT sorted by a date.

    i have a pivot table that is performing fine and works by applying a COUNT of these records of the column ( level day )

    the pivot table obtains ALL records as it should.

    however i would like to be able to show ONLY the LAST 10 records of data.
    for example in my attachment my pivot table takes all data , row 1 to 35.

    but could i create a new table that shows from row 20 and above?
    (but not changing my source data to just the last rows obvs)

    because in my values section i need the "count of level day" in order for my chart to run - this is causing problems i think.

    your help or guidance is very, very much appreciated on this, thanks

    steve r


    i have attached my table and source

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: pivot table to show only last number of records

    F3 =IF(A3="","",IF((Counta($A$3:$A$529)-Counta($A$3:$A3))<=10,"yes",""))

    The values with yes (in Column F) are the last 10 values.
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    Re: pivot table to show only last number of records

    thanks oeldere,

    where do i enter this formulae , and does this require my putting a YES in colomn F?

    thanks

    steve

  4. #4
    Forum Contributor
    Join Date
    07-07-2019
    Location
    london
    MS-Off Ver
    2013
    Posts
    105

    Re: pivot table to show only last number of records

    Ok, so if i put YES in colomn 4. and then a Filter in my table the filters the YES from the NO. then that should work? is that correct

    unless there is an easier more automated way.

    thanks

    steve

  5. #5
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: pivot table to show only last number of records

    The formula needs to stored in cell F2.

    See the attached file.

+ 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 number of times a text appears in pivot table (graph)?
    By Smoka in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 11-12-2018, 06:42 PM
  2. Show number of times a text appears in pivot table (graph)?
    By Smoka in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 11-10-2018, 12:10 PM
  3. Pivot Table Double Click Show Correct records
    By Helen_88 in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-06-2016, 11:25 PM
  4. Pivot Report doesn't show current records but they are in pivot table
    By dixiecricket in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 06-16-2015, 11:25 AM
  5. Pivot table, to get number of records with values (>0)
    By andy.k in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 06-03-2013, 03:18 AM
  6. [SOLVED] Can a pivot table show the number of different elements for a given row label?
    By psychedelic in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 11-21-2012, 09:13 PM
  7. Maximum Number of Records in Pivot Table
    By pr4t3ek in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-23-2009, 06:21 AM

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