+ Reply to Thread
Results 1 to 3 of 3

formula to find the cell above the grand total of a Pivot Table

  1. #1
    Forum Contributor
    Join Date
    07-18-2012
    Location
    New York
    MS-Off Ver
    2016
    Posts
    193

    formula to find the cell above the grand total of a Pivot Table

    Hello,

    I'm trying to use an offset(-1,1) to pull the last row of a pivot table before the Grand Total line. I've tried a few different things but I keep getting errors.

    Thank you

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: formula to find the cell above the grand total of a Pivot Table

    hi there. assuming the numbers you want are in column B and the word "Grand Total" in column A, then:
    =INDEX(B:B,MATCH("Grand Total",A:A,0)-1)

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Forum Contributor
    Join Date
    07-18-2012
    Location
    New York
    MS-Off Ver
    2016
    Posts
    193

    Re: formula to find the cell above the grand total of a Pivot Table

    Ah yes, the old index(match) trick. Thank you.

+ 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. SOLVED: Select Grand Total cell in Pivot Table
    By Rich789 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-30-2017, 10:05 AM
  2. Pivot Table - Empty cell replacement doesn't sum in grand total
    By wallekalle in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 03-07-2017, 07:42 AM
  3. Select Grand Total Cell In Pivot Table
    By mrazexcel in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-17-2016, 12:01 AM
  4. Pivot Table Calculated Item Field Grand Total Not using Formula
    By gav0101 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 05-29-2014, 11:46 AM
  5. Replies: 6
    Last Post: 03-20-2013, 09:37 AM
  6. [SOLVED] Is it possible to have both Grand Total and Grand Average in a Pivot Table?
    By ANS in forum Excel Charting & Pivots
    Replies: 15
    Last Post: 10-16-2012, 05:15 AM
  7. Pivot Table Grand Total Average in a Formula
    By Hudas in forum Excel General
    Replies: 1
    Last Post: 04-07-2012, 04:30 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