+ Reply to Thread
Results 1 to 10 of 10

issue qty equals to purchase qty

  1. #1
    Registered User
    Join Date
    05-28-2013
    Location
    sri lanka
    MS-Off Ver
    Excel 2019
    Posts
    36

    issue qty equals to purchase qty

    I want to get purchase qty in issue qty column where there is tran type is sale or trfr(transfer) in way that issue qty not exceed purchase qty for particular item code.
    also keep in mind where purch entry is there in tran type column, issue qty should be zero in the same row.


    i want to get issue qty by formula in Column D. The desired result to get from formula is shown in column F.





    thanks in advance.
    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 2403
    Posts
    44,053

    Re: issue qty equals to purchase qty

    D2, copied down:
    =IF(A2<>"purc",SUM(C$2:C2)-SUM(D$1:D1),0)

    see file.
    Attached Files Attached Files
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    05-28-2013
    Location
    sri lanka
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: issue qty equals to purchase qty

    Quote Originally Posted by Glenn Kennedy View Post
    D2, copied down:
    =IF(A2<>"purc",SUM(C$2:C2)-SUM(D$1:D1),0)

    see file.
    thanks Glenn for your quick response.


    if i sort the data with column A this condition failed please keep the keyword ie. item code (in column B) in formula.
    Last edited by db; 12-22-2023 at 08:03 AM.

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

    Re: issue qty equals to purchase qty

    You should have said that you wanted to sort the data in the first post.

  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 2403
    Posts
    44,053

    Re: issue qty equals to purchase qty

    Attach a file showing what you mean by sorting.

  6. #6
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: issue qty equals to purchase qty

    I guess what OP's want is in D2 and copy down.

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    05-28-2013
    Location
    sri lanka
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: issue qty equals to purchase qty

    dear all,

    sorry for the delay response. this time please find the revised sheet with adding new date column(sort by column A and then Column B). my query is same.


    I want to get purchase qty in issue qty column where there is tran type is sale or trfr(transfer) in way that issue qty not exceed purchase qty for particular item code.
    also keep in mind where purch entry is there in tran type column, issue qty should be zero in the same row.


    i want to get issue qty by formula in Column D. The desired result to get from formula is shown in column F.



    Regards,
    Attached Files Attached Files

  8. #8
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: issue qty equals to purchase qty

    Try this in E2 and copy down.

    Please Login or Register  to view this content.

  9. #9
    Registered User
    Join Date
    05-28-2013
    Location
    sri lanka
    MS-Off Ver
    Excel 2019
    Posts
    36

    Re: issue qty equals to purchase qty

    Quote Originally Posted by windknife View Post
    Try this in E2 and copy down.

    Please Login or Register  to view this content.
    thanks windknife, it works for me.

  10. #10
    Forum Expert
    Join Date
    04-14-2009
    Location
    Taiwan
    MS-Off Ver
    Excel 2016,2019,O365
    Posts
    2,004

    Re: issue qty equals to purchase qty

    You are 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. Dax, Sales and Purchase price finding issue and proper sum up
    By hansolu in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 03-13-2023, 01:02 AM
  2. Issue with IF/EQUALS cell
    By HNS2020 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-28-2021, 12:35 PM
  3. Excel macro code issue in creating Purchase Stock sheet - Please help urgent
    By Aswinraj1989 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-11-2015, 05:28 AM
  4. [SOLVED] Populate my Purchase order from a list of Purchase Order numbers and their details
    By Carolbell44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 07:14 AM
  5. Macro Reqd to update Purchase order log, everytime a new purchase order is made
    By manthankanabar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 01:47 AM
  6. Replies: 1
    Last Post: 06-01-2005, 07:05 PM
  7. [SOLVED] purchase order counter in excel purchase order template
    By Brandy@baoco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 03:06 PM

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