+ Reply to Thread
Results 1 to 6 of 6

Formula to subtract 100 for every ten...

  1. #1
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Formula to subtract 100 for every ten...

    SO here is my dilemma....

    I have data in that sums up the column to the left and for every ten it yields a point total of -100.

    I have attached a sample sheet of my data.

    Basically i am looking for two formulas:
    1. Sum up the amount column in the running total column but only show the ones place
    2. Every time the actual value of the running total gets to a multiple of ten it yields a point value of -100

    I hope this is clear.

    Thanks in advance for all the help you guys give!!!

    Los
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Formula to subtract 100 for every ten...

    You can put this formula in B2:

    =MOD(SUM(A2,B1),10)

    and this one in C3:

    =IF(B3<B2,-100,"")

    Copy both formulae down to the bottom of the list in column A. This assumes that the numbers in column A cannot exceed 9.

    Hope this helps.

    Pete

  3. #3
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Formula to subtract 100 for every ten...

    they cannot exceed 9 in column a but i put in the formulas and it did yeaild the desired results i have attached a new sheet with what it did.

    Im not sure how to fix it.


    Thanks in advance

    Los
    Attached Files Attached Files

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Formula to subtract 100 for every ten...

    You should have put the second formula in cell C3, not C2, and then copied it down.

    Hope this helps.

    Pete

  5. #5
    Forum Contributor
    Join Date
    08-29-2013
    Location
    CT
    MS-Off Ver
    Excel 2016 Mac
    Posts
    268

    Re: Formula to subtract 100 for every ten...

    thank you pete!!!!

    That fixed it

  6. #6
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,733

    Re: Formula to subtract 100 for every ten...

    You're welcome, Los - thanks for the rep.

    Pete

+ 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. [SOLVED] Difference Formula or Hiding the - sign with a subtract formula.
    By JonWilf in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-19-2016, 01:37 PM
  2. add/subtract formula
    By jayirish in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-23-2015, 11:05 AM
  3. add and subtract formula in vba
    By unique1 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2015, 01:47 PM
  4. subtract formula
    By Davies619 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2013, 02:12 PM
  5. [SOLVED] Formula to use to subtract 2 cells in a row and put the same formula for over 1000 rows
    By milk1one in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 12-03-2012, 12:08 AM
  6. [SOLVED] Help with a subtract if formula
    By numbskull in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-02-2012, 07:50 AM
  7. Formula question-formula to subtract multiple cells
    By arrchapman in forum Excel General
    Replies: 3
    Last Post: 04-17-2008, 04:13 AM

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