+ Reply to Thread
Results 1 to 2 of 2

blank cell formulae do nothing

Hybrid View

  1. #1
    Paul
    Guest

    blank cell formulae do nothing

    I have created a formulae that asks if A1 = B1 then return the number 3 and
    if not do nothing (for example =IF(A1=B1,3,"") and it works fine as long as
    there are numbers there. My problem is that i want to set up a table and
    this equasion has been draged down the page but when the cells are blank it
    returns a 3 (because both cells are the same) and i only want it to show when
    a number has been inserted to the relavant cells.
    Please help it's driving me nuts.

  2. #2
    Bob Phillips
    Guest

    Re: blank cell formulae do nothing

    =IF(AND(A1=B1,A1<>""),3,"")

    --
    HTH

    Bob Phillips

    (replace somewhere in email address with gmail if mailing direct)

    "Paul" <Paul@discussions.microsoft.com> wrote in message
    news:8AF1157E-3207-4533-AD91-ADE7F3BA4632@microsoft.com...
    > I have created a formulae that asks if A1 = B1 then return the number 3

    and
    > if not do nothing (for example =IF(A1=B1,3,"") and it works fine as long

    as
    > there are numbers there. My problem is that i want to set up a table and
    > this equasion has been draged down the page but when the cells are blank

    it
    > returns a 3 (because both cells are the same) and i only want it to show

    when
    > a number has been inserted to the relavant cells.
    > Please help it's driving me nuts.




+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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