Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 115
Default 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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav Dav is offline
external usenet poster
 
Posts: 1
Default FORMULA COPY SHEET IN THE OTHER CELL


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


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=565033

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default 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
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",colum n($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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is it possible? DakotaNJ Excel Worksheet Functions 25 September 18th 06 09:30 PM
Compiling macro based on cell values simonsmith Excel Discussion (Misc queries) 1 May 16th 06 08:31 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 03:28 AM


All times are GMT +1. The time now is 05:03 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"