+ Reply to Thread
Results 1 to 7 of 7

Remove blank rows in pivot

  1. #1
    Registered User
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    68

    Remove blank rows in pivot

    HI
    I have an excel file when apply pivot, often appear blank rows . I do not want has any blank row with macro or .....
    thank from help.
    Attached Files Attached Files

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Remove blank rows in pivot

    Change your data source to the actual range you are using, instead of the entire columns B:D. The performance will be greatly improved, and the blank rows will disappear.

    You could use a dynamic named range as your data source - but much easier would be simply formatting your source data as a table. Why are you copying and pasting from Sheet1 to Sheet2? You can just use Sheet1 as your data source, and apply filters.

    See corrected workbook attached.
    Attached Files Attached Files
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    68

    Re: Remove blank rows in pivot

    I could not change data source and filter pivot table because a nother sheet read data from pivot table.(first I filter the data in sheet1 then copy a:a,c:c then past in sheet 2 next in header data refresh).
    thank

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Remove blank rows in pivot

    That makes no sense. It doesn't matter if the pivot table is referred to elsewhere.

    Does your sample workbook accurately mirror your real requirement? Does the example workbook I attached not work for you?

  5. #5
    Registered User
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    68

    Re: Remove blank rows in pivot

    That is Special file . i want remove blank rows in pivot table, Previous file I sent Is Correct and That's part of my file sample.

  6. #6
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Remove blank rows in pivot

    So, what's preventing you from changing your pivot table source to the actual data range, instead of entire columns, as I suggested?

  7. #7
    Registered User
    Join Date
    07-18-2019
    Location
    iran
    MS-Off Ver
    2016
    Posts
    68

    Re: Remove blank rows in pivot

    Hello
    solved
    Attached Files Attached Files

+ 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. VBA Remove Blank on Pivot table
    By kirana2014 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-17-2017, 03:41 AM
  2. Remove Pivot Table fields with blank rows
    By Ramtrap in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-14-2017, 02:38 PM
  3. How to remove blank rows when using 'Difference to' in a Pivot
    By AndrewHowarth in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 09-30-2015, 03:48 AM
  4. Remove (blank) from Pivot Chart
    By tghemy in forum Excel General
    Replies: 1
    Last Post: 03-18-2015, 11:18 AM
  5. [SOLVED] Remove blank rows that aren't really blank (contain unused formulas)
    By painterartist in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-02-2014, 02:01 PM
  6. How to remove blank rows, then insert blank row conditionally, PLUS error proof
    By GTS115 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-05-2009, 11:39 AM
  7. [SOLVED] How do I remove the (blank) from an excel pivot table?
    By MarkfromAZ in forum Excel General
    Replies: 2
    Last Post: 10-14-2005, 09:05 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