+ Reply to Thread
Results 1 to 3 of 3

keep an individual running total on a large number of different items

  1. #1
    Registered User
    Join Date
    10-17-2007
    Posts
    1

    keep an individual running total on a large number of different items

    Newbie needing help!!!

    I am trying to create a basic spread sheet with an inventory. What i would like to do is be able to keep an idividual running total on a large number of different items.


    so when i remove 1 of item1 say it adjusts the original total.

    The problem i have is as follows.

    =Sum(A1-A2) =A3


    A2 and A1 stay i place!? so next time i remove 1 it is not a real running inventory as im basicly re-typing everytime. I would really like to just enter a number into A2 with A1 adjusting itself according to the value of A2.

    Is this possible or am i talking jibberish!?????

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582
    Hi Steve,

    I'm not sure exactly what you have in cells A1, A2 and A3 in your example

    Do you want the present inventory in A1, then enter a value in A2 representing how many you're removing or adding to the inventory and then you want A1 to update? That would require VBA but is possible. Or do you want something more complex?

    ChemistB

  3. #3
    Forum Contributor
    Join Date
    10-17-2007
    Location
    Washington, DC
    Posts
    103
    You can do this one of two ways...

    You could list all of your items in the first column of a new sheet, then use a SUMIF(Data!A:A,a1,Data!B:B)
    This will sum all entries in column B that have matches in column A

    OR what you are likely looking for is a simple pivot table. This would allow you to alter the data however you want, and then a refresh data on the pivot table will update all values for 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