+ Reply to Thread
Results 1 to 2 of 2

Pulling my hair out for a solution! Excel Gurus, haaalp!

  1. #1
    Registered User
    Join Date
    04-11-2011
    Location
    sec
    MS-Off Ver
    Excel 2003
    Posts
    1

    Question Pulling my hair out for a solution! Excel Gurus, haaalp!

    I need to have 3 columns in my excel: Amount, Percent and Divisor

    - Amount and Percent need to be editable.
    - Amount should calculate as Percent*Divisor/100
    - Percent should calculate as Amount/Divisor*100
    - Whenever Amount is updated, Percent should update and vice-versa.

    Example:
    Amount = 100, Percent = 1, Divisor= 1000 (100 is 1% of 1000)
    Update Amount to 200, should result in:
    Amount = 200, Percent = 2, Divisor= 1000 (200 is 2% of 1000)
    Update Percent to 3, should result in:
    Amount = 300, Percent = 3, Divisor= 1000 (300 is 3% of 1000)

    Possible? I think that i can't have a formula column as editable? Any geniusiscious workarounds?

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,501

    Re: Pulling my hair out for a solution! Excel Gurus, haaalp!

    Welcome to the forum maa0043: please take a moment to update your thread title to something more specific as per the forum rules ... possibly, Circular Reference with dependent cells.

    Brief answer as something to be going on: a cell can have a formula or a value but not both. If you have two formulae that point to each other, as in this case, you create a circular reference. AFAIK, the only way to do what you want is to use a VBA Worksheet Change event.

    Regards
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


+ 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