Results 1 to 2 of 2
  1. #1
    2 Star Lounger
    Join Date
    Dec 2002
    Posts
    192
    Thanks
    0
    Thanked 0 Times in 0 Posts

    formula with empty cell (2003)

    I have data lets say from A2:A6, I’m using this formula in B2
    =if(A2=A3, “same”,””) The problem is when I copy the formula down to B100 everything past B6 will give you “Same”. A7 and A8 are = to each other because they are empty cells yet. Is there away that if you don’t have text in A that B with the formula will be blank all the way down. Everytime I add new data I have to copy the formula down to keep the database looking nice and not having "Same" from B7:B100

  2. #2
    5 Star Lounger
    Join Date
    Aug 2004
    Location
    Connecticut, USA
    Posts
    816
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: formula with empty cell (2003)

    The following will display a blank cell if both cell you are comparing are blank.

    =if(AND(A2="",A3=""),"", IF(A2=A3, “same”,””))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •