+ Reply to Thread
Results 1 to 6 of 6

Dynamic range formula not counting completely

Hybrid View

  1. #1
    Registered User
    Join Date
    11-06-2007
    Posts
    63

    Dynamic range formula not counting completely

    I am trying to make a dynamic range for a pivot table. I use the following formula to make the range dynamic. This has worked in the past but I can't get it to work this time. It only counts down to row 6776 I am not even sure where to start the troubleshooting.

    Any suggestions?

    =OFFSET(Data!$A$1,0,0,COUNTA(Data!$A:$A),13)

    A picture is attached.

    Thanks for your help.
    Attached Images Attached Images

  2. #2
    Forum Expert oldchippy's Avatar
    Join Date
    02-14-2005
    Location
    Worcester, UK
    MS-Off Ver
    Excel 2007 (Home)
    Posts
    7,097
    Hi,

    Couldn't see your picture, but may be this link will help?

    http://www.contextures.com/xlPivot01.html
    oldchippy
    -------------


    Blessed are those who can give without remembering and take without forgetting

    If you are happy with the help you have received, please click the <--- STAR icon on the left - Thanks.

    Click here >>> Top Excel links for beginners to Experts

    Forum Rules >>>Please don't forget to read these

  3. #3
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Can't see your picture. Only assume you have blanks in Col A (Won't work with blanks)

    HTH

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  4. #4
    Registered User
    Join Date
    11-06-2007
    Posts
    63
    I attached another picture.

    Blanks - That is what I thought but I can't find any blanks. I maybe the cells are formatted wrong but I can't seem to find it.

    I can't attach the worksheet but I could send a few rows/columns if that would help.

    It usually isn't this hard.

    -Todd
    Attached Images Attached Images

  5. #5
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Without seeing the file.

    1). Is the Sheet name called Data.
    2). In the pivot table wizard is your named range show in the area.
    3). To check for blanks. Select Col A > Press F5 > special > Blanks

    As suggested by Chippy I would re-read the link on Debra's site

    VBA Noob

  6. #6
    Registered User
    Join Date
    11-06-2007
    Posts
    63
    I found it. It had nothing to do with cell 6776. There were a bunch of blanks early on in the column A so the count was short, leaving the named range short.

    I missed an easy one. Sometimes the little things are what really trips you up...

    Thanks for your help guys.

    Cheers,
    Todd

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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