I have a spreadsheet that contains 2 pages. Page1 has figures, Page 2 has a chart based on page 1 figures, and takes its charting information from a calculated rangeof numbers instead of a set of cells. I want to be able to do a filter, and then rechart based on the filtered information. When i try to refresh, or recalculate, the chart retains the information from the original full sheet. Is there a way to do this? If needed, i can post a copy of the spreadsheet. Thanks in advance for any help
![]() |
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 |
-
Refresh chart (2002)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Refresh chart (2002)
- This topic has 10 replies, 3 voices, and was last updated 22 years, 4 months ago.
Viewing 0 reply threadsAuthorReplies-
WSJim Cone
AskWoody Lounger -
WSramrod
AskWoody LoungerJanuary 8, 2003 at 11:44 pm #643681 -
WSpieterse
AskWoody LoungerJanuary 9, 2003 at 5:57 am #643733Hi,
I see potential problems with your formulas on sheet Rentals.
As it is now, you just count checking only against the months. Thus your function counts all Januaries for all Years, in stead of just for e.g. 2002.
I would suggest putting a few columns alongside the filtered data:
– OpenMonth with the formula =Month(E2)
– CloseMonth with the formula =Month(F2)
– OpenYear with the formula =Year(E2)
– CloseYear with the formula =Year(F2)Now to have an updating chart:
– Include those columns in the filter area
– base the chart on the filtered area
– change the filter criteria….Or alternatively, use a pivot chart (Data, pivot table and Pivotchart report)
-
WSramrod
AskWoody Lounger -
WSpieterse
AskWoody LoungerJanuary 10, 2003 at 6:05 am #644213I’m unable to attach files to messages.
What I meant was:
– add the columns I already suggested to the sheet that contains the source data
– autofilter on all columns (including the new ones)
– create a new chart using the columns in the source data sheet
– set filter options and your chart should reflect them. -
WSramrod
AskWoody LoungerJanuary 10, 2003 at 8:57 pm #644389filtering is not the problem. I need to have the chart reflect numbers of orders opened and closed during any month / year. The chart gets that information from the table? on the summary page columns s,t,u. This information does not change when I use any filter. It maintains the information from the whole sheet.
Attached is the file I am working with -
WSpieterse
AskWoody LoungerJanuary 13, 2003 at 8:35 am #644730OK. Here is the solution (I hope).
Define this name (Insert, name, define):
Name: Visible
Refersto:
=GET.CELL(17,INDIRECT(“rc”,False))+0*NOW()Now I added a column (J) to the right of your data called “Visible”
in cell J2 I entered this formula:
=Visible
(copied down to match the rows of data)I changed the formulas in columns P and Q to:
=IF(OR(E2=0,J2=0),0,MONTH(E2))
=IF(OR(F2=0,J2=0),0,MONTH(F3))
(copied down to match the rows of data)Now do a filter and see what happens to your chart.
-
WSramrod
AskWoody Lounger -
WSpieterse
AskWoody LoungerJanuary 13, 2003 at 5:57 pm #644887=GET.CELL(17,INDIRECT(“rc”,False))+0*NOW()
Here I’ve used an old trick where ANcient XL4 macro functions are used in a defined name.
The function GET.CELL(17,address) returns the rowheight of the cell denoted by address. (so in principle I should have named the formula RowHeight iso Visible)
INDIRECT(“rc”,False) returns the address of the cell that contains the reference to the name. So if cell B1 contains =Visible, INDIRECT(“rc”,False) yields B1:
=GET.CELL(17,B1) and thus one gets the rowheight of row 1, which is set to zero when the row is filtered out.The 0*Now() part is a trick to force the name to be recalculated whenever XL does a calculation.
Note, that XL does not automatically recalc when you change filter settings. To force a recalc, place this formula anywhere convenient:
=SUBTOTAL(1,A1:A2000)
(this formula averages just the visible cells in the filtered range and forces a recalc on change of the filter) -
WSramrod
AskWoody Lounger
-
-
-
-
Viewing 0 reply threads -

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
-
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 hours, 31 minutes ago -
AI slop
by
Susan Bradley
2 hours, 41 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
4 hours, 47 minutes ago -
Two blank icons
by
CR2
11 hours, 17 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
13 hours, 41 minutes ago -
End of 10
by
Alex5723
16 hours, 22 minutes ago -
End Of 10 : Move to Linux
by
Alex5723
16 hours, 51 minutes ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
13 hours, 20 minutes ago -
test post
by
gtd12345
22 hours, 23 minutes ago -
Privacy and the Real ID
by
Susan Bradley
12 hours, 30 minutes ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
4 hours, 36 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 2 hours ago -
Upgrading from Win 10
by
WSjcgc50
4 hours, 6 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
21 hours, 50 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
1 day, 18 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 6 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
1 day, 20 hours ago -
Are manuals extinct?
by
Susan Bradley
7 hours, 50 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 5 hours ago -
Network Issue
by
Casey H
1 day, 16 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
2 days, 17 hours ago -
May 2025 Office non-Security updates
by
PKCano
2 days, 17 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
2 days, 19 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
1 day, 20 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
2 days, 22 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
2 days, 22 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 5 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
1 day, 21 hours ago -
Asking Again here (New User and Fast change only backups)
by
thymej
3 days, 16 hours ago -
How much I spent on the Mac mini
by
Will Fastie
1 day 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.