+ Reply to Thread
Results 1 to 4 of 4

Multiple functions within one cell not sure "if" will work

  1. #1
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    134

    Multiple functions within one cell not sure "if" will work

    I have a spreadsheet and in j15 I want it to show 0 if cell I15 is blank and if it is not. I want it to add cells c15:e15 and subtract cell I15. I can't seem to figure out how to perform this little formula. TIA!
    Trish

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: Multiple functions within one cell not sure "if" will work

    Try this:
    =IF(I15<>"",SUM(C15:E15)-I15,0)

    Does that help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: Multiple functions within one cell not sure "if" will work

    No, it didn't return anything if I input an amount in I15.

    This is what I would really like to happen. Cell J15 would be empty. When I enter anything into cells c15 through e15 it would remain empty until something is entered into I15. When something is entered into I15 the formula would kick in C15:e15 - I15 and the sum would show in J15. I hope this isn't too confusing. TIA!
    Trish

  4. #4
    Forum Contributor
    Join Date
    10-03-2012
    Location
    USA
    MS-Off Ver
    Excel 2007
    Posts
    134

    Re: Multiple functions within one cell not sure "if" will work

    I think it might have worked. I actually had a conditional formatting and I think that was making it read funny or not at all. Thanks!!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1