+ Reply to Thread
Results 1 to 4 of 4

If ANY matching ID numbers have Yes then value = Yes

  1. #1
    Registered User
    Join Date
    03-08-2020
    Location
    UK
    MS-Off Ver
    365 Business & 365 Family
    Posts
    34

    If ANY matching ID numbers have Yes then value = Yes

    Hi,

    I need a little help with something please. I have the following data on 2 sheets of my excel document:

    Sheet1:
    Please Login or Register  to view this content.
    Sheet2:
    Please Login or Register  to view this content.
    RTM is currently blank on Sheet1. Im trying to work out a formula so it searches for the account number on Sheet2 and if any of the same account numbers has ATO as the value as Yes then the value on Sheet1 will be Yes. As there are multiple records of the name account number on Sheer2 (each record meaning something different) I'm not sure how to do this, if it was just a single record then id do a IF ISNA and Vlookup formula, but because theres multiple records with the same same account number im not sure how to do this.

    So for example 9223585, even though theres 2 records for the account number on Sheet2 it would return Yes as one of those records has the value of Yes on the ATO.

    Any help would be great please.

    Thanks

  2. #2
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: If ANY matching ID numbers have Yes then value = Yes

    Hi & welcome to the board.
    How about
    =IF(ISERROR(XMATCH(A2&"|Yes",Sheet2!$A$2:$A$9&"|"&Sheet2!$B$2:$B$9,0)),"","Yes")

  3. #3
    Registered User
    Join Date
    03-08-2020
    Location
    UK
    MS-Off Ver
    365 Business & 365 Family
    Posts
    34

    Re: If ANY matching ID numbers have Yes then value = Yes

    Thank you very much, its very much appreciated as that's worked a treat.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,746

    Re: If ANY matching ID numbers have Yes then value = Yes

    You're welcome & thanks for the feedback

+ 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. Replies: 8
    Last Post: 05-26-2016, 06:00 PM
  2. [SOLVED] Matching a duplicate row of numbers in a list of numbers in rows
    By sgrondines in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-18-2015, 09:24 AM
  3. Replies: 2
    Last Post: 05-02-2015, 10:49 AM
  4. Replies: 6
    Last Post: 11-26-2014, 11:45 AM
  5. [SOLVED] Assign incremental numbers to matching Invoice numbers
    By berger01 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-06-2013, 10:54 AM
  6. Replies: 4
    Last Post: 06-06-2011, 04:54 PM
  7. Deleting rows matching numbers from numbers in column
    By cyki in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 09-11-2008, 09:16 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