+ Reply to Thread
Results 1 to 3 of 3

FORMULA COPY SHEET IN THE OTHER CELL

  1. #1
    Carol
    Guest

    FORMULA COPY SHEET IN THE OTHER CELL

    I made a formula in conditional formatting to create colours A=Yellow,
    B=Yellow, P-Blue and C-Gray, I made the following formula which is devided
    into three column in which:-

    =if($C$236="c",column($C$236),if($T$236="c",column($O$236),if($C$236="c",column($O$236),

    This goes perfectly but the problem is when I drag it to the next row the
    formula has been copied in duplicate way in which the Cell value is still the
    same.

    I change the formula into the ff:-

    =if(C236="c",column(C236),if(T236="c",column(O236),if(C$36="c",column($O$236),

    it goes okey, but the problem is when i open again the formula : the cell
    value copied different cell like instead of C236 it became D236 or others...

    Can some body tell me my mistake


  2. #2
    Forum Expert
    Join Date
    09-09-2005
    Location
    England
    MS-Off Ver
    2007
    Posts
    1,500
    Well in your second post c236 has become c$36, but that is probably just a typo
    If it is copying the formula sideways
    =if($C236="c",column($C236),if($T$236="c",column ($O236),if($C236="c",column($O236),

    Although you have not posted your full expression above so it is diffiicult to see also the logic is trange as if the first condition c36="c" is satisfied (highlighted in green) the other conditions will not be so the last bit of the expression can never occur (highlighted in red.)

    Maybe you state in english clearly what you want to do and include an example

    regards

    Dav

  3. #3
    Gord Dibben
    Guest

    Re: FORMULA COPY SHEET IN THE OTHER CELL

    Carol

    I think what you need is "mixed references"

    The $ sign is used to change cell references from "relative" to absolute". This
    fixes the reference so's it will not change as copied down or across.

    $A1 is absolute column and relative row.

    $A$1 is absolute column and row.

    A$1 is relative row and absolute column.

    Se help on relative and absolute cell references for more on this.

    And a posting from Kassie with examples................

    http://snipurl.com/twna


    Gord Dibben MS Excel MVP

    On Tue, 25 Jul 2006 23:46:01 -0700, Carol <Carol@discussions.microsoft.com>
    wrote:

    >I made a formula in conditional formatting to create colours A=Yellow,
    >B=Yellow, P-Blue and C-Gray, I made the following formula which is devided
    >into three column in which:-
    >
    >=if($C$236="c",column($C$236),if($T$236="c",column($O$236),if($C$236="c",column($O$236),
    >
    >This goes perfectly but the problem is when I drag it to the next row the
    >formula has been copied in duplicate way in which the Cell value is still the
    >same.
    >
    >I change the formula into the ff:-
    >
    >=if(C236="c",column(C236),if(T236="c",column(O236),if(C$36="c",column($O$236),
    >
    >it goes okey, but the problem is when i open again the formula : the cell
    >value copied different cell like instead of C236 it became D236 or others...
    >
    >Can some body tell me my mistake


    Gord Dibben MS Excel MVP

+ 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