Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum of a column
Hi guys, I am in need of a wee hand.
I have 2 columns, C & D. C is a weekly column where an amount is placed for example 150. D is the difference between each week. i.e C3 and C4 , C4 and C5 and so on. Above these two colums is a merged cell of C & D giving me the sum of the total loss of Column D What the problem is that because next week for example has no data in Col C, Col D gives me the difference between this week and next week of 150 instead of 0 because there is no data for next week. Can some one tell me how to overcome this wee snag? Cheers in advance guys |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum of a column
Anticipate the missing data.
Instead of a formula like: =C4-C3 use =IF(C4="","",C4-C3) -- Gary''s Student - gsnu200732 "Andy Sibbs" wrote: Hi guys, I am in need of a wee hand. I have 2 columns, C & D. C is a weekly column where an amount is placed for example 150. D is the difference between each week. i.e C3 and C4 , C4 and C5 and so on. Above these two colums is a merged cell of C & D giving me the sum of the total loss of Column D What the problem is that because next week for example has no data in Col C, Col D gives me the difference between this week and next week of 150 instead of 0 because there is no data for next week. Can some one tell me how to overcome this wee snag? Cheers in advance guys |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum of a column
You probably need to wrap your formula in an IF statement...........post
your formula, someone will help. Vaya con Dios, Chuck, CABGx3 "Andy Sibbs" wrote in message ... Hi guys, I am in need of a wee hand. I have 2 columns, C & D. C is a weekly column where an amount is placed for example 150. D is the difference between each week. i.e C3 and C4 , C4 and C5 and so on. Above these two colums is a merged cell of C & D giving me the sum of the total loss of Column D What the problem is that because next week for example has no data in Col C, Col D gives me the difference between this week and next week of 150 instead of 0 because there is no data for next week. Can some one tell me how to overcome this wee snag? Cheers in advance guys |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum of a column
Something like:
=IF(C4="",0,C4-C3) and drag down column D Regards Trevor "Andy Sibbs" wrote in message ... Hi guys, I am in need of a wee hand. I have 2 columns, C & D. C is a weekly column where an amount is placed for example 150. D is the difference between each week. i.e C3 and C4 , C4 and C5 and so on. Above these two colums is a merged cell of C & D giving me the sum of the total loss of Column D What the problem is that because next week for example has no data in Col C, Col D gives me the difference between this week and next week of 150 instead of 0 because there is no data for next week. Can some one tell me how to overcome this wee snag? Cheers in advance guys |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
sum of a column
Top class, works a treat. Thank you
"Gary''s Student" wrote: Anticipate the missing data. Instead of a formula like: =C4-C3 use =IF(C4="","",C4-C3) -- Gary''s Student - gsnu200732 "Andy Sibbs" wrote: Hi guys, I am in need of a wee hand. I have 2 columns, C & D. C is a weekly column where an amount is placed for example 150. D is the difference between each week. i.e C3 and C4 , C4 and C5 and so on. Above these two colums is a merged cell of C & D giving me the sum of the total loss of Column D What the problem is that because next week for example has no data in Col C, Col D gives me the difference between this week and next week of 150 instead of 0 because there is no data for next week. Can some one tell me how to overcome this wee snag? Cheers in advance guys |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
divide column(x) by column(y) to give column(x/y) in excel? | New Users to Excel | |||
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look | Excel Discussion (Misc queries) | |||
formula : =(column A)+(column B)-(column C). Why won't it work? | Excel Discussion (Misc queries) | |||
Divide Column A by Column B multiply Column C | Excel Worksheet Functions | |||
what formula do i put for column m = column k minus column l in e. | Excel Discussion (Misc queries) |