+ Reply to Thread
Results 1 to 5 of 5

formula to compare the first 6 digits between 2 columns in a sheet with a confirmmessage

  1. #1
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    formula to compare the first 6 digits between 2 columns in a sheet with a confirmmessage

    I have a workbook with control sheet.

    I have column A with 6 digits and column E with 8 digits

    between them is Column C which represents a check control that column A first 6 digits is equal the first 6 digits of column E.

    If it does not tally then say in that C match "does not match" otherwise" confirm" is both tally

    Looking a formula to achieve this
    Attached Files Attached Files

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: formula to compare the first 6 digits between 2 columns in a sheet with a confirmmess

    Hi,

    Try the following in C2:

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    02-11-2014
    Location
    mauritius
    MS-Off Ver
    MS365
    Posts
    1,086

    Re: formula to compare the first 6 digits between 2 columns in a sheet with a confirmmess

    Thank you worked as a charm cbatrody

    However could explain the use of --infront of if

  4. #4
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: formula to compare the first 6 digits between 2 columns in a sheet with a confirmmess

    -- converts LEFT(E2,6) into a number, without that the match will return FALSE.

  5. #5
    Forum Contributor
    Join Date
    09-18-2015
    Location
    Republic of Korea
    MS-Off Ver
    2010
    Posts
    314

    Re: formula to compare the first 6 digits between 2 columns in a sheet with a confirmmess

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

+ 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 0 to numerical digits of 6 digits only in mixed alphanumerical columns
    By JEAN1972 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-11-2017, 01:35 PM
  2. [SOLVED] Compare the 1st 9 digits in two columns looking for duplicates
    By KARTH7K in forum Excel General
    Replies: 6
    Last Post: 05-18-2016, 07:07 AM
  3. Compare the 1st 9 digits in two columns looking for duplicates
    By Sweetetc in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 05-18-2016, 06:19 AM
  4. Replies: 3
    Last Post: 12-15-2015, 05:04 PM
  5. [SOLVED] Split number digits in columns by formula
    By sanjuss2 in forum Excel General
    Replies: 5
    Last Post: 10-14-2015, 07:24 AM
  6. Replies: 4
    Last Post: 04-05-2012, 11:30 AM
  7. Replies: 5
    Last Post: 09-24-2009, 03:46 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