Search Search for: Business ApplicationsAll Forums

# Excel multiple cell subtraction

 HeroicAge
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
 test budget.xlsx (12.0 KB, 35 views)
 XCubed
Member with 520 posts.

Join Date: Feb 2013
Location: Australia
18-Aug-2013, 08: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 08:26 PM..
 HeroicAge
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.
 techguy.org/1106315
As Seen On

WELCOME TO TECH SUPPORT GUY!

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)