Subtract several rows from a total

L

LMB

Hi Guys,

I have a total in cell C32. I want to subtract numbers in cells C 34-40 and have the answer in cell C41. I know that =C32-C34 will give me an answer but I want several rows to be subtracted. What would my formula be?

I have used the insert function feature before but I don't see diff or anything that looks like a subtraction function in there.

Thanks,
Linda
 
D

David McRitchie

Look at the SUM Worksheet Formula

C41: =C32 - SUM(C34:Offset(C41,-1,0))

I guess C33 is on a blank row or at least that cell is empty.
The use of OFFSET(C41,-1,0) instead of C40
allows you to insert a row before row 41 later that
would also be subtracted.


Hi Guys,

I have a total in cell C32. I want to subtract numbers in cells C 34-40 and have the answer in cell C41. I know that =C32-C34 will
give me an answer but I want several rows to be subtracted. What would my formula be?

I have used the insert function feature before but I don't see diff or anything that looks like a subtraction function in there.

Thanks,
Linda
 
G

gls858

LMB said:
Hi Guys,

I have a total in cell C32. I want to subtract numbers in cells C 34-40
and have the answer in cell C41. I know that =C32-C34 will give me an
answer but I want several rows to be subtracted. What would my formula be?

I have used the insert function feature before but I don't see diff or
anything that looks like a subtraction function in there.

Thanks,
Linda
Here's one way..put this in C41

= C32-(SUM( C34:C40))
 

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