+ Reply to Thread
Results 1 to 5 of 5

comparison in two sheets

  1. #1
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    comparison in two sheets

    Hello everyone..

    Can you help me with the formula?
    i have here a file.

    In EXTRACT&PREVAL Sheet, i need a formula to compare if they have the same value in the 13.GD sheet..
    and also for the same for the customer number exist column..

    It should only return yes or no..

    Thanks alot

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: comparison in two sheets

    They won't be the same, you have text in column E on 13.GD and numbers in the EXTRACT sheet.
    You should really change them to the same type.

    However this solves your problem irrespective of text/numbers:

    in C2 of the EXTRACT sheet
    =IF(B2=VLOOKUP(A2,'13.GD Unloading & Goods Rec'!A$1:E$234,5,0)+0,"Yes","No")
    and copy down column C
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: comparison in two sheets

    Thank you so much!! that worked fine! Great help! thanks again!

  4. #4
    Forum Contributor geliedee's Avatar
    Join Date
    10-14-2013
    Location
    Manila, philippines
    MS-Off Ver
    Excel 2007
    Posts
    399

    Re: comparison in two sheets

    Whats the +0 means in the formula? Sorry forgot to ask

  5. #5
    Registered User
    Join Date
    10-29-2009
    Location
    Zurich, Switzerland
    MS-Off Ver
    Excel 2016
    Posts
    15

    Re: comparison in two sheets

    The table "13.GD Unloading & Goods Rec" has the numbers formatted as text (you see the green triangle on one corner).
    In "EXTRACT&PREVAL" you have them as number.

    If you compare text with numbers, doesnt matter if visually the content is the same, Excel will say they are different.

    If you add 0 to a text that looks like a number, then Excel converts it into a number.

    You can either add 0 or multiply by 1, to convert a text to number.

+ 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. Macro Comparison of sheets
    By toravietl in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-21-2014, 01:22 AM
  2. [SOLVED] Complex Sheets Comparison
    By CatherineAmerica568 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 09-04-2013, 09:05 PM
  3. Help with comparison of sheets
    By fanofdave417 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-12-2012, 01:36 PM
  4. [SOLVED] Automatic data comparison between two sheets
    By pyol17 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 08-02-2012, 07:10 AM
  5. 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