+ Reply to Thread
Results 1 to 6 of 6

Multiple IF command

  1. #1
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Multiple IF command

    How can I write a formula thats says if E6 says "1" then display A, if E6 says "2" then display B, if E6 says "3" then display C. Otherwise blank.?

  2. #2
    Forum Expert RobertMika's Avatar
    Join Date
    06-22-2009
    Location
    Haverhill, UK
    MS-Off Ver
    Excel 2003-13
    Posts
    1,530

    Re: Multiple IF command

    =iferror(lookup(e6,{1,2,3},{"a","b","c"}),"")
    If you are http://www.excelforum.com/image.php?type=sigpic&userid=125481&dateline=1392355029happy with the results, please add to the contributor's
    reputation by clicking the reputation icon (star icon).




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved.
    To undo, select Thread Tools-> Mark thread as Unsolved.
    http://www.excelaris.co.uk

  3. #3
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Multiple IF command

    Or..

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Regards!
    =DEC2HEX(3563)

    If you like someone's answer, click the star to give them a reputation point for that answer...

  4. #4
    Forum Expert Debraj Roy's Avatar
    Join Date
    09-27-2012
    Location
    New Delhi,India
    MS-Off Ver
    Excel 2013
    Posts
    1,469

    Re: Multiple IF command

    Or..

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    or..

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Multiple IF command

    Thank you for your reply. I used 123 ABC in attempt to simplify things assuming I could edit it to my needs, but I must be doing something wrong. Basically I would like to combine all three of these codes into one cell:

    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.

  6. #6
    Forum Contributor
    Join Date
    09-16-2013
    Location
    Los Angeles, USA
    MS-Off Ver
    Excel 2011
    Posts
    620

    Re: Multiple IF command

    I found my answer here:
    http://www.excelforum.com/excel-gene...ther-text.html

    Thanks for you time time guys.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Merging multiple command buttons into one
    By antzint in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-02-2013, 10:47 AM
  2. multiple if If Command problems
    By NEVJOHN in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-10-2012, 10:39 AM
  3. Using the IF command multiple times within on Sub
    By colin_emma in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-22-2012, 07:38 AM
  4. Code for a master command button to change the backcolor of multiple command buttons?
    By panttherm5 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2012, 10:11 PM
  5. If command using Multiple Cells
    By jgreen45 in forum Excel General
    Replies: 1
    Last Post: 10-10-2006, 11:57 AM

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