Dynamic formula for Pivot Table

G

Guest

Hello,
I’m using Excel 2000. I’m trying to name a range for a dynamic formula to
be used in a pivot table. I found a very good tip on this site, but I can’t
get the “named range†to work. Here is what I've done:

I name the range by choosing Insert > Name > Define
I type my name “RRBB001†without the quotes.

In the Refers to box I type
=offset(data!$A$1,0,0,Counta(Data!$A:$A),7)

I click OK

Then a choose the pivot table and for the range I type “RRBB001â€, click Next

Here is where I get the error message “ Reference is not validâ€

However, when I go back into Insert > Name > Paste, the name prints and the
offset formula. Help is appreciated as always.
 
J

JHL

Roger
I tried that after your suggestion, but it still doesn't work for me. I get
the same error message.
 
D

Debra Dalgleish

Are you creating the pivot table in a different workbook?
If so, have the source data workbook open, and include the workbook name
in the reference, e.g.: OtherBook.xls!RRBB001
 
J

JHL

I've got this solved now. Thanks for the replies
Debra Dalgleish said:
Are you creating the pivot table in a different workbook?
If so, have the source data workbook open, and include the workbook name
in the reference, e.g.: OtherBook.xls!RRBB001
 
R

Roger Govier

Hi

For the benefit of others, could you say what you did and how you resolved
the problem?
 
G

Guest

I just did the same thing, so I think I know what resolved the problem. The
problem isn't with the pivot table. When defining the named range, I did a
cut 'n paste from the Contextures instructions, without changing the "data!"
part to the actual worksheet name. Since I didn't have a worksheet named
"data", the pivot table couldn't find the named range.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top