the If Statements

C

charlb

I have a group of 5 colums in each month every colum has a amount in £ and I
have 15 months no I also have a colum with the total of all the months
together "M3", but now I have created check boxes for each month. What I want
to do if possable is when the month is checked i want the total of the 5
colums added together and subtracted from the yearly total "M3" and if i tick
a second month I want that also subtrackted from the yearly total "M3" but I
want every thin displayd in one colum here is my formula so far
"=IF(DI1=TRUE,SUM(DE3:DI3)-M3,0) -IF(DD1=TRUE,SUM(CZ3:DI3)-M3,0)" it doesnt
work is this at all possable and does this make sence.
Thanks for any help
 
C

CLR

Maybe this........
=IF(DI1=TRUE,SUM(DE3:DI3)-M3,0)&" "&-IF(DD1=TRUE,SUM(CZ3:DI3)-M3,0)

Vaya con Dios,
Chuck, CABGx3
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top