Results 1 to 9 of 9

How to write a macros to compare to columns & match amounts, but this is a bit more tricky

Threaded View

  1. #1
    Registered User
    Join Date
    05-14-2015
    Location
    Chicago, Illinios
    MS-Off Ver
    2007
    Posts
    35

    How to write a macros to compare to columns & match amounts, but this is a bit more tricky

    Ok guys so i pull in a report. On the left side its the rebates that AP have applied. On the right side its what AR applied.

    Column D is totaled and its sum should match to the sum of column S. If they don't something is off and i have to manually search which amounts are off.

    So in sheet 2 i paste Column D for AP side rebates into column A.

    Column C and so on, is column S, T, Z and AF.

    Columns T Z and AF are basically totaled together to get what you get in the S column. So the way i manually do this in sheet 2 is if Column C does have a combination of totals, i delete whats in column C, and Put whats in columns D, E and F, into rows in Column C. Example


    Column C D E F
    18,869.23 909.23 803.00 17157.00

    turns into:

    C
    909.23
    803.00
    17157.00

    So this pushes the numbers beneath it down accordingly. If column C & D are equal i just delete whats in the D cells. All this is seen in sheet 3. Then in sheet 4, i sort them my least to greatest and find whats not adding up.

    Is there a way to write a macros to do this for me?
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 09-21-2016, 04:21 PM
  2. [SOLVED] Compare two columns and write which is existing in B in C Column
    By uday1969 in forum Excel General
    Replies: 5
    Last Post: 02-04-2015, 12:59 AM
  3. Macro to Compare two columns and publish sheet name in case columns dont match
    By adaws in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-06-2014, 01:21 PM
  4. Replies: 2
    Last Post: 02-23-2014, 09:56 PM
  5. [SOLVED] Compare colunns and if do not match write row to a new sheet
    By djfscouse in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-25-2013, 05:48 PM
  6. HOW DO MATCH AND ELIMINATE AMOUNTS IN TWO COLUMNS IN EXCEL
    By SNOWBREEZE3 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-13-2005, 05:05 PM
  7. [SOLVED] How do I write a VBA code in excel that will compare two columns .
    By PenelopeinCinci in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-14-2005, 01: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