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 |
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 |
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 |
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) |
All times are GMT +1. The time now is 12:36 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com