+ Reply to Thread
Results 1 to 2 of 2

Help with formula

Hybrid View

  1. #1
    klondike
    Guest

    Help with formula

    Hi,

    here is my situation:

    I have an excel spreadsheet to keep inventory of toner cartridges.

    Cell A is the inventory of toner cartridges this number fluctuates according
    to what's in stock and what has been added or subtracted. In Cell B I want to
    keep a historic total of all of the toner cartridges that have ever been
    added to inventory and NOT subtracted. Is there a formula that would add the
    increases to stock but not the subtractions????

    Any help would be much appreciated.

    Thank you



  2. #2
    klondike
    Guest

    RE: Help with formula

    Hello again.

    I Have found this and it does just about what I want it to do:

    Private Sub Worksheet_Change(ByVal Target As Excel.Range)
    If Not Intersect(Target, Columns("C")) Is Nothing Then
    If Target.Row <> 1 Then
    Cells(Target.Row, "D").Value = _
    Cells(Target.Row, "D").Value + Target.Value
    End If
    End If
    End Sub


    The only adjustment I would like to make is if the number in the cell is
    reduced then it would not affect the total in "D:"

    Thanks


    "klondike" wrote:

    > Hi,
    >
    > here is my situation:
    >
    > I have an excel spreadsheet to keep inventory of toner cartridges.
    >
    > Cell A is the inventory of toner cartridges this number fluctuates according
    > to what's in stock and what has been added or subtracted. In Cell B I want to
    > keep a historic total of all of the toner cartridges that have ever been
    > added to inventory and NOT subtracted. Is there a formula that would add the
    > increases to stock but not the subtractions????
    >
    > Any help would be much appreciated.
    >
    > Thank you
    >
    >


+ 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