Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Cheltenham, Gloucestershire, England
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    dynamic named ranges (2000)

    As I want to create a pivot table where the rows may grow or decrease. I have created a range called DynamicRange and have typed the following in the refers to box

    =OFFSET(Query1!$A$1,0,0,COUNTA(query1!$A:$A),14)

    My first heading starts in A1, I want the heading included and my columns = 14.

    When I try to use this range name in a pivot table it tells me I need more than one row? My actual data at present is about 2145 rows deep - should I have typed anything different in my formula?

    Thanks

  2. #2
    Gold Lounger
    Join Date
    Feb 2001
    Location
    Dublin, Ireland, Republic of
    Posts
    2,697
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Re: dynamic named ranges (2000)

    Your expression defining the range name looks Ok and should work.

    Are you sure row 2 has data included ?

    Andrew C

  3. #3
    3 Star Lounger
    Join Date
    Mar 2001
    Location
    Cheltenham, Gloucestershire, England
    Posts
    214
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: dynamic named ranges (2000)

    I think the problem was not that I did not have information in row 2 - I found column 11 which should have had a calculation in it was empty (it had a heading but no data beneath).

    Added my formula and allseems to be well now. Thanks for your help - when trying a formula one has not tried before it is sometimes difficult to see the wood for the trees - thank you for confirming I was going in the right direction!!

    Cheers

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •