+ Reply to Thread
Results 1 to 3 of 3

True or false formula giving wrong result for null and blank values

  1. #1
    Registered User
    Join Date
    03-06-2014
    Location
    india
    MS-Off Ver
    Excel 2010
    Posts
    47

    True or false formula giving wrong result for null and blank values

    HI,

    I need to compare two cells if it match then return true or false in another cell.but im facing error if one cell have mentioned null value in another cell is blank.Here null and blank value is same but my formula giving false.

    formula used:

    C3=A2=B2

    plz help me

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,935

    Re: True or false formula giving wrong result for null and blank values

    Perhaps

    Try

    =IF(ISERROR(A2),0)=IF(ISERROR(B2),0)
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

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

    Re: True or false formula giving wrong result for null and blank values

    You could do this in C2:

    =OR(AND(A2="",B2=""),A2=B2)

    Hope this helps.

    Pete

+ 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. [SOLVED] Range.Find - Giving back the wrong result
    By KelFofo in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-13-2016, 07:11 PM
  2. [SOLVED] Want IF/VLOOKUP formula null result to display blank, but it's displaying 0
    By xdrenched in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 04-21-2016, 11:47 AM
  3. [SOLVED] Match formula to search range of columns to return True or False result
    By Twaddy006 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2015, 05:42 PM
  4. Macro giving wrong result for counting rows
    By aniletc37 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 03-11-2014, 07:57 AM
  5. formula giving wrong result sometimes?
    By lnjr in forum Excel General
    Replies: 2
    Last Post: 08-13-2010, 09:20 AM
  6. Replies: 3
    Last Post: 03-06-2005, 12:00 PM
  7. IF function giving wrong result
    By dzorug in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-23-2005, 11:41 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