+ Reply to Thread
Results 1 to 3 of 3

conditional information

  1. #1
    Registered User
    Join Date
    04-21-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    conditional information

    Hello,

    my goal is to let cell B1 display:

    "1" if I enter "1" into cell A1

    or

    "2" if I enter "11" into cell A1


    how do I go about this?
    thanks

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: conditional information

    in B1

    =IF(A1=1,1,IF(A1=11,2,"NEITHER 1 NOR 11"))

    Replace "NEITHER 1 NOR 11" with whatever you want to happen if A1 is something different to 1 or 11
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    04-21-2009
    Location
    Australia
    MS-Off Ver
    Excel 2007
    Posts
    6

    Re: conditional information

    Quote Originally Posted by Special-K View Post
    in B1

    =IF(A1=1,1,IF(A1=11,2,"NEITHER 1 NOR 11"))

    Replace "NEITHER 1 NOR 11" with whatever you want to happen if A1 is something different to 1 or 11
    Aah!
    Great, thanks....

+ 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