Results 1 to 6 of 6

Macro to Subtract values Where Ref is the same and Values do not sum to Zero

Threaded View

Howardc1001 Macro to Subtract values... 02-04-2023, 12:00 AM
JohnTopley Re: Macro to Subtract values... 02-04-2023, 04:15 AM
Howardc1001 Re: Macro to Subtract values... 02-04-2023, 04:54 AM
beyond Excel Re: Macro to Subtract values... 02-04-2023, 10:43 AM
Howardc1001 Re: Macro to Subtract values... 02-04-2023, 11:29 AM
beyond Excel Re: Macro to Subtract values... 02-04-2023, 11:39 AM
  1. #1
    Forum Contributor
    Join Date
    07-12-2018
    Location
    South Africa
    MS-Off Ver
    Office 2024
    Posts
    2,897

    Macro to Subtract values Where Ref is the same and Values do not sum to Zero

    I have data on sheets "PL recon items" and "Statement Recon Items"

    Where the Ref in Col F on sheet "PL recon items" is the same as Item ID in Col F "Statement Recon Items" but the values in Col I on sheet PL recon items" is the not the same as the Value in Col G on sheet "Statement Recon Items", subtract the value Col G on sheet "Statement Recon Items" from the value in Col I on sheet "PL recon items" and insert the difference in Col I on sheet "PL recon items" . The row containing the Ref Number and Value in Col G on sheet Statement Recon Items" is to then be deleted


    I have shown the results manually in new sheets "PL Result" and "Statement Result"

    It would be appreciated if someone could provide me with code to do this
    Last edited by Howardc1001; 02-04-2023 at 04:53 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Formula to Subtract two values based on the latest values in Weekdays cells
    By Waseem0888 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-18-2021, 11:17 AM
  2. Macro to subtract values where Ref is the same and diff value does not exceed 1.00
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-30-2021, 06:32 AM
  3. Macro to subtract Values where Refs are the same and then to clear the duplicated ref
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-11-2021, 01:40 PM
  4. [SOLVED] Macro to Subtract values where Ref is the same and then delete Duplicate Ref
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-06-2021, 12:27 AM
  5. [SOLVED] What function could help look at values in different columns & subtract based on values?
    By AccountingJ in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-20-2018, 04:18 PM
  6. Button Macro to Subtract values from another cell
    By mdoverl in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-15-2014, 06:42 PM
  7. Need a macro to subtract cell values of 2 separate workbooks.
    By Cindyberlindeee in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2013, 02:35 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