In Excel 2000 I have a Pivot Table with source data that is updated weekly. I would like to have the new data in the source list updated in my current Pivot Table. How can I do this?
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Excel 2000 Pivot Table Appends
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Excel 2000 Pivot Table Appends
- This topic has 8 replies, 4 voices, and was last updated 24 years ago.
AuthorTopicWSBillSutterfield
AskWoody LoungerMarch 12, 2001 at 2:33 pm #353821Viewing 1 reply threadAuthorReplies-
WSAndrew Cronnolly
AskWoody LoungerMarch 12, 2001 at 3:11 pm #518456My best approach to this is to name your data source range as Database. When it is updated ensure that the new Data is included in that range.
If your pivot table is pointed at Database for the data source, all you need do then is select Refresh Data on the Pivot Table toolbar (it’s the exclamation symbol, ! ).
The table should update with the new data.
-
WSBillSutterfield
AskWoody Lounger -
WSepic60sman
AskWoody LoungerMarch 16, 2001 at 11:24 am #519167I creat a named range that expands and contracts to contain additional or less rows of data. To do this enter the following into the refers to box at the bottom of the ISERT,NAME,DEFINE Dialog Box:
=offset($A$1,rowsdown,columnsRight,counta($D:$D)-1,width)
where:
rowsdown and columnsRight are used to locate the upper left corner of the data table (substitute numbers for these) and similarly, “width” specifies the number of columns in your data table. Last, counta($D:$D)-1 counts the number of rows in the data table (assuming that column D is one of the columns and that you have one row used for a header.
Example: Data begins in cell A1 and has 10 columns:
=offset($A$1,0,0,counta($D:$D)-1,10).
Last, you enter the name you gave this range in as the Pivot Table range and you are set.
Stephen -
WSBillSutterfield
AskWoody Lounger -
WSMichael Evans
AskWoody LoungerMarch 18, 2001 at 9:11 pm #519337I can see a potential problem here as you are looking at a column in the body of your data, which might contain blank cells. CountA counts only the data containing cells, so your defined range might be some rows short of the whole database. (PT’s still work OK if there are some blank cells in the data).
The following, very similar, solution was given by DanielD Maramba in the old Lounge:
Datarange = Offset($A$1,0,0,CountA(Offset($A$1,0,0,9999,1)),5).
If you have more than 9999 rows your need to increase this figure.
The safest way to find the last row in a sheet is to go to the end row (65536 in XL97, 2000?) and then come up to the last used row above this, cannot see any reason why this could not be incorporated in the datarange definition.
-
WSepic60sman
AskWoody LoungerMarch 18, 2001 at 9:55 pm #519341You are certainly correct about the COUNTA function failing to count blank cells in the data. Maybe, I should have explained this. I aviod the problem by always using a field that never has blanks or which always has the same number of blanks like the column with my row names. Once you nail this, you just have to adjust the constant you subtract at the end of the offset function.
But your (or Maramba’s) alternative may be better. However, I don’t quite understand why CountA(Offset($A$1,0,0,9999,1)) wouldn’t work the same way as counta($A$1:A9999), in which case there would be no advantage to using the “OFFSET” function. When I am in doubt as to whether or not the Range covers all my data, I simply call up INSERT, NAME, DEFINE and click on the equation. This immediately outlines the data with dashes. Then I simply Scroll down to the bottom of the table. Also, if in dou is always easy to check on the existance of blank cells in the column one chooses. -
WSMichael Evans
AskWoody LoungerMarch 26, 2001 at 4:11 am #520229Agreed Stephen, I had never used the formula so I had not looked at it critically.
Since XL spits the dummy if you try to make a PT with a column with no heading, counting the number of non-blank cells in Row 1 will always be a valid way of determining the number of columns. The easiest way of doing this is COUNTA($1:$1). So if you make sure there are no blanks in Column A the following should define the datarange alright:
Datarange = OFFSET($A$1,0,0,COUNTA($A:$A),COUNTA($1:$1)
Defining data ranges if there may be blank rows present is a bit of a problem, the following solution is not terribly elegant but I have not been able to make it fail yet.
Start your data range in cell B1. In cell A1 put the following formula:
=IF(COUNTA(B1:IV1)>0,ROW(),0)
fill down to the end of Column A. Every row with an entry now has its Row number in Column A. All other rows have 0 in Column A. Now define the datarange:
=OFFSET(Sheet1!$B$1,0,0,(MAX(Sheet1!$A:$A)),COUNTA(Sheet1!$B$1:$IV$1))
Of course if you have other data on your sheet, in rows not used in your data range, you will have trouble. This includes your PT, so make sure you do not put it on the same sheet your data is on!
-
-
-
-
WSMichael Evans
AskWoody LoungerMarch 12, 2001 at 3:11 pm #518457This is based on XL97 as I don’t have XL2000.
If your updated data are in the same range as your old data just click the Refresh button.
If they are in a different range, call up the PT Wizard, go back to the data source page, enter the new range, and click the finish button.
If you are just adding more data to the existing data you can automatically add this to your PT using the offset function in the data source page.Viewing 1 reply thread -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
4 hours, 16 minutes ago -
Make a Windows 11 Local Account Passwordless
by
Drcard:))
3 hours, 49 minutes ago -
Ubuntu 25.04 (Plucky Puffin)
by
Alex5723
7 hours, 25 minutes ago -
24H2 fixed??
by
CWBillow
10 hours, 6 minutes ago -
Uninstalr Updates
by
jv16
12 hours, 34 minutes ago -
Apple zero days for April
by
Susan Bradley
17 hours, 58 minutes ago -
CVE program gets last-minute funding from CISA – and maybe a new home
by
Nibbled To Death By Ducks
23 hours, 29 minutes ago -
Whistleblower describes DOGE IT dept rumpus at America’s labor watchdog
by
Nibbled To Death By Ducks
1 day, 11 hours ago -
Seeing BSOD’s on 24H2?
by
Susan Bradley
18 hours, 13 minutes ago -
TUT For Private Llama LLM, Local Installation and Isolated from the Internet.
by
bbearren
1 day, 1 hour ago -
Upgrade from Windows 10 to 11
by
Holdsworth8
1 day, 19 hours ago -
Microsoft : AI-powered deception: Emerging fraud threats and countermeasures
by
Alex5723
1 day, 22 hours ago -
0patch
by
WSjcgc50
23 hours, 47 minutes ago -
Devices might encounter blue screen exception with the recent Windows updates
by
Susan Bradley
1 day, 16 hours ago -
Windows 11 Insider Preview Build 22631.5261 (23H2) released to Release Preview
by
joep517
2 days, 1 hour ago -
Problem opening image attachments
by
RobertG
2 days, 3 hours ago -
advice for setting up a new windows computer
by
routtco1001
2 days, 18 hours ago -
It’s Identity Theft Day!
by
Susan Bradley
1 day, 22 hours ago -
Android 15 require minimum 32GB of storage
by
Alex5723
2 days, 22 hours ago -
Mac Mini 2018, iPhone 6s 2015 Are Now Vintage
by
Alex5723
2 days, 23 hours ago -
Hertz says hackers stole customer credit card and driver’s license data
by
Alex5723
2 days, 23 hours ago -
Firefox became sluggish
by
Rick Corbett
15 hours, 55 minutes ago -
Windows 10 Build 19045.5794 (22H2) to Release Preview Channel
by
joep517
3 days, 3 hours ago -
Windows 11 Insider Preview Build 22635.5235 (23H2) released to BETA
by
joep517
3 days, 4 hours ago -
A Funny Thing Happened on the Way to the Forum
by
bbearren
2 days, 1 hour ago -
Download speeds only 0.3Mbps after 24H2 upgrade on WiFi and Ethernet
by
John
6 hours, 21 minutes ago -
T-Mobile 5G Wireless Internet
by
WSmmi16
2 days, 1 hour ago -
Clock missing above calendar in Windows 10
by
WSCape Sand
3 hours, 20 minutes ago -
Formula to Calculate Q1, Q2, Q3, or Q4 of the Year?
by
WSJon5
3 days, 18 hours ago -
The time has come for AI-generated art
by
Catherine Barrett
2 days, 22 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.