+ Reply to Thread
Results 1 to 4 of 4

Calculate the correct cost when more than 1 cost price

  1. #1
    Registered User
    Join Date
    04-24-2012
    Location
    Wiltshire, England
    MS-Off Ver
    Office 365
    Posts
    44

    Calculate the correct cost when more than 1 cost price

    Hi - on Sheet "Stock" I have a 2 column 9 row table starting in C4. In cell C4 on April 1st I enter opening stock cost price and in D4 opening stock quantity carried over from previous year. This is repeated for each product.
    As stock is purchased the cost price can fluctuate up and down so, if the cost price is different to a cost already in column C it goes in the next cell down and the quantity updates in adjacent cell

    On a different sheet "Sales" I need to account for sales and currently list those by customer rows. In each row I'd like to calculate the cost of the order and sometimes the cost of product is more than 1 cost price eg - say customer Smith buys 1000 bottles of water. If I had opening stock of 400 at $0.95 bought 345 at $1 and 500 at $1.05 and sold them all at $1.20 the gross profit should be $207.25. I need a formula to calc the cost of $992.75 relating to the purchases and the different pricing.

    The formula needs to know how many have been sold already so I have a cell in the row to tell me that, AL??
    We use first stock in first stock out for calculating stock sold and stock left

    I appreciate the help, thank you

  2. #2
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Calculate the correct cost when more than 1 cost price

    HI CplSmudge,

    Welcome to the forum.

    Would suggest you to upload a sample file to explain your query. thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  3. #3
    Registered User
    Join Date
    04-24-2012
    Location
    Wiltshire, England
    MS-Off Ver
    Office 365
    Posts
    44

    Re: Calculate the correct cost when more than 1 cost price

    file attached hopefully
    Attached Files Attached Files
    Last edited by CplSmudge; 04-24-2012 at 10:57 AM. Reason: to correct

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Calculate the correct cost when more than 1 cost price

    Hi CplSmudge,

    I am not getting it.. which cell in the range you want to be formulated... basis what criteria... please highlight them... thanks.

    Regards,
    DILIPandey

    <click on below 'star' if this helps>

+ 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