+ Reply to Thread
Results 1 to 2 of 2

I'm sure its a simple formula but...

  1. #1
    Registered User
    Join Date
    08-05-2004
    Posts
    18

    I'm sure its a simple formula but...

    I think I am trying to creat an IF statement with 2 TRUE arguments but if anybody that could help, it would be greatly appreciated!

    I would like the formaula to read:

    If Cell A equals "1", return "Z" but if Cell A equals "2", return "Y", Finally if Cell A neither matches "1" or "2" return "False"

    Rather than your usual IF statement, I would like to extend it - does that make sense?

    Thanks in advance.

  2. #2
    Forum Expert swatsp0p's Avatar
    Join Date
    10-07-2004
    Location
    Kentucky, USA
    MS-Off Ver
    Excel 2010
    Posts
    1,545
    This is called a "Nested IF" function:

    assuming your data is Cell A7, in B7 enter this formula:

    =IF(A7=1,"Z",IF(A7=2,"Y","False"))

    HTH
    Bruce
    The older I get, the better I used to be.
    USA

+ 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