+ Reply to Thread
Results 1 to 2 of 2

Dynamic Named Range From Pivot Table

  1. #1
    Registered User
    Join Date
    05-01-2020
    Location
    South Africa
    MS-Off Ver
    2016 Home and business
    Posts
    1

    Question Dynamic Named Range From Pivot Table

    Hi,
    want to create a dependant dropdown lists from the pivot table For categories and products.

    How do i create a dynamic range that expand when ever categories is added?

    =OFFSET(Sheet1!$A$2,1,0,COUNTA(Sheet1!$A3:$A200),1) is not returning the correct range

    Any Sugestions?
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Dynamic Named Range From Pivot Table

    As far as I know you cannot create a Named Range from a Pivot, but I have a nice workaround for you:
    a combination of the OFFSET function and the AGGREGATE function.
    the last one in column "J":
    Please Login or Register  to view this content.
    and the OFFSET in the Named Range:
    Please Login or Register  to view this content.
    Cheers
    Erwin
    Attached Files Attached Files
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

+ 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] Dynamic Named Range instead of Table for data transfer to userform listbox
    By rakotonirinas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-22-2019, 05:39 PM
  2. [SOLVED] Named range and reference to one cell within dynamic table
    By jaryszek in forum Excel General
    Replies: 9
    Last Post: 03-22-2018, 07:04 AM
  3. Dynamic Named Range based on Pivot Table for MULTIPLE COLUMNS
    By Pho6 in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 08-29-2014, 02:04 PM
  4. [SOLVED] Dynamic Named Range based on Pivot Table
    By Pho6 in forum Excel Charting & Pivots
    Replies: 11
    Last Post: 08-27-2014, 01:53 PM
  5. Combobox addition to Rowsource in dynamic named range corrupting table
    By BFD in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2014, 11:03 PM
  6. Dynamic Named Range and Pivot Tables - Blank Cells
    By nathanB in forum Excel General
    Replies: 1
    Last Post: 11-29-2012, 09:11 AM
  7. Replies: 1
    Last Post: 12-16-2011, 08:08 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