+ Reply to Thread
Results 1 to 4 of 4

Complicated deletion rows after calculation rows fom each other of them based on inv ref

  1. #1
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    732

    Complicated deletion rows after calculation rows fom each other of them based on inv ref

    Hello
    I would search for the same ID(duplicates ID) in column D and search for SELLING & SELLING RETURNING in column E and matching INVOICE NO in column B for each ID with column (I) if contains SELLING RETURNING in column E then should subtract QTY for the ID contains SELLING from QTY for the same ID contains SELLING RETURNING then will change TOTAL column for the ID after QTY*UNIT PRICE also will change TOTAL row for the whole invoice ref . after that should deletes the whole invoice ref contains SELLING RETURNING and change calculation in SUMMING row.
    so I highlighted yellow rows for the ID when change QTY ,TOTAL column, total ROW , the highlighted by green will delete them after calculation
    I highlighted by red for cells how changes after calculation as show in RESULT sheet.
    by the way higlighted just for understanding I don't need it.
    I hope some body help me to do that.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,533

    Re: Complicated deletion rows after calculation rows fom each other of them based on inv r

    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by JohnTopley; 05-15-2024 at 05:22 AM.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  3. #3
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    732

    Re: Complicated deletion rows after calculation rows fom each other of them based on inv r

    Hi John again ,
    I will test it , and inform you soon .

  4. #4
    Forum Contributor
    Join Date
    12-02-2020
    Location
    Asia
    MS-Off Ver
    2010 & 2016 insider(Windows 10 64-bit)
    Posts
    732

    Re: Complicated deletion rows after calculation rows fom each other of them based on inv r

    it's excellent !
    many thanks.

+ 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. Rows deletion based on multiple conditions
    By abhinavbinkar in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-26-2023, 01:33 PM
  2. Duplicate deletion macro does not match number of rows for deletion by hand
    By Ianmacros in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2019, 06:07 PM
  3. [SOLVED] Calculation based on cells a specified number of rows apart
    By mbender in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-23-2015, 01:48 AM
  4. Replies: 1
    Last Post: 11-28-2013, 05:38 AM
  5. [SOLVED] Count rows based on calculation with their columns
    By matyicsapo in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-19-2012, 11:40 AM
  6. On deletion of rows
    By Stephen Howe in forum Excel General
    Replies: 2
    Last Post: 10-07-2005, 01:05 PM
  7. [SOLVED] Deletion of rows where a value is satisfied
    By Larry Wallis in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2005, 09:06 AM

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