Results 1 to 3 of 3

Need remaining average inventory price after partial inventory is sold

Threaded View

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    Siingapore
    MS-Off Ver
    Excel 2003-2010
    Posts
    2

    Question Need remaining average inventory price after partial inventory is sold

    Hi guys,

    I try my best to explain what I might be doing.

    I'm buying inventory everyday and sometimes a couple of times a day, and each time, the price is different so I'm using excel to calculate the average price of all the inventories I had bought and had used this formula:

    =SUMPRODUCT(B2:B2000,C2:C2000)/SUM(B2:B2000)

    It works well until when I sold partial of my stock at a higher price and the formula took into account the "profit" and average cost value becomes negative.

    Will it be possible to set a rule so that each time column B has a negative value (which means I sold the item) the remaining inventories will be equally divided among the previous positive value of column B and multiply by the respective cost of purchase to find the new average? Or will it be possible to find the previous highest unit cost with respect to the previous positive value of inventories and mutiply by it? Or whatever better idea for solving this issue?

    I have attached the excel in here too.
    Thanks in advance and any help would be greatly appreciated.
    Attached Files Attached Files

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