Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Alex C
 
Posts: n/a
Default CELL Function: cell reference by formula

I want to use the CELL function to obtain the value of 'the cell transpose'.
To take an example in cell B3 I had the formula:-
=IF(CELL("contents",C2)=1,0,1) which looks at the contents of cell C2 and
puts in B3 the 'opposite' of cell C2 contents. To get the correct results
over one half of a matrix, you can not drag the formula, so I substituted the
cell reference as below.

=IF(CELL("contents",CHAR(64+ROW())&COLUMN())=1,0,1 )

This works on its own, but not in the CELL function. It just returns an
error on trying to leave the cell. How do I get it to work?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CLR
 
Posts: n/a
Default CELL Function: cell reference by formula


Maybe this........

=IF(CELL("contents",$C2)=1,0,1)


Vaya con Dios,
Chuck, CABGx3


"Alex C" wrote:

I want to use the CELL function to obtain the value of 'the cell transpose'.
To take an example in cell B3 I had the formula:-
=IF(CELL("contents",C2)=1,0,1) which looks at the contents of cell C2 and
puts in B3 the 'opposite' of cell C2 contents. To get the correct results
over one half of a matrix, you can not drag the formula, so I substituted the
cell reference as below.

=IF(CELL("contents",CHAR(64+ROW())&COLUMN())=1,0,1 )

This works on its own, but not in the CELL function. It just returns an
error on trying to leave the cell. How do I get it to work?

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
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Dynamically-linked formula, cell reference in the string 0-0 Wai Wai ^-^ Excel Worksheet Functions 4 December 12th 05 01:36 AM
copied formula has correct cell reference, but result of original lvito Excel Worksheet Functions 1 October 14th 05 04:37 PM
Reference to One Cell stays the same in Different Formula ISMEGORDO Excel Discussion (Misc queries) 10 June 16th 05 11:13 PM
GET.CELL Biff Excel Worksheet Functions 2 November 24th 04 07:16 PM


All times are GMT +1. The time now is 07:15 PM.

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"