+ Reply to Thread
Results 1 to 3 of 3

Seach two ranges for a duplicate values and replace

  1. #1
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    157

    Seach two ranges for a duplicate values and replace

    I have a macro that I wrote that generates a calendar for me when I put a start date in cell A1. I also have a list of holidays and their dates.

    I need a way to search the range of holidays and have it replace the date with an "H" in the calendar range.

    I have attached my workbook. Any help is appreciated.
    Attached Files Attached Files
    Last edited by Ricker090; 08-10-2011 at 04:59 PM.

  2. #2
    Forum Expert davegugg's Avatar
    Join Date
    12-18-2008
    Location
    WI, US
    MS-Off Ver
    2010
    Posts
    1,884

    Re: Seach two ranges for a duplicate values and replace

    How about this:

    Please Login or Register  to view this content.
    Is your code running too slowly?
    Does your workbook or database have a bunch of duplicate pieces of data?
    Have a look at this article to learn the best ways to set up your projects.
    It will save both time and effort in the long run!


    Dave

  3. #3
    Forum Contributor
    Join Date
    06-17-2010
    Location
    Dallas, TX
    MS-Off Ver
    Excel 2010
    Posts
    157

    Re: Seach two ranges for a duplicate values and replace

    That's interesting. I didn't even think about using the "countifs" function. Thanks!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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