+ Reply to Thread
Results 1 to 4 of 4

Column match formula - with a twist

Hybrid View

  1. #1
    Registered User
    Join Date
    08-17-2015
    Location
    Essex, England
    MS-Off Ver
    Office Excel 2007
    Posts
    32

    Column match formula - with a twist

    Hi Guys,

    Essentially i have two separate sheets. One contains around 400 rows of information pertaining to stores and is the 'complete list' (Sheet 2). I then have another with around 250 rows which include updates (sheet 1), these 250 are within the list of 400.

    What i'm looking for is a formula which can check the reference number on each sheet and where there are matches, mark the list of 400 in a separate column with a character.

    In basic terms...

    If "A1, sheet 2" matches anything in "column J, sheet 1" then fill "AP1, sheet 1" with 'X' otherwise leave blank/fill with 'Z' (which ever is easier)

    I can then easily extract the lines which require an update and do this en masse

    I've been fiddling around but can't crack this one, any ideas ladies and gents?

    Many thanks in advance

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Column match formula - with a twist

    In AP1 copied down

    =IF(ISNUMBER(MATCH(A1, Sheet1!$J$1:$J$500,0)), "X","")
    Does that work for you?
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    08-17-2015
    Location
    Essex, England
    MS-Off Ver
    Office Excel 2007
    Posts
    32

    Re: Column match formula - with a twist

    It didn't i'm afraid - not sure why though as from the looks of it i can't see any issues? (not that i'm an expert of course, thats why i'm here!!!)

    Changed the "" at the end to "Z" and it populated all with that so it is running, just not matching?

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Column match formula - with a twist

    Correct. Whatever is in A1 is not an exact match for what's in J

    If they are numbers, make sure that both are stored as numbers or stored as text. (In empty cell, for example = ISNUMBER(J5) should return true for both J5 and A1

    Look for extra spaces at begging and end of strings (=LEN(J5) should tell you the # of characters)

    Or you could upload the spreadsheet and we could have a look at it (Go Advanced>Manage Attachments)

+ 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. Copy from column to column without blanks but with a twist
    By Taupo58 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-30-2015, 02:59 PM
  2. Index match with a twist
    By namluke in forum Excel General
    Replies: 2
    Last Post: 12-16-2014, 01:22 PM
  3. Rows to Column's with a twist
    By okanem in forum Excel General
    Replies: 4
    Last Post: 10-01-2013, 07:51 AM
  4. [SOLVED] Unique Records in a Column with a twist
    By ciaran01 in forum Excel General
    Replies: 9
    Last Post: 01-15-2013, 05:25 PM
  5. Match with a Twist
    By John in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-18-2006, 03:50 PM
  6. One column to multiple columns - with a twist
    By Tenacious Lee in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-05-2006, 01:21 PM
  7. Add Column Data with Twist
    By John in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-25-2006, 03:45 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