If I select the exact cells as the source range when
creating the pivot table, I'm able to do the grouping
properly.
If I hilite entire columns as the range when creating the
pivot table, the grouping will not work properly. If I
right click on the "Invoice Date" field and choose "Group
and Outline -> Group", I get an Excel error box
stating "Cannot group that selectoin".
I'd like create the pivot table by selecting columns for
the range so that range for the pivot table won't have to
be adjusted in the future should I add new rows of info.
Help???
Thanks,
Jeff
Use a defined name which uses a formula to dynamically set up the data range
Insert =>Name=>Define
name: Data1
refersto: =Offset(Sheet1!$A$1,0,0,countA(Sheet1!$A:$A),10)
this defines a column A:J down to the last filled row as the data area
(assumes no blanks in column A).
To check the definition for Data1, go to the name box and type Data1, then
hit enter. If set up properly, you data should be highlighted.
Use DATA1 as the source for your pivot table.
You will still need to refresh your table.
Regards,
Tom Ogilvy
"Jeff W" <jeffw...@home.com> wrote in message
news:045301c17752$fa7882f0$3aef2ecf@TKMSFTNGXA09...
So the range I want to pivot is blocked together at the
bottom of the spreadsheet with no blanks. There are,
however, blanks before this block all the way up to the
column titles (date, $$Total).
Any ideas?
Jeff
>.
>
So the range I want to pivot is blocked together at the
bottom of the spreadsheet with no blanks. There are,
however, blanks before this block all the way up to the
column titles (date, $$Total).
Any ideas?
Jeff
>-----Original Message-----
>.
>
Replace all your blanks in the date column with the number 0 (formatted as a
date this will show 00/01/1900 or equivalent).
HTH
Regards,
Ian
"Jeff W" <jeffw...@home.com> wrote in message
news:048101c1775c$91688fd0$3bef2ecf@TKMSFTNGXA10...
=OFFSET(Sheet1!$A$1,MIN(IF(Sheet1!$A$1:$A$100<>0,ROW(Sheet1!$A$1:$A$100)))-1
,0,COUNTA(Sheet1!$A$1:$A$100),10)
Use it in your defined name. (Data1)
Change the 100 in each case to the last row you think you will use (in the
future), but be conservative as the more rows you look at the longer it
takes to calculate.
Of course a pivot table requires that the headers be included, so when you
would sort, you would need to sort so the header row appears just above the
non-empty cells.
Regards,
Tom Ogilvy
"Jeff W" <jeffw...@home.com> wrote in message
news:048301c1775c$8be594e0$36ef2ecf@tkmsftngxa12...
Now if I add more "in" rows, they will show up in the
pivot table!
To cap it off, I need to also select added info in another
column... Let's say the range returned with the idea above
is a rectangle A1-C10 (based on the last filled cell in
column C-- C10). How do I also include the corresponding
data in column F, F1-F10?
Thanks,
Jeff W
>.
>
Name: DataF
refersto: =Offset(Sheet1!$A$1,0,5,countA(Sheet1!$A:$A),1)
So the range is offset 5 columns to the right (column %) and has the same
row count as A and is one column wide.
Regards,
Tom Ogilvy
"Jeff W" <jeffw...@home.com> wrote in message
news:0b5101c1781f$87c5efe0$36ef2ecf@tkmsftngxa12...
>.
>