+ Reply to Thread
Results 1 to 3 of 3

Advice on formulas (I think Lookup Function)

  1. #1
    Registered User
    Join Date
    11-01-2011
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Advice on formulas (I think Lookup Function)

    Hello.

    Please see spreadsheet attached.

    I am looking to create a formula to go into column B of sheet 2. For instance, in Cell B1, it should return the value "Yes" if the value in the cell A1 (of sheet 2) is present in the whole range of cells of Column A of sheet 1 AND Column C of sheet 1.

    If this condition is not met, Cell B1 should return the value "No".

    Is this possible?

    Many thanks in advance for any assistance offered.

    Best regards,

    Ian
    (Karelia Suite)

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,731

    Re: Advice on formulas (I think Lookup Function)

    Put this in B1:

    =IF(AND(COUNTIF(Sheet1!A:A,A1),COUNTIF(Sheet1!C:C,A1)),"yes","no")

    then copy down.

    Hope this helps.

    Pete

  3. #3
    Registered User
    Join Date
    11-01-2011
    Location
    Nottingham, England
    MS-Off Ver
    Excel 2007
    Posts
    12

    Re: Advice on formulas (I think Lookup Function)

    Many many thanks Pete, this is exactly what I need!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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