+ Reply to Thread
Results 1 to 11 of 11

Subtracting all values from Total that are "iPad"

  1. #1
    Registered User
    Join Date
    10-02-2014
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    68

    Subtracting all values from Total that are "iPad"

    Evening again tonight

    I want to do a calculation of my loan left I have for an iPad

    Is it possible instead of the number 500 for the loan have something like =500-(Formula for grabbing every iPad entry I have in my transactions) so that will show a true value of the loan left?

    Any input appreciated

    Jonny
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Subtracting all values from Total that are "iPad"

    Try this one

    =SUM(J5:J9)-SUMIF(H5:H9,"iPad",J5:J9)

    Or this

    =SUMIF(H5:H9,"<>"&"iPad",J5:J9)
    Last edited by AlKey; 11-16-2014 at 03:13 PM.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Registered User
    Join Date
    10-02-2014
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    68

    Re: Subtracting all values from Total that are "iPad"

    Hmmm that is close but it shows me 400 for taking 150 off 500?

    Any advice?

  4. #4
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Subtracting all values from Total that are "iPad"

    Quote Originally Posted by flapface View Post
    Hmmm that is close but it shows me 400 for taking 150 off 500?

    Any advice?
    it is not 150 it is only 100. Look at your spreadsheet. There are two entries for iPad both for $50.00 each.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Subtracting all values from Total that are "iPad"

    Or just this...
    =SUMIF(H5:H9,"<>Ipad",J5:J9)

    Agree on the 400 total, J7 and J9 are both ipad with a value of 50
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  6. #6
    Registered User
    Join Date
    10-02-2014
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    68

    Re: Subtracting all values from Total that are "iPad"

    Sorry my mistake you are both right they were both 50 I just changed one entry to 100 to see how it would affect the formula

    It seems that the formula won't update to the new values?

  7. #7
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Subtracting all values from Total that are "iPad"

    If you changed an ipad entry, it wont change the total, because those values are being excluded. Try changing a non-ipad value

  8. #8
    Registered User
    Join Date
    10-02-2014
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    68

    Re: Subtracting all values from Total that are "iPad"

    Aww okay sorry I think I could have been clearer in my description

    C4 is the starting value of the loan I would then want to subtract the entries away from the starting value all in one cell so if starting value is 500 I would like C4 to be something like =500-(all entries for "iPad"), does that make sense?

    Thanks

    Jonny

  9. #9
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Subtracting all values from Total that are "iPad"

    Yes, that is a bit different from your 1st question.

    TRy this...
    =$C$4-SUMIF($H$5:$H$9,"Ipad",$J$5:$J$9)
    or this...
    =$C$4-SUMIF($H:$H,"Ipad",$J:$J)

  10. #10
    Registered User
    Join Date
    10-02-2014
    Location
    Scotland
    MS-Off Ver
    2007
    Posts
    68

    Re: Subtracting all values from Total that are "iPad"

    Perfect! Sorry for not being clear enough

    Thanks for the help guys!

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Subtracting all values from Total that are "iPad"

    Im glad we got it sorted out for you, and thanks for the feedback

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Clicking "User CP" requires a re-sign in on iPad
    By jewelsharma in forum Suggestions for Improvement
    Replies: 10
    Last Post: 04-24-2014, 02:10 PM
  2. Replies: 0
    Last Post: 01-09-2013, 06:52 PM
  3. [SOLVED] Macro to delete entire row if cell contains the word "total" or "Total"
    By theatricalveggie in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2011, 12:38 PM
  4. Replies: 3
    Last Post: 02-16-2011, 02:55 PM
  5. Linking two "total" pages to create a "Complete Total" page
    By Jordon in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-10-2006, 07:20 PM

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