+ Reply to Thread
Results 1 to 8 of 8

Calculate remaining items

  1. #1
    Registered User
    Join Date
    12-07-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    3

    Post Calculate remaining items

    Hi. I have been struggling with a formula for some time.
    I have an excel sheet that needs to calculate the remaining items of a purchase order, by looking at the delivery lines. If the column with the "items" are the same as the purchase (column C & K), then it has to deduct the shipped amount (column D) from the purchased amount (column L) and show the result (column M)

    I hope someone can help me
    Attached Files Attached Files

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculate remaining items

    Is this what you meant:

    =IF(L3="","",L3-(SUMIFS(D:D,A:A,I3,B:B,J3,C:C,K3)))
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculate remaining items

    Hi and welcome to the forum.

    Maybe in C3 copied down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Registered User
    Join Date
    12-07-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    3

    Re: Calculate remaining items

    Thanks a lot for helping
    I seem to be getting an error if I paste these examples into M3, where the result should be displayed.

    So in my example, C3 and C6 are shipped items of the purchse in K4 (steelbook) - Shipped lines is 1+4, and purchase is 50 (L4). So in M4 is should say L4-D1-D6 and display the result 45.
    Does this makes any sense?

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculate remaining items

    Firstly, who are you talking to?

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculate remaining items

    As far as I can see - my formula was giving 45...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-07-2015
    Location
    Copenhagen, Denmark
    MS-Off Ver
    2013
    Posts
    3

    Re: Calculate remaining items

    Thank you so much - I must have made an error pasting it in. :D

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Calculate remaining items

    Cheers.... You're welcome.

+ 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] Calculate the total of a unique item and place in column G and make remaining items 0
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-05-2015, 04:00 PM
  2. Replies: 1
    Last Post: 11-05-2015, 03:18 PM
  3. [SOLVED] Calculate time remaining
    By WendyvdV in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 02-27-2015, 08:44 AM
  4. Vlookup with remaining items populated below
    By excelnoob927 in forum Excel General
    Replies: 11
    Last Post: 01-02-2015, 09:10 PM
  5. [SOLVED] Vlookup with remaining items populated below
    By excelnoob927 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-31-2014, 11:07 PM
  6. Remove specific item from array while preserving order of remaining items
    By g8r777 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-13-2012, 01:57 AM
  7. Replies: 6
    Last Post: 06-28-2010, 11:16 AM

Tags for this Thread

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