+ Reply to Thread
Results 1 to 2 of 2

Find a specifc entry in an array with multiple entries of the key field

  1. #1
    Forum Contributor
    Join Date
    04-13-2010
    Location
    England
    MS-Off Ver
    Office 2016 365
    Posts
    211

    Cool Find a specifc entry in an array with multiple entries of the key field

    Hi everyone,

    I have a list of services for machines. The information for one service forms one entry of the spreadsheet.

    The machine has a unique serial number which is on each service entry.

    Each service entry has a type A, B, C or D.

    The service type required for a machine is determined by its contract type.

    I am working in another table which is a list of machines but i do not have the contract type and want to determine it from the data held in the service history file, which helpfully, also doesn't have the Contract Type!

    So i need a lookup that will:

    If the Machine has EVER had a service of type "A" then it is Contract Type 1
    If the Machine has NEVER had a service type of "A" then it is Contract Type 2


    Could anyone help me with a formula to achieve this? I've attached a basic example.

    Thanks in advance for your help.
    Attached Files Attached Files
    Last edited by JungleJme; 07-25-2012 at 07:37 AM.

  2. #2
    Forum Contributor
    Join Date
    04-13-2010
    Location
    England
    MS-Off Ver
    Office 2016 365
    Posts
    211

    Re: Find a specifc entry in an array with multiple entries of the key field

    Had a moment of clarity and came up with

    =IF(COUNTIFS(B:B,"A",A:A,D4)>0,"Type 1","Type 2")

    Seems to have sorted it!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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