Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Turn off the formula correction feature

When you cut or delete cells, any formula that references those cells changes.

I am trying to compare columns of data using an "IF" function to show TRUE
or FALSE. In the process I wind up adding or deleting cells. Whenever I do
this, the folmula no longer works - it tries to reference the cell that is no
longer there.

What I would like to happen is that the formula references the new cell in
what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want the fomula
to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?
--
Thank you,
John Gregory
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Turn off the formula correction feature

=INDIRECT("A1")
--
David Biddulph


JGreg7 wrote:
When you cut or delete cells, any formula that references those cells
changes.

I am trying to compare columns of data using an "IF" function to show
TRUE
or FALSE. In the process I wind up adding or deleting cells.
Whenever I do this, the folmula no longer works - it tries to
reference the cell that is no longer there.

What I would like to happen is that the formula references the new
cell in what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want the
fomula to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?




  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Turn off the formula correction feature

Hi,

You need to use INDIRECT. If you struggle with setting up your formula using
this then post back.

example
=INDIRECT("A1")

will always reference A1 even if you delete the cell
--
Mike

When competing hypotheses are equal, adopt the hypothesis that introduces
the fewest assumptions while still sufficiently answering the question.
Occam''s razor (Abbrev)


"JGreg7" wrote:

When you cut or delete cells, any formula that references those cells changes.

I am trying to compare columns of data using an "IF" function to show TRUE
or FALSE. In the process I wind up adding or deleting cells. Whenever I do
this, the folmula no longer works - it tries to reference the cell that is no
longer there.

What I would like to happen is that the formula references the new cell in
what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want the fomula
to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?
--
Thank you,
John Gregory

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Turn off the formula correction feature

Can I use it in a "IF" function?
=IF((INDIRECT(A1))=(INDIRECT(B1)),"yes"," ")
In this case the formula editor says it is "Volitile" and does not return a
value.

--
Thank you,
John Gregory


"Mike H" wrote:

Hi,

You need to use INDIRECT. If you struggle with setting up your formula using
this then post back.

example
=INDIRECT("A1")

will always reference A1 even if you delete the cell
--
Mike

When competing hypotheses are equal, adopt the hypothesis that introduces
the fewest assumptions while still sufficiently answering the question.
Occam''s razor (Abbrev)


"JGreg7" wrote:

When you cut or delete cells, any formula that references those cells changes.

I am trying to compare columns of data using an "IF" function to show TRUE
or FALSE. In the process I wind up adding or deleting cells. Whenever I do
this, the folmula no longer works - it tries to reference the cell that is no
longer there.

What I would like to happen is that the formula references the new cell in
what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want the fomula
to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?
--
Thank you,
John Gregory

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Turn off the formula correction feature

I tried that, however when you copy the formula, it copies identiaclly.
Instead of copying as
=INDIRECT("A1")
=INDIRECT("A2")
=INDIRECT("A3")

It copies as
=INDIRECT("A1")
=INDIRECT("A1")
=INDIRECT("A1")

When I use it as =INDIRECT(A1), it returns the value "#REF".

--
Thank you,
John Gregory


"David Biddulph" wrote:

=INDIRECT("A1")
--
David Biddulph


JGreg7 wrote:
When you cut or delete cells, any formula that references those cells
changes.

I am trying to compare columns of data using an "IF" function to show
TRUE
or FALSE. In the process I wind up adding or deleting cells.
Whenever I do this, the folmula no longer works - it tries to
reference the cell that is no longer there.

What I would like to happen is that the formula references the new
cell in what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want the
fomula to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?




.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Turn off the formula correction feature

=INDIRECT("A"&ROW())
--
David Biddulph


JGreg7 wrote:
I tried that, however when you copy the formula, it copies
identiaclly. Instead of copying as
=INDIRECT("A1")
=INDIRECT("A2")
=INDIRECT("A3")

It copies as
=INDIRECT("A1")
=INDIRECT("A1")
=INDIRECT("A1")

When I use it as =INDIRECT(A1), it returns the value "#REF".


=INDIRECT("A1")
--
David Biddulph


JGreg7 wrote:
When you cut or delete cells, any formula that references those
cells changes.

I am trying to compare columns of data using an "IF" function to
show TRUE
or FALSE. In the process I wind up adding or deleting cells.
Whenever I do this, the folmula no longer works - it tries to
reference the cell that is no longer there.

What I would like to happen is that the formula references the new
cell in what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want
the fomula to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?




.



  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default Turn off the formula correction feature

That works! Thank you very much for your help!
--
Thank you,
John Gregory


"David Biddulph" wrote:

=INDIRECT("A"&ROW())
--
David Biddulph


JGreg7 wrote:
I tried that, however when you copy the formula, it copies
identiaclly. Instead of copying as
=INDIRECT("A1")
=INDIRECT("A2")
=INDIRECT("A3")

It copies as
=INDIRECT("A1")
=INDIRECT("A1")
=INDIRECT("A1")

When I use it as =INDIRECT(A1), it returns the value "#REF".


=INDIRECT("A1")
--
David Biddulph


JGreg7 wrote:
When you cut or delete cells, any formula that references those
cells changes.

I am trying to compare columns of data using an "IF" function to
show TRUE
or FALSE. In the process I wind up adding or deleting cells.
Whenever I do this, the folmula no longer works - it tries to
reference the cell that is no longer there.

What I would like to happen is that the formula references the new
cell in what was the previous location.

In example: if I delete A1, so that A2 becomes the new A1, I want
the fomula to look at the new A1 and ignore that I deleted a cell.

Is it possible to do this?



.



.

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
Turn off Research feature Sinuatus Excel Discussion (Misc queries) 0 April 4th 07 07:32 PM
how do I turn off automatic spelling correction willie091028 Excel Worksheet Functions 2 October 19th 06 11:37 PM
How do I turn off security feature for hyperlinks? Tino Setting up and Configuration of Excel 0 October 21st 05 05:39 PM
How do you turn off the Undo feature in excel? bvlumber Excel Discussion (Misc queries) 1 April 7th 05 03:01 AM
how to turn on and off autofill feature in 2000 Spudd Excel Discussion (Misc queries) 4 March 12th 05 02:57 PM


All times are GMT +1. The time now is 11:39 PM.

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

About Us

"It's about Microsoft Excel"