There's no such thing as a stupid question, but they're the easiest to answer.


Business Applications Business Applications
Search Search
Search for:
Tech Support Guy > > >

Excel multiple cell subtraction


HeroicAge's Avatar
HeroicAge HeroicAge is offline
Member with 2 posts.
Join Date: Aug 2013
18-Aug-2013, 05:45 PM #1
Excel multiple cell subtraction
I've uploaded a test file for you to look at.

If you look at the file you will notice I have cell C17 as a totals cell for C4:C16. I would like to have an additional cell F17 to show me the remaining balance to be paid. But I need this to lower based on an x in a D cell by the corresponding C cells value.

So basically F17 should show 626 to start. An "x" in D5 lowers the amount by C5's value which is 191 making F17's value 435. Adding another "x" in D6 would lower it by an additional 96 making the value 339. So on and so forth.

I hope I explained that well enough. Can anyone help?
Attached Files
File Type: xlsx test budget.xlsx (12.0 KB, 35 views)
XCubed's Avatar
XCubed XCubed is offline
Member with 520 posts.
Join Date: Feb 2013
Location: Australia
18-Aug-2013, 08:20 PM #2
See if this does the trick ...


or just


Last edited by XCubed; 18-Aug-2013 at 08:26 PM..
HeroicAge's Avatar
HeroicAge HeroicAge is offline
Member with 2 posts.
Join Date: Aug 2013
19-Aug-2013, 12:02 AM #3
=SUM(C4:C16)-SUMIF($D$4:$D$16,"x",$C$4:$C$16) works great for me. The other one worked also, but with this one I'll be able to keep a running total over several months easier I think. Thank you.
As Seen On

BBC, Reader's Digest, PC Magazine, Today Show, Money Magazine

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

You Are Using: Server ID
Trusted Website Back to the Top ↑