+ Reply to Thread
Results 1 to 5 of 5

Need to Mark an Item if it appears on another page as well

  1. #1
    Registered User
    Join Date
    01-28-2004
    Posts
    9

    Question Need to Mark an Item if it appears on another page as well

    I suspect this is an easy function but I can't seem to figure out how to do it.

    I have a group of names from A4 to A379 on one Tab (Sheet1).

    I have another group of names from A4 to A297 on another Tab (Sheet2).

    There is significant overlap of names of the two lists.

    In Column C of Sheet1 I want to place an 'X' on the same row if that Name also appears on Sheet 2. Otherwise it will remain blank.

    An alternative would be some Conditional Formatting but I prefer for an 'X' to be placed next to the name on Sheet1.

    Much thanks,
    Curt

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need to Mark an Item if it appears on another page as well

    Try this...

    Enter this formula in cell C4 on Sheet1:

    =IF(COUNTIF(Sheet2!A$4:A$279,A4),"X","")

    Copy down to C379.
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: Need to Mark an Item if it appears on another page as well

    Try:

    Sheet1, C4: =REPT("X",COUNTIF(Sheet2!$A$4:$A$297,$A4)>0)

    and copy down.

    EDIT: formula change and in line with Tony (getting late here in Stockholm...). Only returns a string if there Countif >= 0, else leaves an empty string.
    Last edited by berlan; 08-17-2015 at 07:56 PM.

  4. #4
    Registered User
    Join Date
    01-28-2004
    Posts
    9

    Re: Need to Mark an Item if it appears on another page as well

    That's great. Thanks a lot.

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Need to Mark an Item if it appears on another page as well

    You're welcome. Thanks for the feedback!


    If your question has been solved please mark the thread as being solved.

    In the menu bar above the very first post select Thread Tools, then select 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. How to total how many times an item appears, with a condition
    By lauracvp in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-20-2015, 09:48 AM
  2. How to calculate cost of item sold at a mark-up of 2.5%?
    By yjohari in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2013, 07:38 PM
  3. [SOLVED] Mark Y/N if text appears in another column
    By KMorris10 in forum Excel General
    Replies: 8
    Last Post: 04-05-2012, 10:25 PM
  4. Replies: 3
    Last Post: 03-26-2009, 04:45 AM
  5. Mark Where A Phrase Appears Twice
    By SamuelT in forum Excel General
    Replies: 3
    Last Post: 03-13-2007, 12:19 PM
  6. Menu Item check mark??
    By Derrick in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2005, 02:06 PM
  7. [SOLVED] How do I mark an item as paid so it is not included in a column t.
    By BradLewBooks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-19-2005, 07:06 PM

Tags for this Thread

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