+ Reply to Thread
Results 1 to 4 of 4

IF logical statement

  1. #1
    Registered User
    Join Date
    03-29-2009
    Location
    New Orleans, LA
    MS-Off Ver
    Excel 2003
    Posts
    9

    IF logical statement

    I am trying to write an if statement can somebody please help me...

    In row C3 all I have is the letter S

    I need the if statement to say If c3=S then blah blah blah Everytime i enter

    If logical statement and enter c3=S it tells me name# ?? How do I enter this to get this statement?

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF logical statement

    you must use quotations around text, ie:

    =IF(C3="S",1,2)

    would return 1 where C3 = "S" and 2 where not true.

  3. #3
    Registered User
    Join Date
    03-29-2009
    Location
    New Orleans, LA
    MS-Off Ver
    Excel 2003
    Posts
    9

    Lightbulb Re: IF logical statement

    one final question

    thank you for the help...

    I need it to say If C3 = "N" is true then Multiply B5*4, if not then 0

    How do I get it to multiply to cells once I have established a true/false statement in the IF logical

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: IF logical statement

    You've done it....

    =IF(C3="N",B5*4,0)

    Check out XL help for more info on IF function.

+ 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