Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Ellen
 
Posts: n/a
Default How do i keep cells blank until the formula is used?

I am working on a timesheet that add time and calculates cost. The formula I
am using for column I of the timesheet (which can be used for up to three
in/out times per day) is "=SUM((D12-C12)*24,(F12-E12)*24,(H12-G12)*24)".
Column J calculates cost using the formula "=I12*B12" where column B is the
hourly fee.

My question is, how can I get columns I and J to be blank until they are
needed. Right now they fill with "0.00" and "$0.00."
  #2   Report Post  
Posted to microsoft.public.excel.misc
Pancake Batter
 
Posts: n/a
Default How do i keep cells blank until the formula is used?

Hi Ellen

Menu Bar, Tools, Options, View Tab. Unckeck box "Zero Values".

PB

"Ellen" wrote:

I am working on a timesheet that add time and calculates cost. The formula I
am using for column I of the timesheet (which can be used for up to three
in/out times per day) is "=SUM((D12-C12)*24,(F12-E12)*24,(H12-G12)*24)".
Column J calculates cost using the formula "=I12*B12" where column B is the
hourly fee.

My question is, how can I get columns I and J to be blank until they are
needed. Right now they fill with "0.00" and "$0.00."

  #3   Report Post  
Posted to microsoft.public.excel.misc
Kevin Vaughn
 
Posts: n/a
Default How do i keep cells blank until the formula is used?

First of all, you don't really need sum. And the way that many people get
rid of unwanted 0 values that are the results of formulas is to wrap the
formula in an IF statement that checks whether the formula will result in a
0. For instance, the following formula should work for you:

=IF(COUNT(C12:H12)0,(D12-C12)*24+(F12-E12)*24+(H12-G12)*24,"")
Assuming that the numbers in the range C12:H12 will be numeric, this formula
worked for me. And then for the other formula:
=IF(I12<"",I12*B12,"")

You could use SUM if you want, and just wrap it in something similar. For
instance you could say =if(sum(...) = 0,"", sum(...)

HTH
--
Kevin Vaughn


"Ellen" wrote:

I am working on a timesheet that add time and calculates cost. The formula I
am using for column I of the timesheet (which can be used for up to three
in/out times per day) is "=SUM((D12-C12)*24,(F12-E12)*24,(H12-G12)*24)".
Column J calculates cost using the formula "=I12*B12" where column B is the
hourly fee.

My question is, how can I get columns I and J to be blank until they are
needed. Right now they fill with "0.00" and "$0.00."

  #4   Report Post  
Posted to microsoft.public.excel.misc
Roger
 
Posts: n/a
Default How do i keep cells blank until the formula is used?

Hello PB

On this subject, I have the 'Zero Values' unchecked, but would like to also
hide the dashes (-) a zero balance still displays. Can I do this?

Thanks

Roger

"Pancake Batter" wrote in message
...
Hi Ellen

Menu Bar, Tools, Options, View Tab. Unckeck box "Zero Values".

PB

"Ellen" wrote:

I am working on a timesheet that add time and calculates cost. The
formula I
am using for column I of the timesheet (which can be used for up to three
in/out times per day) is "=SUM((D12-C12)*24,(F12-E12)*24,(H12-G12)*24)".
Column J calculates cost using the formula "=I12*B12" where column B is
the
hourly fee.

My question is, how can I get columns I and J to be blank until they are
needed. Right now they fill with "0.00" and "$0.00."



  #5   Report Post  
Posted to microsoft.public.excel.misc
Dana DeLouis
 
Posts: n/a
Default How do i keep cells blank until the formula is used?

but would like to hide the dashes (-), a zero balance still displays.

One option is to use a custom format that hides zero values. Perhaps
something like this...
0.00;0.00;;

On your formula, one idea would be to factor out the 24...
=24*SUM(D12-C12,F12-E12,H12-G12)

--
HTH. :)
Dana DeLouis
Windows XP, Office 2003


"Roger" wrote in message
...
Hello PB

On this subject, I have the 'Zero Values' unchecked, but would like to
also hide the dashes (-) a zero balance still displays. Can I do this?

Thanks

Roger

"Pancake Batter" wrote in
message ...
Hi Ellen

Menu Bar, Tools, Options, View Tab. Unckeck box "Zero Values".

PB

"Ellen" wrote:

I am working on a timesheet that add time and calculates cost. The
formula I
am using for column I of the timesheet (which can be used for up to
three
in/out times per day) is "=SUM((D12-C12)*24,(F12-E12)*24,(H12-G12)*24)".
Column J calculates cost using the formula "=I12*B12" where column B is
the
hourly fee.

My question is, how can I get columns I and J to be blank until they are
needed. Right now they fill with "0.00" and "$0.00."





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
Formula that returns Col A data in Col B, but omitting blank cells SteveC Excel Worksheet Functions 7 January 25th 06 06:48 PM
how can I count blank cells as a zero, when using formula please?? Ted Excel Worksheet Functions 5 November 22nd 05 06:14 PM
How do you nest the following formula to show blank cells JV Excel Worksheet Functions 3 August 6th 05 06:26 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM
Blank Cells in Pivot Tables Greg Excel Discussion (Misc queries) 1 March 16th 05 09:23 PM


All times are GMT +1. The time now is 06:41 AM.

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"