Advertisement

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

Advertisement

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.
THREAD STARTER
 
Join Date: Aug 2013
18-Aug-2013, 06: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, 25 views)
XCubed's Avatar
XCubed XCubed is offline
Member with 518 posts.
 
Join Date: Feb 2013
Location: Australia
18-Aug-2013, 09:20 PM #2
Hi
See if this does the trick ...

=SUM(C4:C16)-SUMIF($D$4:$D$16,"x",$C$4:$C$16)

or just

=SUMIF($D$4:$D$16,"",$C$4:$C$16)

Last edited by XCubed; 18-Aug-2013 at 09:26 PM..
HeroicAge's Avatar
HeroicAge HeroicAge is offline
Member with 2 posts.
THREAD STARTER
 
Join Date: Aug 2013
19-Aug-2013, 01: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
WELCOME TO TECH SUPPORT GUY!

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.


(clock)
THIS THREAD HAS EXPIRED.
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


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