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, 11 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
-
Windows 11 Insider Preview build 27871 released to Canary
by
joep517
13 hours, 56 minutes ago -
Windows 11 ad from Campaign Manager in Windows 10
by
Jim McKenna
11 hours, 17 minutes ago -
Small desktops
by
Susan Bradley
4 hours, 9 minutes ago -
Totally disable Bitlocker
by
CWBillow
12 hours, 18 minutes ago -
Phishers extract Millions from HMRC accounts..
by
Microfix
11 hours, 33 minutes ago -
Windows 10 22H2 Update today (5 June) says up-to-date but last was 2025-04
by
Alan_uk
1 day, 17 hours ago -
Thoughts on Malwarebytes Scam Guard for Mobile?
by
opti1
1 hour, 2 minutes ago -
Mystical Desktop
by
CWBillow
1 day, 21 hours ago -
Meta and Yandex secretly tracked billions of Android users
by
Alex5723
1 day, 2 hours ago -
MS-DEFCON 2: Do you need that update?
by
Susan Bradley
13 hours, 7 minutes ago -
CD/DVD drive is no longer recognized
by
WSCape Sand
2 days, 12 hours ago -
Windows 11 24H2 Default Apps stuck on Edge and Adobe Photoshop
by
MikeBravo
2 days, 15 hours ago -
North Face and Cartier customer data stolen in cyber attacks
by
Alex5723
2 days, 13 hours ago -
What is wrong with simple approach?
by
WSSpoke36
11 hours, 24 minutes ago -
Microsoft-Backed Builder.ai Set for Bankruptcy After Cash Seized
by
Alex5723
3 days ago -
Location, location, location
by
Susan Bradley
1 day, 15 hours ago -
Cannot get a task to run a restore point
by
CWBillow
3 days, 2 hours ago -
Frustrating search behavior with Outlook
by
MrJimPhelps
2 days, 16 hours ago -
June 2025 Office non-Security Updates
by
PKCano
3 days, 12 hours ago -
Secure Boot Update Fails after KB5058405 Installed
by
SteveIT
1 day, 15 hours ago -
Firefox Red Panda Fun Stuff
by
Lars220
3 days, 12 hours ago -
How start headers and page numbers on page 3?
by
Davidhs
3 days, 23 hours ago -
Attack on LexisNexis Risk Solutions exposes data on 300k +
by
Nibbled To Death By Ducks
3 days, 1 hour ago -
Windows 11 Insider Preview build 26200.5622 released to DEV
by
joep517
4 days, 7 hours ago -
Windows 11 Insider Preview build 26120.4230 (24H2) released to BETA
by
joep517
4 days, 7 hours ago -
MS Excel 2019 Now Prompts to Back Up With OneDrive
by
lmacri
3 days, 21 hours ago -
Firefox 139
by
Charlie
3 days, 14 hours ago -
Who knows what?
by
Will Fastie
2 days, 16 hours ago -
My top ten underappreciated features in Office
by
Peter Deegan
19 hours, 12 minutes ago -
WAU Manager — It’s your computer, you are in charge!
by
Deanna McElveen
5 hours, 6 minutes 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.