+ Reply to Thread
Results 1 to 11 of 11

Pivot Table Range

  1. #1
    Registered User
    Join Date
    02-08-2019
    Location
    england
    MS-Off Ver
    excel for mac
    Posts
    4

    Pivot Table Range

    Hello,

    I am entering daily data financial data by date and by where it is coming from.

    How do i make to so that the range includes all the eventual data that I will include, for the month or for the year. But shows only the data that is currently entered?

    thanks for any help.

  2. #2
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Pivot Table Range

    Select the entire columns of data, assuming that the data will be entered in rows, so instead of A2:A10, to have A:A in pivot range
    Click the * to say thanks.

  3. #3
    Registered User
    Join Date
    02-08-2019
    Location
    england
    MS-Off Ver
    excel for mac
    Posts
    4

    Re: Pivot Table Range

    So my column titles are date, source, turnover etc.

    When I have just done as you said I get a new blank column for some reason and also there is a blank row at the bottom.

    Neither of these appeared before.

  4. #4
    Forum Expert PaulM100's Avatar
    Join Date
    10-09-2017
    Location
    UK
    MS-Off Ver
    Office 365
    Posts
    2,108

    Re: Pivot Table Range

    Just remove them from the pivot filters as you don't need them. In this way you don't need a VBA solution and also, whenever you refresh the pivot table it will get refresh and contain the entire data. the blanks will be filtered out as well. Or use one of the following methods:
    https://excelchamps.com/blog/auto-up...t-table-range/
    I would recommend tables.

  5. #5
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Pivot Table Range

    you can use a Dynamic Named Range, e.g.:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    in the above it is assumed your date column is A (last data entry denotes last row), and your headings are in row 1, modify as appropriate.

    then modify your existing PT source range, via Change Source Data on ribbon, to be: _PTData

    as data is added to your source sheet the Pivot table, when refreshed, will expand / contract accordingly.

  6. #6
    Forum Expert Roel Jongman's Avatar
    Join Date
    03-28-2015
    Location
    Netherlands
    MS-Off Ver
    Office 365
    Posts
    1,483

    Re: Pivot Table Range

    I would suggest changing your data to an excel table and build the pivottable of that table. Tables will auto-expend when new data is added.
    that avoids selectiing whole columns and having to filter for blank values.

    Excel table explanation
    https://support.office.com/en-us/art...9-6c94334e492c

  7. #7
    Registered User
    Join Date
    02-08-2019
    Location
    england
    MS-Off Ver
    excel for mac
    Posts
    4

    Re: Pivot Table Range

    Thanks for your help. I'll look into those solutions and get back to you. Much appreciated.

  8. #8
    Registered User
    Join Date
    02-08-2019
    Location
    england
    MS-Off Ver
    excel for mac
    Posts
    4

    Re: Pivot Table Range

    Hi I have done that.

    Thanks that seems to work great.

    Now unfortunately when i group dates I can't collapse and expand the dates as i'd like. I have to into group and ungroup field everytime.

  9. #9
    Registered User
    Join Date
    02-16-2019
    Location
    canada
    MS-Off Ver
    excel
    Posts
    3

    Re: Pivot Table Range

    Hello,
    I have an assignment and I don't know how can I use a pivot table for the following questions.
    1- Average Length of Stay of these patients by CTAS (Registration to Time Pt Left ED)
    2- Percentage of CTAS 1-3 treated by Nurse Practitioner within 7 hours (Registration to Disposition (DISP))
    3- Percentage of CTAS 4-5 treated Nurse Practitioner within 4 hours (Registration to Disposition (DISP))
    Thanks for your help.

  10. #10
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Pivot Table Range

    Hello imp31 & Welcome to the Forum,

    First of all, please follow our forum rules and post your own thread. We do not allow the hijacking of another members thread.

    Second, we don't do homework. We can help you, but please show us in your own thread what you have tried so far.
    HTH
    Regards, Jeff

  11. #11
    Registered User
    Join Date
    02-16-2019
    Location
    canada
    MS-Off Ver
    excel
    Posts
    3

    Re: Pivot Table Range

    Sure, Thanks.

+ 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] Hewlp with pivot table range and table destination
    By maym in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-24-2017, 04:45 AM
  2. [SOLVED] Get Range last row and column for Pivot Table Range
    By Simone Fick in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-10-2017, 05:27 PM
  3. sumifs on a pivot table - compare range with range
    By pavlos in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-30-2013, 02:26 AM
  4. Replies: 4
    Last Post: 10-10-2012, 03:38 PM
  5. Print Range for Pivot Table Adjusting Range
    By mmicfinance in forum Excel General
    Replies: 0
    Last Post: 08-08-2012, 01:55 PM
  6. Replies: 5
    Last Post: 01-06-2012, 04:35 PM
  7. Return pivot table range...not the data table, the PIVOT TABLE!
    By Air_Cooled_Nut in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-26-2008, 01:07 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