+ Reply to Thread
Results 1 to 3 of 3

Criteria for two of the same text in 2 different columns

  1. #1
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Criteria for two of the same text in 2 different columns

    I need a formula or macro which will not let me put 2 of the same text in 2 different columns for example column A line 2"Apple" Column B Line 2 "Apple" it will not go in sheet.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Criteria for two of the same text in 2 different columns

    This is clearly a much simplified example and probably doesn't represent the size of your actual data. We often find that when we give an answer to what is a trivial non representative example when the solution is used with the real world data it doesn't work because of factors like string length and other stuff which is important but hasn't been mentioned.

    Therefore upload your real workbook (or at least a cut down copy), and manually add the results you expect to see. Clearly identify which is original data and which are the results and in a note clearly explain how you have arrived at your results.

    Show a before and after situation with manually calculated results, explaining which information is data and which is results, and if it's not blindingly obvious how you have arrived at your results some explanatory notes as well.


    To upload a file click the Go Advanced button at the foot of your post, look underneath the post area for the Manage Attachments section and take it from there.Hi,
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Criteria for two of the same text in 2 different columns

    Sure, please see attached there are apples in a3 and b3 so if they match then it should not let me input at all.
    Attached Files Attached Files

+ 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: 3
    Last Post: 05-20-2019, 09:29 AM
  2. [SOLVED] Return text based on matching two columns criteria
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-05-2018, 07:39 AM
  3. [SOLVED] Delete row based on text criteria in multiple columns
    By Jim885 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-23-2015, 12:16 AM
  4. [SOLVED] Match text in two columns with criteria list
    By T15K in forum Excel General
    Replies: 5
    Last Post: 12-24-2014, 02:46 AM
  5. [SOLVED] I need to fill 2 text columns based on criteria from 2 adjacent columns
    By JohnnyBoyxxx in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-04-2014, 02:55 PM
  6. SumIF with multiple columns with non-specific text criteria
    By Funky_Finance in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-22-2014, 02:19 PM
  7. Sum column if 2 other columns meet text and date criteria
    By alanelizabeth in forum Excel General
    Replies: 4
    Last Post: 12-30-2012, 10:13 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