+ Reply to Thread
Results 1 to 7 of 7

diverting output

  1. #1
    -az
    Guest

    diverting output

    hello,

    how do i make a function in one cell alter the value of another cell?

    i would like to do the following:
    if cell1 equals "test string" then make cell(3 + value of cell2)
    increment by 1

    the reason why i can't put the function in the output cell is because
    the range of output cells is the same target for a whole bunch of these

    functions.

    -az


  2. #2
    Forum Contributor
    Join Date
    10-14-2004
    Location
    San Diego, CA
    Posts
    213
    Maybe something like this.

    =IF(A1="test string",(A3+A2)+1,"")

    Matt

  3. #3
    Dave Peterson
    Guest

    Re: diverting output

    Formulas in worksheets can't change the values in other cells. They only return
    values to the cell holding the formula.

    -az wrote:
    >
    > hello,
    >
    > how do i make a function in one cell alter the value of another cell?
    >
    > i would like to do the following:
    > if cell1 equals "test string" then make cell(3 + value of cell2)
    > increment by 1
    >
    > the reason why i can't put the function in the output cell is because
    > the range of output cells is the same target for a whole bunch of these
    >
    > functions.
    >
    > -az


    --

    Dave Peterson

  4. #4
    -az
    Guest

    Re: diverting output

    are you sure? that sounds a bit limiting. i have a .xls file at work
    that sends an email for me, so i would've thought that changing the
    value of another cell would be simple.
    -az


  5. #5
    Dave Peterson
    Guest

    Re: diverting output

    You sure it's a formula that's changing that other cell?

    If you have one that does that, please post it.

    If the other cell gets changed, it could be a macro that's doing the work for
    you.

    -az wrote:
    >
    > are you sure? that sounds a bit limiting. i have a .xls file at work
    > that sends an email for me, so i would've thought that changing the
    > value of another cell would be simple.
    > -az


    --

    Dave Peterson

  6. #6
    -az
    Guest

    Re: diverting output

    i'm not too sure if it changes other cells or not, but i'm saying that
    it does something pretty complex, and changing another cell seems
    pretty rudimentary in comparison.

    maybe i'll just try to use a macro or something. where's a good place
    to start learning about macros?

    -az


  7. #7
    Dave Peterson
    Guest

    Re: diverting output


    If you're new to macros, you may want to read David McRitchie's intro at:
    http://www.mvps.org/dmcritchie/excel/getstarted.htm

    -az wrote:
    >
    > i'm not too sure if it changes other cells or not, but i'm saying that
    > it does something pretty complex, and changing another cell seems
    > pretty rudimentary in comparison.
    >
    > maybe i'll just try to use a macro or something. where's a good place
    > to start learning about macros?
    >
    > -az


    --

    Dave Peterson

+ 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