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
![]() |
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 |
-
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
-
Outdated Laptop
by
jdamkeene
4 hours, 55 minutes ago -
Updating Keepass2Android
by
CBFPD-Chief115
10 hours, 20 minutes ago -
Another big Microsoft layoff
by
Charlie
10 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
57 minutes ago -
May 2025 updates are out
by
Susan Bradley
10 hours, 24 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
16 hours, 4 minutes ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
16 hours, 5 minutes ago -
Drivers suggested via Windows Update
by
Tex265
15 hours, 56 minutes ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
13 hours, 40 minutes ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
22 hours, 56 minutes ago -
Apple releases 18.5
by
Susan Bradley
17 hours, 21 minutes ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
1 day ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
1 day ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
8 hours, 15 minutes ago -
No HP software folders
by
fpefpe
1 day, 8 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
6 hours ago -
Stay connected anywhere
by
Peter Deegan
1 day, 14 hours ago -
Copilot, under the table
by
Will Fastie
1 day, 5 hours ago -
The Windows experience
by
Will Fastie
1 day, 20 hours ago -
A tale of two operating systems
by
Susan Bradley
31 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
2 days, 1 hour ago -
Where’s the cache today?
by
Up2you2
2 days, 16 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
2 days, 9 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
1 day, 10 hours ago -
Blocking Search (on task bar) from going to web
by
HenryW
12 hours, 18 minutes ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
3 days, 10 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
3 days, 10 hours ago -
regarding april update and may update
by
heybengbeng
3 days, 11 hours ago -
MS Passkey
by
pmruzicka
2 days, 13 hours ago -
Can’t make Opera my default browser
by
bmeacham
3 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.