+ Reply to Thread
Results 1 to 5 of 5

Validate result in a calculated cell

  1. #1
    Registered User
    Join Date
    11-14-2008
    Location
    Brooklyn, NY, USA
    Posts
    53

    Question Validate result in a calculated cell

    Hi All,
    I've been struggling with this for a little while today and quite can't seem to figure it out. I have a range --- A6:A28 --- where a user will enter a percentage. The total should add up to a 100%, which is in cell A30.

    My understanding is that a need a worksheet_calculate function to tell users to revise their entries if the results in a cell A30 are either less than or more than 100%.

    This is the simple, non-working procedure I have now:

    Please Login or Register  to view this content.
    Any ideas? I've attached the worksheet.

    Thanks in advance for the help
    Attached Files Attached Files
    Last edited by judasdac; 08-12-2009 at 11:33 AM.

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Validate result in a calculated cell

    are you sure you mean A30...

  3. #3
    Registered User
    Join Date
    11-14-2008
    Location
    Brooklyn, NY, USA
    Posts
    53

    Re: Validate result in a calculated cell

    LOL!!! Well that was pretty silly. Thanks for the heads up :-)

    One quick question: Any advice on the best way to call this sub? I'm thinking of creating a "calculate" button for the users, but don't know if that's really the best way.

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Validate result in a calculated cell

    If the file is set to Auto Calculate the code will be invoked automatically whenever the sheet is recalculated... for info. on calculation why / when it occurs see: http://www.decisionmodels.com/calcsecrets.htm

  5. #5
    Registered User
    Join Date
    11-14-2008
    Location
    Brooklyn, NY, USA
    Posts
    53

    Re: Validate result in a calculated cell

    Thanks for the link and the help. This is great stuff. Very informative

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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