+ Reply to Thread
Results 1 to 2 of 2

Formula to test comparison between file name and cell values

  1. #1
    Forum Contributor
    Join Date
    11-06-2021
    Location
    Tripoli
    MS-Off Ver
    Still using 2007 in 2023
    Posts
    289

    Red face Formula to test comparison between file name and cell values

    Hello guys,
    Great to meet again
    I am in need of assistance with creating a formula in Excel to verify the accuracy of barcode data entered in column A. The formula should enforce compliance with a set of specified rules to ensure the integrity of the data. Specifically, the formula must verify that the numbers preceding the first dash in the file name match the numbers preceding the first dash in the barcodes entered in column A, and that the numbers following the first dash in the file name match the numbers following the last dash in the barcodes entered in column A. Any discrepancies from these rules should result in a False output. It is important to note that the number of characters involved in the comparison is not limited and that the comparison should disregard any characters found between the two dashes. Please refer to my excel sheet for more clarity.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,147

    Re: Formula to test comparison between file name and cell values

    In A1

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    in B2

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this 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. Replies: 8
    Last Post: 07-12-2018, 01:15 PM
  2. [SOLVED] Highest Test Score & Date range comparison formula problem
    By Doofus1 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 03-09-2018, 09:56 PM
  3. Comparison of two lists in a single cell test
    By PvanS in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-06-2017, 10:42 AM
  4. [SOLVED] Formula or VBA - Comparison CSV Values between 3 cells for used range. Find unique values.
    By grphillips in forum Excel Programming / VBA / Macros
    Replies: 36
    Last Post: 06-09-2014, 02:12 PM
  5. Replies: 3
    Last Post: 08-21-2013, 07:10 PM
  6. Formula to count distinct values WITH a lookup comparison
    By rgunning06 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-16-2009, 05:30 PM
  7. [SOLVED] Logical Test comparison using cell color
    By chamuko in forum Excel General
    Replies: 2
    Last Post: 11-08-2005, 11:25 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