+ Reply to Thread
Results 1 to 6 of 6

Simple If formula but can't get my head around it!

  1. #1
    Cheryl
    Guest

    Simple If formula but can't get my head around it!

    I have column A which has a score in it . In column B I have the formula:

    =IF(A2>=326,"Pass","Fail")

    This works ok but enters Fail even if there is no entry in column A. I want
    to add to the formula the condition that if the cell is blank then the cell
    in column B should also be blank.

    I would be grateful for any help,

    Thanks,

    Cheryl

  2. #2
    Danny Lewis
    Guest

    RE: Simple If formula but can't get my head around it!

    Hi Cheryl

    =IF(A2="","",IF(A2>=326,"Pass","Fail"))

    Danny

    "Cheryl" wrote:

    > I have column A which has a score in it . In column B I have the formula:
    >
    > =IF(A2>=326,"Pass","Fail")
    >
    > This works ok but enters Fail even if there is no entry in column A. I want
    > to add to the formula the condition that if the cell is blank then the cell
    > in column B should also be blank.
    >
    > I would be grateful for any help,
    >
    > Thanks,
    >
    > Cheryl


  3. #3
    CLR
    Guest

    RE: Simple If formula but can't get my head around it!

    This will also check for TEXT in A2.........

    =IF(OR(A2="",ISTEXT(A2)),"",IF(A2>=326,"Pass","Fail"))

    Vaya con Dios,
    Chuck, CABGx3




    "Cheryl" wrote:

    > I have column A which has a score in it . In column B I have the formula:
    >
    > =IF(A2>=326,"Pass","Fail")
    >
    > This works ok but enters Fail even if there is no entry in column A. I want
    > to add to the formula the condition that if the cell is blank then the cell
    > in column B should also be blank.
    >
    > I would be grateful for any help,
    >
    > Thanks,
    >
    > Cheryl


  4. #4
    Cheryl
    Guest

    RE: Simple If formula but can't get my head around it!

    Thanks Danny, just what I wanted

    Cheryl

    "Danny Lewis" wrote:

    > Hi Cheryl
    >
    > =IF(A2="","",IF(A2>=326,"Pass","Fail"))
    >
    > Danny
    >
    > "Cheryl" wrote:
    >
    > > I have column A which has a score in it . In column B I have the formula:
    > >
    > > =IF(A2>=326,"Pass","Fail")
    > >
    > > This works ok but enters Fail even if there is no entry in column A. I want
    > > to add to the formula the condition that if the cell is blank then the cell
    > > in column B should also be blank.
    > >
    > > I would be grateful for any help,
    > >
    > > Thanks,
    > >
    > > Cheryl


  5. #5
    Cheryl
    Guest

    RE: Simple If formula but can't get my head around it!

    Thanks Danny, just what I wanted

    Cheryl

    "Danny Lewis" wrote:

    > Hi Cheryl
    >
    > =IF(A2="","",IF(A2>=326,"Pass","Fail"))
    >
    > Danny
    >
    > "Cheryl" wrote:
    >
    > > I have column A which has a score in it . In column B I have the formula:
    > >
    > > =IF(A2>=326,"Pass","Fail")
    > >
    > > This works ok but enters Fail even if there is no entry in column A. I want
    > > to add to the formula the condition that if the cell is blank then the cell
    > > in column B should also be blank.
    > >
    > > I would be grateful for any help,
    > >
    > > Thanks,
    > >
    > > Cheryl


  6. #6
    Cheryl
    Guest

    RE: Simple If formula but can't get my head around it!

    Thanks Danny, just what I wanted

    Cheryl

    "Danny Lewis" wrote:

    > Hi Cheryl
    >
    > =IF(A2="","",IF(A2>=326,"Pass","Fail"))
    >
    > Danny
    >
    > "Cheryl" wrote:
    >
    > > I have column A which has a score in it . In column B I have the formula:
    > >
    > > =IF(A2>=326,"Pass","Fail")
    > >
    > > This works ok but enters Fail even if there is no entry in column A. I want
    > > to add to the formula the condition that if the cell is blank then the cell
    > > in column B should also be blank.
    > >
    > > I would be grateful for any help,
    > >
    > > Thanks,
    > >
    > > Cheryl


+ 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