• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
    • Password Reset
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Formula Results in Comments box|VBA & Macros|Excel Forum|My Online Training Hub

You are here: Home / Formula Results in Comments box|VBA & Macros|Excel Forum|My Online Training Hub
Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search|Last Search Results
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumVBA & MacrosFormula Results in Comments box
sp_PrintTopic sp_TopicIcon
Formula Results in Comments box
Avatar
Mark Parry

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 24, 2013
sp_UserOfflineSmall Offline
1
January 28, 2018 - 3:53 am
sp_Permalink sp_Print

Hi, Is there a way of dynamically displaying the reults of a formula in a comments/text box?  In the attached spreadsheet, I have a table of people and their test assessment levels in the two adjacent columns.  The range H4 to J6 is a count of the numbers of people at an intersection between the result they achieved in test 1 and test 2.  E.g. cell H4 is the number of people who were "Above" in both tests and J5 are the names of those who "Attained" in the first test and were "Below" in the second.  In the comments boxes are the names of those individuals which I would like to change dynamically as and when the test results change .  I want to be able to have the same functionality in all the yellow highlighted cells.  Thanks for your help and please let me know if you would like any further information.

Cheers,

Mark

sp_AnswersTopicSeeAnswer See Answer
Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
2
January 29, 2018 - 2:44 pm
sp_Permalink sp_Print

Hi Mark

I don't think you can display the result of a formula in a Comment. You will need VBA for that.

What you request is complex and difficult to do as you need to (1) get the required names and then (2) put the result into the comments dynamically.

The best I can come up with is the attached. The range is hard-coded and it uses a worksheet change event.

Any changes in the Result range will trigger the update. Not sure if it will work for other scenarios.

Good luck.

Sunny

sp_AnswersTopicAnswer
Answers Post
Avatar
Mark Parry

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 24, 2013
sp_UserOfflineSmall Offline
3
January 30, 2018 - 3:57 am
sp_Permalink sp_Print

Thanks, Sunny.  I can certainly work with this.  If anybody out there has a VBA solution.  I would be very interested to see it. 

Many thanks

 

Mark

Avatar
SunnyKow
Puchong, Malaysia

VIP
Members


Trusted Members
Level 8
Forum Posts: 1432
Member Since:
June 25, 2016
sp_UserOfflineSmall Offline
4
January 30, 2018 - 8:58 am
sp_Permalink sp_Print

Hi Mark

My solution is in VBA.

If you don't want to use the Worksheet Change event, you can insert a button on the worksheet and attach my macro to it.

Sunny

Avatar
Mark Parry

Active Member
Members
Level 0
Forum Posts: 3
Member Since:
July 24, 2013
sp_UserOfflineSmall Offline
5
January 31, 2018 - 12:05 am
sp_Permalink sp_Print

Hi Sunny,

So it is.  My mistake and thanks once again for your help.

 

All the best,

 

Mark

Avatar
Madi
India
Member
Members
Level 0
Forum Posts: 63
Member Since:
December 8, 2017
sp_UserOfflineSmall Offline
6
January 31, 2018 - 5:22 pm
sp_Permalink sp_Print sp_EditHistory

you amazing SunnySmile... today i learn one more new option.

Thanks to all online training hub & Lynda

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Aislinn Mellamphy, Lynnette Altomari, Jessica Stewart, Roy Lutke, Dieneba NDIAYE, Darrell Hodge, Tucker Oakley, Natasha Smith
Guest(s) 10
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 870
Purfleet: 412
Frans Visser: 346
David_Ng: 306
lea cohen: 219
A.Maurizio: 202
Jessica Stewart: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Sopi Yuniarti
sandra parker
LAFONSO HERNANDEZ
Hayden Hao
Angela chen
Sean Moore
John Chisholm
vexokeb sdfg
John Jack
Malcolm Toy
Forum Stats:
Groups: 3
Forums: 24
Topics: 6214
Posts: 27243

 

Member Stats:
Guest Posters: 49
Members: 31894
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.