+ Reply to Thread
Results 1 to 3 of 3

X IN A CELL TO CALCULATE A FORMULA

  1. #1
    JUSTIN
    Guest

    X IN A CELL TO CALCULATE A FORMULA

    I WANT TO PUT AN X IN A CELL TO CALCULATE A FORMULA. I HAVE 2 BOXES, AND I
    NEED TO PUT AN X IN ONE OR THE OTHER TO CALCULATE 2 DIFFERENT FORMULAS. IF I
    PUT AN X IN ON CELL I DON'T WANT THE OTHER CELL TO TAKE ACTION. ANY
    SUGGESTIONS

  2. #2
    Forum Expert
    Join Date
    12-24-2004
    Location
    Sweden
    Posts
    1,256
    Hi,

    2 alternatives:
    A2: =IF(B2="X",Formula 1,"")
    A3: =IF(B3="X",Formula 2,"")
    or
    A2: =IF(B2="X",Formula 1, Formula 2)
    or
    A2: =CHOOSE(B2,Formula 1,Formula 2)
    where B2=1 or 2

    Regards,
    Ola

  3. #3
    Aladin Akyurek
    Guest

    Re: X IN A CELL TO CALCULATE A FORMULA

    C1:

    =IF(A1="X",Calculation1,"")

    D1:

    =IF(B1="X",Calculation2,"")

    Note that both C1 and D1 will also execute the embedded calculations if
    both A1 and B1 have an "X" at the same time.

    JUSTIN wrote:
    > I WANT TO PUT AN X IN A CELL TO CALCULATE A FORMULA. I HAVE 2 BOXES, AND I
    > NEED TO PUT AN X IN ONE OR THE OTHER TO CALCULATE 2 DIFFERENT FORMULAS. IF I
    > PUT AN X IN ON CELL I DON'T WANT THE OTHER CELL TO TAKE ACTION. ANY
    > SUGGESTIONS


+ 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