Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 63
Default Need formula help! Removing a neg# & #DIV/0!



D28 is entered daily & cell has no formula
E28 is =D28-D27 (copied down page)
F28 is =E28/D28 (copied down page)

Day total Day increase Percentage
----------+---------------+-------------
(D28) (E28) (F28)
1215.02 6.74 0.005547234
----------+---------------+-------------
(D29) (E29) (F29)
1231 15.98 0.012981316
----------+---------------+-------------
D29 is entered daily & cell has no formula
E29 is D29-D28 (copied down page)
F29 is E29/D29 (copied down page)



But in the next line & lines before I enter a # in the D colum cell I get
this...
I need to keep the formula and remove the data shown and from being totaled
in E columb... can this be done?

(D30) (E30) (F30)
-1231 #DIV/0!

D30 is to entered the next day but I need to total the E columb without the
Negitive # in the cell...
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default Need formula help! Removing a neg# & #DIV/0!

You can structure the formulas to "behave" until valid data has been entered:

Instead of:
=D30-D29
in E30, use:
=IF(D30="","",D30-D29)

Instead of
=E30/D30
in F30, use:
=if(D30="","",E30/D30)

continue this downwards.

--
Gary''s Student - gsnu200741


"j5b9721" wrote:



D28 is entered daily & cell has no formula
E28 is =D28-D27 (copied down page)
F28 is =E28/D28 (copied down page)

Day total Day increase Percentage
----------+---------------+-------------
(D28) (E28) (F28)
1215.02 6.74 0.005547234
----------+---------------+-------------
(D29) (E29) (F29)
1231 15.98 0.012981316
----------+---------------+-------------
D29 is entered daily & cell has no formula
E29 is D29-D28 (copied down page)
F29 is E29/D29 (copied down page)



But in the next line & lines before I enter a # in the D colum cell I get
this...
I need to keep the formula and remove the data shown and from being totaled
in E columb... can this be done?

(D30) (E30) (F30)
-1231 #DIV/0!

D30 is to entered the next day but I need to total the E columb without the
Negitive # in the cell...

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Need formula help! Removing a neg# & #DIV/0!

Hey;

I have seen a lot of posts with this request. John P. and the others suggest
using this instead.

No: =IF(D30="","",D30-D29)

Yes: =IF(D30="",n/a(),D30-D29)

I think that's right. I never use it. Your way will work, if there are not
other calculations, Gary. But if there are calculations down the line then
this will add a zero (0) to the calculation. 0*a=0!

God Bless

Frank Pytel
"Gary''s Student" wrote:

You can structure the formulas to "behave" until valid data has been entered:

Instead of:
=D30-D29
in E30, use:
=IF(D30="","",D30-D29)

Instead of
=E30/D30
in F30, use:
=if(D30="","",E30/D30)

continue this downwards.

--
Gary''s Student - gsnu200741


"j5b9721" wrote:



D28 is entered daily & cell has no formula
E28 is =D28-D27 (copied down page)
F28 is =E28/D28 (copied down page)

Day total Day increase Percentage
----------+---------------+-------------
(D28) (E28) (F28)
1215.02 6.74 0.005547234
----------+---------------+-------------
(D29) (E29) (F29)
1231 15.98 0.012981316
----------+---------------+-------------
D29 is entered daily & cell has no formula
E29 is D29-D28 (copied down page)
F29 is E29/D29 (copied down page)



But in the next line & lines before I enter a # in the D colum cell I get
this...
I need to keep the formula and remove the data shown and from being totaled
in E columb... can this be done?

(D30) (E30) (F30)
-1231 #DIV/0!

D30 is to entered the next day but I need to total the E columb without the
Negitive # in the cell...

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 103
Default Need formula help! Removing a neg# & #DIV/0!

Hello Again

Wow. I just tried that (na() not n/a(). Probably why I can never get it to
work.) That leaves a nasty old bogger on your spreadsheet. I'll stick with
the "" statement until I can figure something else out.

Frank

"Gary''s Student" wrote:

You can structure the formulas to "behave" until valid data has been entered:

Instead of:
=D30-D29
in E30, use:
=IF(D30="","",D30-D29)

Instead of
=E30/D30
in F30, use:
=if(D30="","",E30/D30)

continue this downwards.

--
Gary''s Student - gsnu200741


"j5b9721" wrote:



D28 is entered daily & cell has no formula
E28 is =D28-D27 (copied down page)
F28 is =E28/D28 (copied down page)

Day total Day increase Percentage
----------+---------------+-------------
(D28) (E28) (F28)
1215.02 6.74 0.005547234
----------+---------------+-------------
(D29) (E29) (F29)
1231 15.98 0.012981316
----------+---------------+-------------
D29 is entered daily & cell has no formula
E29 is D29-D28 (copied down page)
F29 is E29/D29 (copied down page)



But in the next line & lines before I enter a # in the D colum cell I get
this...
I need to keep the formula and remove the data shown and from being totaled
in E columb... can this be done?

(D30) (E30) (F30)
-1231 #DIV/0!

D30 is to entered the next day but I need to total the E columb without the
Negitive # in the cell...

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Need formula help! Removing a neg# & #DIV/0!

If you are worried about the N/A values showing on the spreadsheet, you can
use conditional formatting to turn the font colour white (or the same as
your background colour) if the cell contains a NA().
--
David Biddulph

"Frank Pytel" wrote in message
...
Hello Again

Wow. I just tried that (na() not n/a(). Probably why I can never get it to
work.) That leaves a nasty old bogger on your spreadsheet. I'll stick with
the "" statement until I can figure something else out.

Frank

"Gary''s Student" wrote:

You can structure the formulas to "behave" until valid data has been
entered:

Instead of:
=D30-D29
in E30, use:
=IF(D30="","",D30-D29)

Instead of
=E30/D30
in F30, use:
=if(D30="","",E30/D30)

continue this downwards.

--
Gary''s Student - gsnu200741


"j5b9721" wrote:



D28 is entered daily & cell has no formula
E28 is =D28-D27 (copied down page)
F28 is =E28/D28 (copied down page)

Day total Day increase Percentage
----------+---------------+-------------
(D28) (E28) (F28)
1215.02 6.74 0.005547234
----------+---------------+-------------
(D29) (E29) (F29)
1231 15.98 0.012981316
----------+---------------+-------------
D29 is entered daily & cell has no formula
E29 is D29-D28 (copied down page)
F29 is E29/D29 (copied down page)



But in the next line & lines before I enter a # in the D colum cell I
get
this...
I need to keep the formula and remove the data shown and from being
totaled
in E columb... can this be done?

(D30) (E30) (F30)
-1231 #DIV/0!

D30 is to entered the next day but I need to total the E columb without
the
Negitive # in the cell...



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
Clear Cell Without Removing Formula Scott Excel Worksheet Functions 4 March 27th 06 12:07 AM
keep number when removing formula Cindy B Excel Discussion (Misc queries) 2 March 1st 06 06:30 PM
Removing formulas but keeping formula totals. cowboyeti Excel Discussion (Misc queries) 6 July 18th 05 06:07 PM
What Excel Formula = finding dup records and removing them? alethead74 Excel Worksheet Functions 1 July 8th 05 10:52 PM
Cannot enter formula in a cell after removing a circular formula Big Corona Excel Worksheet Functions 0 April 5th 05 06:07 PM


All times are GMT +1. The time now is 11:54 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"