Results 1 to 5 of 5

VB Code to compare 2 columns of data

Threaded View

  1. #1
    Valued Forum Contributor
    Join Date
    01-18-2007
    Location
    Georgia
    MS-Off Ver
    2010
    Posts
    4,434

    VB Code to compare 2 columns of data

    Hello:

    Please refer to attached file.
    I have date in Column A and check # in Column B.
    I need VB Code to go thru the data and do the following:
    Compare the check# with the date.
    I need a unique check number for a given date.
    Looking at the attached file, i have highlighted yellow.
    Here i have Check # 2947 for 6/1/2016.
    Now i see Check # 2947 for 6/15/2016.
    SO in this case i need to add 1 at the end of check # for 6/15/2016.
    So the yellow highlighted field would become "29471"
    I have other data down the list the same issue.
    I hope this is clear what i am trying to accomplish

    Let me know if you have any questions.
    Thanks.

    Riz
    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. Compare columns edit VBA code
    By Hikaru12 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2015, 06:05 PM
  2. Need VBA Code to compare Values in two columns
    By Karthik Sen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2014, 05:20 PM
  3. VBA Code to Compare Two Worksheets and display the columns with changes.
    By mrbhide in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-05-2013, 12:33 AM
  4. VBA Code - Compare Adjacent Cells In two columns...
    By mtt23 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-13-2012, 05:47 AM
  5. VBA - Code to compare 2 columns
    By Swiss Cheese in forum Excel Programming / VBA / Macros
    Replies: 23
    Last Post: 08-08-2012, 05:26 AM
  6. Help with VB code to compare two columns
    By Farooq Sheri in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2006, 07:20 AM
  7. 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