+ Reply to Thread
Results 1 to 3 of 3

function for random cell selection in a chart

Hybrid View

  1. #1
    Registered User
    Join Date
    03-10-2011
    Location
    Carrick, NI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Cool function for random cell selection in a chart

    Hi -- if this is possible within excel 2003 which function should I use?
    To have several cells "interdependent" so that a value inserted in any one cell gives the corresponding values in all others -- as in a conversion chart.
    If not possible in excel, what programme would do this?
    Last edited by huckfinn; 03-11-2011 at 01:07 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,832

    Re: function for random cell selection in a chart

    Welcome to the Forum!

    If you have two formulas that refer to each other, then that creates a circular references, which Excel tolerates but generally believes to be an error. If you then type a value into one of them, the other one will show a good value but typing in a value wipes out the formula. So you can't do what you want to do just using formulas.

    The solution requires coding in VBA, Excel's macro language. It's kind of a big topic to provide a tutorial here. If you could show exactly what you want to do then perhaps I (or someone else) could write the VBA for you. I did one like this in another thread that you may find instructive.

    http://www.excelforum.com/excel-gene...roll-bars.html

    Here, there is a right triangle with one fixed side and the user can either input the length of another side or the angle. The code detects which one changed, and the calculates the other one.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    03-10-2011
    Location
    Carrick, NI
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: function for random cell selection in a chart

    Many thanks *jazzer -- I'm trying to develop my excel (& computer) ability, so having the "problem" done for me was not my goal, but your advice and linked example have pointed the way! Next - a "starter" VBA tutorial. So -- Solved. Thanks again.

+ 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