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
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
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
-
KB5058379 / KB 5061768 Failures
by
crown
2 hours, 59 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
5 hours, 39 minutes ago -
At last – installation of 24H2
by
Botswana12
6 hours, 23 minutes ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
1 hour, 38 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
18 hours, 35 minutes ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
11 hours, 55 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
1 day, 7 hours ago -
Another test post
by
gtd12345
1 day, 8 hours ago -
Connect to someone else computer
by
wadeer
1 day, 2 hours ago -
Limit on User names?
by
CWBillow
1 day, 5 hours ago -
Choose the right apps for traveling
by
Peter Deegan
19 hours, 35 minutes ago -
BitLocker rears its head
by
Susan Bradley
3 hours, 36 minutes ago -
Who are you? (2025 edition)
by
Will Fastie
2 hours, 32 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
21 hours, 57 minutes ago -
A smarter, simpler Firefox address bar
by
Alex5723
1 day, 18 hours ago -
Woody
by
Scott
2 days, 3 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
3 hours, 12 minutes ago -
GeForce RTX 5060 in certain motherboards could experience blank screens
by
Alex5723
2 days, 18 hours ago -
MS Office 365 Home on MAC
by
MickIver
2 days, 11 hours ago -
Google’s Veo3 video generator. Before you ask: yes, everything is AI here
by
Alex5723
3 days, 8 hours ago -
Flash Drive Eject Error for Still In Use
by
J9438
2 hours, 57 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
4 days, 3 hours ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
4 days, 3 hours ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
3 days, 6 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
3 days, 7 hours ago -
Login screen icon
by
CWBillow
2 days, 21 hours ago -
AI coming to everything
by
Susan Bradley
12 hours, 25 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
4 days, 18 hours ago -
No Screen TurnOff???
by
CWBillow
4 days, 19 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
4 days, 19 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.