+ Reply to Thread
Results 1 to 7 of 7

HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

  1. #1
    Registered User
    Join Date
    10-20-2015
    Location
    IBADAN
    MS-Off Ver
    2010
    Posts
    4

    HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    if cell1=20 i want cell2 to b equal 20 and if cell2
    is equal 4,cell1 should change automatically to 4

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    Hi
    This leads to a circular reference.

    Regards

  3. #3
    Registered User
    Join Date
    07-28-2015
    Location
    Pruszków, Poland
    MS-Off Ver
    365 Business
    Posts
    58

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    Or you can do it w
    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-20-2015
    Location
    IBADAN
    MS-Off Ver
    2010
    Posts
    4

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    thanks patronus. i wil try dat

  5. #5
    Registered User
    Join Date
    10-20-2015
    Location
    IBADAN
    MS-Off Ver
    2010
    Posts
    4

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    but can i do dis using if statement and sm other functions bcos i dont really understand d code

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP and 2007
    Posts
    15,811

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    Quote Originally Posted by AFEEZ11 View Post
    but can i do dis using if statement and sm other functions bcos i dont really understand d code
    No. A cell can either contain an entered value, or it can contain a formula, but it cannot contain both.

    My usual approach to this sort of thing is to designate one of those cells as the input cell. Then cell2 can easily be =cell1. The instructions with the spreadsheet should explain that the data should be entered into cell1. If your users are bad at following instructions, you can protect cell2 so that they cannot (easily) edit cell2, which should force them to make their data entry in cell1.

    In order to get this "bidirectional link", you must use VBA the way that Patronus has suggested. I would suggest that you need to decide how important the bidirectional link is. If it is important enough, then you need to learn how to use code like this. If it is too much work right now to learn the code, then you need to designate one of the cells as input and protect the other so that users cannot edit it.
    Last edited by MrShorty; 10-22-2015 at 01:51 PM.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  7. #7
    Registered User
    Join Date
    10-20-2015
    Location
    IBADAN
    MS-Off Ver
    2010
    Posts
    4

    Re: HOW CAN CELL1=CELL2 AND CELL2= CELL1 at d same time

    i really appreciate dis

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Cell1 = Cell2 and Cell2 = Cell1
    By dej222 in forum Excel General
    Replies: 21
    Last Post: 03-29-2021, 02:58 AM
  2. Replies: 5
    Last Post: 03-12-2015, 12:51 AM
  3. Replies: 2
    Last Post: 02-10-2013, 05:54 PM
  4. [SOLVED] If Statements (?) - If Cell1 =yes then give -Cell2, If Cell1=no then give +Cell2
    By KTXD in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-02-2012, 12:24 AM
  5. [SOLVED] If Cell1 < Cell2 then add 1 month or if Cell1 = blank then blank
    By robertmiller in forum Excel General
    Replies: 7
    Last Post: 06-27-2012, 03:41 PM
  6. if cell1 has a number from 0 to 10, then cell2 = cell1*1.15
    By georgei in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2007, 11:28 PM
  7. Cell1 must be blank before cell2 can except date
    By Daniel in forum Excel General
    Replies: 1
    Last Post: 05-11-2006, 06:40 PM

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