+ Reply to Thread
Results 1 to 5 of 5

Reference based on if data appears on anther worksheet

  1. #1
    Registered User
    Join Date
    06-06-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    25

    Reference based on if data appears on anther worksheet

    Morning All,

    I currently have 2 worksheets, worksheet 1 is called "PML" & worksheet 2 is called "Completed"

    PML has 3 columns, 1- survey, 2-install, 3-site code
    Completed has 2 columns, 1-site code, 2- visit type (2 options, 1-survey, 2-install)

    I would like for PML-Survey to display the text "completed " if PML-site code appears in Completed-site code with Completed-visit type set as survey.

    I have attached a demo workbook in case my explanation isn't up to scratch.

    Many Thanks in advance

    status.xlsx

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,891

    Re: Reference based on if data appears on anther worksheet

    Try this in cell A2 of the PML worksheet and copy down.

    =IF(COUNTIFS(Completed!A:A,C2,Completed!B:B,A$1)>0,"Completed","")

  3. #3
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Reference based on if data appears on anther worksheet

    Hi
    BadlySpelledBuoy's solution is easiest and simplest. Mine is just an alternative

    PML sheet a2 cell =IFERROR(INDEX(Completed!$B$2:$B$15,MATCH(1,(PML!$C2=Completed!$A$2:$A$15)*(PML!A$1=Completed!$B$2:$B$15),0)),"")
    Then hit Ctrl+Shift+Enter
    Appreciate the help? CLICK *

  4. #4
    Registered User
    Join Date
    06-06-2012
    Location
    Yorkshire
    MS-Off Ver
    Excel 2010
    Posts
    25

    Re: Reference based on if data appears on anther worksheet

    Many Thanks to both BadlySpelledBuoy & AZ-XL both solutions work spot on, Cheers

  5. #5
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Reference based on if data appears on anther worksheet

    You are welcome. Also you may click star button to users who helped to solve you problem.
    Good Luck

+ 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] how to format a cell based on the data reference in another worksheet
    By divi123 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-13-2014, 04:47 AM
  2. Copy data from a copied worksheet to another worksheet based on cell reference
    By tantcu in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-08-2013, 02:18 PM
  3. drop down list that will filter on anther worksheet
    By adias49 in forum Excel General
    Replies: 0
    Last Post: 01-14-2012, 11:09 AM
  4. Display data reference from another worksheet based on cell reference
    By Drew123 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-18-2011, 03:52 PM
  5. Replies: 1
    Last Post: 06-30-2011, 06:56 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