PC Review


Reply
Thread Tools Rate Thread

Autosum automatically enters zero

 
 
Sally
Guest
Posts: n/a
 
      1st Mar 2009
I created a form that calculates a total in the right column. Every cell in
that column starts out with a "zero" in it until numbers are entered in the
other columns that need to be totaled. I want it blank until numbers are
entered and there is an actual result in the right column. How do I get rid
of the "zeros" in the total column on the right?
 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      1st Mar 2009
Maybe something like this:

=IF(COUNT(A11),SUM(A11),"")

--
Biff
Microsoft Excel MVP


"Sally" wrote:

> I created a form that calculates a total in the right column. Every cell in
> that column starts out with a "zero" in it until numbers are entered in the
> other columns that need to be totaled. I want it blank until numbers are
> entered and there is an actual result in the right column. How do I get rid
> of the "zeros" in the total column on the right?

 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      1st Mar 2009
Hi,

1. Choose Tools, Options, View tab, and uncheck Zero values.

2. IF(H1,H1,"")
replace H1 with a formula if necessary. Its not clear from you question
what is in the other cells that the formula refer to (are they numbers, text
or formulas - if formulas show us one of them), nor is it clear what is
actually in the 0 cells - are they simple references or formulas.

3. Use conditional formatting to hide the 0's by changing the font color
(2003) or by using a custom format ;;; which hides the cell contents in 2007.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Sally" wrote:

> I created a form that calculates a total in the right column. Every cell in
> that column starts out with a "zero" in it until numbers are entered in the
> other columns that need to be totaled. I want it blank until numbers are
> entered and there is an actual result in the right column. How do I get rid
> of the "zeros" in the total column on the right?

 
Reply With Quote
 
Sally
Guest
Posts: n/a
 
      1st Mar 2009
I think we're on the right track but not quite there.

Columns A B C D E
# miles A*$.55 # meals C*$10 B+D

My formulas cause $0.00 to appear in all rows of B, D and E. I want them
blank unless there is a value higher than zero. All columns should be blank
until a number is entered in A or C.

thanks



"Shane Devenshire" wrote:

> Hi,
>
> 1. Choose Tools, Options, View tab, and uncheck Zero values.
>
> 2. IF(H1,H1,"")
> replace H1 with a formula if necessary. Its not clear from you question
> what is in the other cells that the formula refer to (are they numbers, text
> or formulas - if formulas show us one of them), nor is it clear what is
> actually in the 0 cells - are they simple references or formulas.
>
> 3. Use conditional formatting to hide the 0's by changing the font color
> (2003) or by using a custom format ;;; which hides the cell contents in 2007.
>
> --
> If this helps, please click the Yes button.
>
> Cheers,
> Shane Devenshire
>
>
> "Sally" wrote:
>
> > I created a form that calculates a total in the right column. Every cell in
> > that column starts out with a "zero" in it until numbers are entered in the
> > other columns that need to be totaled. I want it blank until numbers are
> > entered and there is an actual result in the right column. How do I get rid
> > of the "zeros" in the total column on the right?

 
Reply With Quote
 
Shane Devenshire
Guest
Posts: n/a
 
      1st Mar 2009
Hi,

Replace the first formula with
=IF(A2,A2*0.55,"")
Replace the second formula with
=IF(C2,C2*10,"")
Replace the third formula with
=IF(OR(B2<>"",D2<>""),SUM(B2,D2),"")

copy these formulas down as far as you want.

--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Sally" wrote:

> I think we're on the right track but not quite there.
>
> Columns A B C D E
> # miles A*$.55 # meals C*$10 B+D
>
> My formulas cause $0.00 to appear in all rows of B, D and E. I want them
> blank unless there is a value higher than zero. All columns should be blank
> until a number is entered in A or C.
>
> thanks
>
>
>
> "Shane Devenshire" wrote:
>
> > Hi,
> >
> > 1. Choose Tools, Options, View tab, and uncheck Zero values.
> >
> > 2. IF(H1,H1,"")
> > replace H1 with a formula if necessary. Its not clear from you question
> > what is in the other cells that the formula refer to (are they numbers, text
> > or formulas - if formulas show us one of them), nor is it clear what is
> > actually in the 0 cells - are they simple references or formulas.
> >
> > 3. Use conditional formatting to hide the 0's by changing the font color
> > (2003) or by using a custom format ;;; which hides the cell contents in 2007.
> >
> > --
> > If this helps, please click the Yes button.
> >
> > Cheers,
> > Shane Devenshire
> >
> >
> > "Sally" wrote:
> >
> > > I created a form that calculates a total in the right column. Every cell in
> > > that column starts out with a "zero" in it until numbers are entered in the
> > > other columns that need to be totaled. I want it blank until numbers are
> > > entered and there is an actual result in the right column. How do I get rid
> > > of the "zeros" in the total column on the right?

 
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
Mouse click automatically enters character into cell. =?Utf-8?B?SmVmZnJleSBNLiBDb2ZmaW4=?= Microsoft Excel Worksheet Functions 10 27th Jun 2007 02:56 AM
When entering data, Access automatically enters the next sequenti. =?Utf-8?B?dHhuYW5h?= Microsoft Access 3 17th Aug 2006 05:49 AM
when writing in the calender it automatically enters while typing =?Utf-8?B?bWF0dF9oYW1tb25k?= Microsoft Outlook Calendar 0 10th May 2006 01:39 AM
Master worksheet automatically enters data into sub worksheets =?Utf-8?B?S2Vu?= Microsoft Excel Misc 1 1st Nov 2005 10:36 PM
make a quote sheet that automatically enters in discription and pr =?Utf-8?B?TW9vc2U=?= Microsoft Access VBA Modules 1 17th Aug 2005 09:29 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:55 PM.