PC Review


Reply
Thread Tools Rate Thread

Deleting rows with formulas

 
 
Chad
Guest
Posts: n/a
 
      25th May 2008
Hi All,

I have this excel sheet that has a bunch of formulas in it. My formulas
look at cells in the previous row. If I delete a row, the cells change to
#REF! This makes sense to me. Is there a way to write the formula so that
is just looks at the prior row instead of trying to find the row that is
deleted?

Thanks
Chad


 
Reply With Quote
 
 
 
 
JLGWhiz
Guest
Posts: n/a
 
      26th May 2008
Maybe if you used R1C1 style.

"Chad" wrote:

> Hi All,
>
> I have this excel sheet that has a bunch of formulas in it. My formulas
> look at cells in the previous row. If I delete a row, the cells change to
> #REF! This makes sense to me. Is there a way to write the formula so that
> is just looks at the prior row instead of trying to find the row that is
> deleted?
>
> Thanks
> Chad
>
>
>

 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      26th May 2008
This formula in E5 will always point to E4:
=OFFSET(E5,-1,0)

No matter where the formula is located, this will always point to A1:
=INDIRECT("A1")



Chad wrote:
>
> Hi All,
>
> I have this excel sheet that has a bunch of formulas in it. My formulas
> look at cells in the previous row. If I delete a row, the cells change to
> #REF! This makes sense to me. Is there a way to write the formula so that
> is just looks at the prior row instead of trying to find the row that is
> deleted?
>
> Thanks
> Chad


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Protect Formulas while deleting rows RLD Microsoft Excel Misc 1 15th Mar 2010 06:10 AM
deleting rows messing up formulas Chad Microsoft Excel Misc 2 30th Jan 2009 06:19 AM
Adding and deleting rows with formulas ****Need Help**** jperkin3@amfam.com Microsoft Excel Misc 5 31st May 2006 05:42 PM
Question about deleting rows and formulas richard.anderson970@gmail.com Microsoft Excel Misc 14 11th Feb 2006 11:53 PM
Deleting rows without losing formulas =?Utf-8?B?Sm9obiBEYXZpZXM=?= Microsoft Excel Programming 4 1st Aug 2005 05:21 PM


Features
 

Advertising
 

Newsgroups
 


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