+ Reply to Thread
Results 1 to 8 of 8

Getting data from a cell into a comment or data validation text

  1. #1
    Registered User
    Join Date
    06-29-2010
    Location
    Portsmouth, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Getting data from a cell into a comment or data validation text

    Hi,
    I am designing a spreadsheet to calculate resistance and power from user input of voltage and current (a simple application of Ohm's Law).
    When the user enters the voltage and current, the sheet displays the resistance needed as a single resistor, two resistors in series, two resistors in parallel, three in series and three in parallel. The spreadsheet then picks the closest value from two lists of 'preffered values'.
    So far, so good. I now want to have a pop-up message appear either when the cell is selected, or when the mouse is over the cell, showing the actual current for the resistor from the preffered value list. I've made a table in a second sheet the calculates all the currents, but I cant find a way of getting those values into either a comment text, or a data validation text pop-up.
    Any help gratefully recieved!!

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Getting data from a cell into a comment or data validation text

    You won't be able to formulaically get anything into a Comment Box or DV help popup window. Both of those would require VBA and may be more plumbing than you want to add for something simple like this.

    I would recommend simply having those values appear in the cells next to the answers you're already getting showing this additional information for each option so it's all visible onscreen simply.
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    06-29-2010
    Location
    Portsmouth, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Getting data from a cell into a comment or data validation text

    Not what I wanted to hear
    Should I repost this in the programming forum?
    Thanks anyway

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Getting data from a cell into a comment or data validation text

    I'll move it there for you
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Getting data from a cell into a comment or data validation text

    Now that you're in with VBA, you'll need to provide a working example workbook. Don't dumb it down, if it's not your actual workbook, make it as close to the actual thing as possible.

    Click GO ADVANCED and use the paperclip icon to post up your workbook.

  6. #6
    Forum Contributor
    Join Date
    02-09-2010
    Location
    Constanta
    MS-Off Ver
    Excel 2007
    Posts
    128

    Re: Getting data from a cell into a comment or data validation text

    Not sure if this will help you.
    Asha

  7. #7
    Registered User
    Join Date
    06-29-2010
    Location
    Portsmouth, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Getting data from a cell into a comment or data validation text

    Hi Asha, there are some very interesting nuggets of information in that thread, thank you.
    I'm still kicking some ideas around, so I'll post the workbook later.
    Thanks to all

  8. #8
    Registered User
    Join Date
    06-29-2010
    Location
    Portsmouth, UK
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Getting data from a cell into a comment or data validation text

    Think I've sorted it. I still want to add a bit more functionality to it, i.e. using dissimilar values of resistor, and taking into account the tolerance of the resistor values (5 or 10%)
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1