#1   Report Post  
Glenn
 
Posts: n/a
Default Filling Down Formula

Is there a way to fill a column down which contains a calculation without
having the result appear until the actual data is inputted?

For a simple example: Column C is a running total of A and B, with Cs
formula filled down to Row 5. I dont want to have the running total appear
in Column C for rows that havent any data entered. As shown below, I dont
want the last three 6s appearing. The formula, beginning at C2 is:
C2 =SUM(A2:B2)+C1
C3 =SUM(A3:B3)+C2
etc.

Thank you for your assistance.

A B C
1 2 3
1 2 6
6
6
6

  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

Change your formula slightly to hide the sum:

=if(count(a2:b2)=0,"",sum(a2:b2)+c1)



Glenn wrote:

Is there a way to fill a column down which contains a calculation without
having the result appear until the actual data is inputted?

For a simple example: Column C is a running total of A and B, with Cs
formula filled down to Row 5. I dont want to have the running total appear
in Column C for rows that havent any data entered. As shown below, I dont
want the last three 6s appearing. The formula, beginning at C2 is:
C2 =SUM(A2:B2)+C1
C3 =SUM(A3:B3)+C2
etc.

Thank you for your assistance.

A B C
1 2 3
1 2 6
6
6
6


--

Dave Peterson
  #3   Report Post  
Glenn
 
Posts: n/a
Default

Wow! That's great Dave. Thanks. Couldn't have done it without you.

"Dave Peterson" wrote:

Change your formula slightly to hide the sum:

=if(count(a2:b2)=0,"",sum(a2:b2)+c1)



Glenn wrote:

Is there a way to fill a column down which contains a calculation without
having the result appear until the actual data is inputted?

For a simple example: Column C is a running total of A and B, with C€„˘s
formula filled down to Row 5. I don€„˘t want to have the running total appear
in Column C for rows that haven€„˘t any data entered. As shown below, I don€„˘t
want the last three 6€„˘s appearing. The formula, beginning at C2 is:
C2 =SUM(A2:B2)+C1
C3 =SUM(A3:B3)+C2
etc.

Thank you for your assistance.

A B C
1 2 3
1 2 6
6
6
6


--

Dave Peterson

  #4   Report Post  
David McRitchie
 
Posts: n/a
Default

if a & b are empty on a row but you contiue with data in the
next row, your running balance or whatever you have will
start over.
---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Glenn" wrote in message ...
Wow! That's great Dave. Thanks. Couldn't have done it without you.

"Dave Peterson" wrote:

Change your formula slightly to hide the sum:

=if(count(a2:b2)=0,"",sum(a2:b2)+c1)



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
IF & VLOOKUP FORMULA taxmom Excel Worksheet Functions 3 March 2nd 05 03:35 PM
Problem with VBA returning the contents of a long formula. [email protected] Excel Discussion (Misc queries) 2 February 23rd 05 12:14 AM
Match / Vlookup within an Array formula Hari Prasadh Excel Discussion (Misc queries) 3 February 3rd 05 04:37 PM
Help with macro formula and variable Huge project Excel Worksheet Functions 0 December 28th 04 01:27 AM
Cell doesn't show formula result - it shows formula (CTRL + ' doe. o0o0o0o Excel Worksheet Functions 6 November 19th 04 03:13 PM


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