+ Reply to Thread
Results 1 to 4 of 4

Second Logical test in if statement

  1. #1
    Registered User
    Join Date
    07-27-2006
    Posts
    68

    Second Logical test in if statement

    heres what I have

    =IF(S!A7="","",S!A7)


    In addition the the formula returning "" when s!a7 is blank, I would also like it to return "" if the cell contains "-".

    I believe what i need is a nested if, or an and operator, but im not familiar with those types of formulas.

    Thanks for your help!

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello speakers_86,

    Use the OR operator...
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

  3. #3
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Second Logical test in if statement

    EDITED:
    Please Login or Register  to view this content.
    Does that help?
    Last edited by Ron Coderre; 12-18-2007 at 03:15 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  4. #4
    Registered User
    Join Date
    07-27-2006
    Posts
    68
    thanks ron!

+ 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