Column A in a list of survey results is Products.
Column B is users’ assessments of ‘quality’ of that product, scale 1 to 5 or blank (= don’t know or can’t be asked).
In cells elsewhere I want, for each of product1, product2 etc the Max, Min and Average score. [Ignore the blanks.]
If someone can start me on any one of these, I think I can work out the others.
Thanks in advance.
JRR
![]() |
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 |
-
analyse survey (array formula???)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » analyse survey (array formula???)
- This topic has 3 replies, 2 voices, and was last updated 15 years, 10 months ago.
AuthorTopicWSitshimathome
AskWoody LoungerJuly 12, 2009 at 2:58 pm #461154Viewing 0 reply threadsAuthorReplies-
WSHansV
AskWoody LoungerJuly 12, 2009 at 3:13 pm #1168798Column A in a list of survey results is Products.
Column B is users’ assessments of ‘quality’ of that product, scale 1 to 5 or blank (= don’t know or can’t be asked).
In cells elsewhere I want, for each of product1, product2 etc the Max, Min and Average score. [Ignore the blanks.]
If someone can start me on any one of these, I think I can work out the others.
Thanks in advance.
JRRThe easiest solution is a pivot table.
A pivot table requires that the source table contains field names (column headers) in its first row. If you don’t have those, insert them before proceeding.
Click in any non-blank cell in the table.
Select Data | Pivot Table and Pivot Chart Report…
Excel should select the entire table.
Click Next, then Next again.
Click Layout…
Drag the column A header to the Row area.
Drag the column B header to the Data area.
Double click the button in the data area.
Select Max as summary function.
Drag the column B header to the Data area (yes, again!)
Double click the button in the data area.
Select Min as summary function.
Repeat another time, this time selecting Average as summary function.
Click OK.
You can choose whether you want the pivot table to be created on a new worksheet or on an existing worksheet (and specify where it should be).
Click Finish.Note: pivot tables aren’t updated automatically if the source data change. To update, click in the pivot table and click the Refresh Data button on the Pivot Table toolbar (the exclamation mark).
-
WSitshimathome
AskWoody LoungerJuly 12, 2009 at 3:49 pm #1168799cool, Hans.
Is there a way using an ‘event’ (eg any change to the results list) to provoke the pivot table to be refreshed?Note: pivot tables aren’t updated automatically if the source data change. To update, click in the pivot table and click the Refresh Data button on the Pivot Table toolbar (the exclamation mark).
[/quote] -
WSHansV
AskWoody LoungerJuly 12, 2009 at 3:57 pm #1168801Yes, using the Worksheet_Change event. Assuming that the pivot table is on the same worksheet as the source data:
– Right-click the sheet tab.
– Select View Code from the popup menu.
– Enter or copy/paste the following code into the module:Code:Private Sub Worksheet_Change(ByVal Target As Range) If Not Intersect(Range("A:B"), Target) Is Nothing Then Application.EnableEvents = False Me.PivotTables(1).RefreshTable Application.EnableEvents = True End If End Sub
– Switch back to Excel.
-
-
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
3 hours, 30 minutes ago -
Windows 10 23H2 Good to Update to ?
by
jkitc
6 hours, 9 minutes ago -
At last – installation of 24H2
by
Botswana12
6 hours, 53 minutes ago -
MS-DEFCON 4: As good as it gets
by
Susan Bradley
2 hours, 8 minutes ago -
RyTuneX optimize Windows 10/11 tool
by
Alex5723
19 hours, 5 minutes ago -
Can I just update from Win11 22H2 to 23H2?
by
Dave Easley
12 hours, 25 minutes ago -
Limited account permission error related to Windows Update
by
gtd12345
1 day, 8 hours ago -
Another test post
by
gtd12345
1 day, 8 hours ago -
Connect to someone else computer
by
wadeer
1 day, 3 hours ago -
Limit on User names?
by
CWBillow
1 day, 6 hours ago -
Choose the right apps for traveling
by
Peter Deegan
20 hours, 5 minutes ago -
BitLocker rears its head
by
Susan Bradley
4 hours, 6 minutes ago -
Who are you? (2025 edition)
by
Will Fastie
3 hours, 3 minutes ago -
AskWoody at the computer museum, round two
by
Will Fastie
22 hours, 27 minutes ago -
A smarter, simpler Firefox address bar
by
Alex5723
1 day, 18 hours ago -
Woody
by
Scott
2 days, 4 hours ago -
24H2 has suppressed my favoured spider
by
Davidhs
3 hours, 42 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, 12 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
3 hours, 27 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, 7 hours ago -
Migrate off MS365 to Apple Products
by
dmt_3904
3 days, 7 hours ago -
Login screen icon
by
CWBillow
2 days, 22 hours ago -
AI coming to everything
by
Susan Bradley
12 hours, 55 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
4 days, 19 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, 20 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.