+ Reply to Thread
Results 1 to 4 of 4

Comparison of values from two sheets and saving yes or no

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    Poland
    MS-Off Ver
    2019
    Posts
    19

    Comparison of values from two sheets and saving yes or no

    Hello.
    I have two Excel files, which I put in the attachment.

    I am looking for some method that will simplify the work.

    In file 1 there are numbers in column E
    In file 2 there are also numbers in column C

    The formula is supposed to work like this. If there is the same number in column 1 and 2, then "YES" near number should be written in file 2. in column E. However, if the file 2 contains a number that is not in the file 1. it is to be written with "NO"

    2497938600_1554072101.jpg
    Attached Files Attached Files

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,929

    Re: Comparison of values from two sheets and saving yes or no

    Hi, welcome to the forum

    Quote Originally Posted by locarnos View Post
    Hello.
    I have two Excel files, which I put in the attachment....
    No, you only attached 1 excel file?

    Maybe something like countif, inside an IF statement?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    01-24-2019
    Location
    Poland
    MS-Off Ver
    2019
    Posts
    19

    Re: Comparison of values from two sheets and saving yes or no

    File 1 is in CSV. But you can convert it to xlsx or something.

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Comparison of values from two sheets and saving yes or no

    Please Login or Register  to view this content.
    Last edited by protonLeah; 04-07-2019 at 03:37 PM.
    Ben Van Johnson

+ 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. comparison in two sheets
    By geliedee in forum Excel General
    Replies: 3
    Last Post: 01-05-2015, 11:09 AM
  2. comparison in two sheets
    By geliedee in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-04-2014, 07:26 AM
  3. Replies: 1
    Last Post: 08-14-2014, 09:50 PM
  4. Help with comparison of sheets
    By fanofdave417 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 01:36 PM
  5. Replies: 6
    Last Post: 02-22-2012, 11:26 AM
  6. Macro for saving / loading values between sheets
    By bell123 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2011, 02:41 PM
  7. Comparison or two sheets
    By Chuck in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-15-2005, 02:06 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