+ Reply to Thread
Results 1 to 9 of 9

is there a way to create interdependent columns

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    is there a way to create interdependent columns

    for example:
    Column 1: has original value

    Column 2: set value
    Column 3: set percentage

    Column 1 has 1000 and Columns 2 and 3 are empty

    Enter 350 into Column 2 for the row - automatically calculates Column 3 value and sets it to 35 (calculated as C2Rx * 100 / C1Rx )
    Enter 35 into Column 3 for the row - automatically calculates Column 2 value and sets it to 350 (calculated as C3Rx * C1Rx / 100 )

    I can do this for one row using :


    Please Login or Register  to view this content.
    How can i do this for the whole column - or for a range from row 11 and above.


    Moderator Edit:

    Welcome to the forum, mcme.

    Please notice that code tags have been added to your post. The forum rules require them so please keep that in mind and add them yourself whenever showing code in any of your future posts. To see instructions for applying them, click on the Forum Rules button at the top of the page and read Rule #3.
    Thanks.
    Last edited by Cutter; 09-20-2012 at 08:44 PM. Reason: Added code tags

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: is there a way to create interdependent columns

    Hi mcme,

    Try this:

    Please Login or Register  to view this content.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a way to create interdependent columns

    xladept: Thank you for the reply. But this does not work.
    I initialized j and i as Target.Row and Target.Column and did some modifications for the logic in the If conditions but to no avail. Can you please revisit the logic and see if this works.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: is there a way to create interdependent columns

    Hi mcme,

    Can you post a sample spreadsheet?

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a way to create interdependent columns

    Sample.xls
    Sample Xls file attached

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: is there a way to create interdependent columns

    Hi mcme,

    This seems to be working:

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    09-20-2012
    Location
    United States
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: is there a way to create interdependent columns

    That does!! Thank you!

  8. #8
    Forum Expert Cutter's Avatar
    Join Date
    05-24-2004
    Location
    Ontario,Canada
    MS-Off Ver
    Excel 2010
    Posts
    6,451

    Re: is there a way to create interdependent columns

    @ mcme

    Welcome to the forum.

    Based on your last post it seems that you are satisfied with the solution(s) you've received but you haven't marked your thread as SOLVED. I'll do that for you now but please keep in mind for your future threads that Rule #9 requires you to do that yourself. If your problem has not been solved you can use Thread Tools (located above your first post) and choose "Mark this thread as unsolved".
    Thanks.

    Also, as a new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

  9. #9
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: is there a way to create interdependent columns

    You're welcome!

+ 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