+ Reply to Thread
Results 1 to 3 of 3

Formula or UDF to match 2 cells

  1. #1
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    740

    Formula or UDF to match 2 cells

    Hello Everybody,
    The data in this table are dates in the format "00"
    Question: Can you help me in this question:
    I need a formula or UDF to compare between column B and C,and give me ""1"" if there is a difference between them"
    -The result should be in column E
    Note:The udf should ignore dates(not the whole cell) which contains "/" like "2/9" and "6/9"
    find the attachment
    Attached Files Attached Files

  2. #2
    Forum Expert WideBoyDixon's Avatar
    Join Date
    10-03-2016
    Location
    Sheffield, UK
    MS-Off Ver
    365
    Posts
    1,911

    Re: Formula or UDF to match 2 cells

    Create a new module in VBA editor and paste the following:

    Please Login or Register  to view this content.
    Then make the formula for E3 this:

    Please Login or Register  to view this content.
    Copy the formula down to E25.

    WBD
    Attached Files Attached Files
    Office 365 on Windows 11, looking for rep!

  3. #3
    Forum Contributor
    Join Date
    02-24-2015
    Location
    Egypt
    MS-Off Ver
    Office 365 ProPlus
    Posts
    740

    Re: Formula or UDF to match 2 cells

    Thank you very much

+ 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. [SOLVED] Add to existing match index formula a formula that will leave cells blank
    By Hedy in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-15-2017, 02:34 PM
  2. Creating INDEX MATCH MATCH formula based off text in cells
    By bbkdude in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-26-2017, 10:37 AM
  3. Match formula for multiple, different cells
    By gavibe in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-13-2016, 12:41 PM
  4. Replies: 11
    Last Post: 01-12-2016, 03:30 PM
  5. [SOLVED] IF formula to match 2 different cells to 4 key possibilities
    By andyoungy in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-09-2015, 01:44 PM
  6. [SOLVED] Formula to put a number into cells that match
    By BigTandthepc in forum Excel General
    Replies: 2
    Last Post: 06-12-2012, 08:23 AM
  7. [SOLVED] Trying to get a match on Four of Five cells, which formula is use
    By Aldin Linton in forum Excel General
    Replies: 1
    Last Post: 06-07-2006, 04:33 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