+ Reply to Thread
Results 1 to 4 of 4

How to return multiple IF values in a single cell?

  1. #1
    Registered User
    Join Date
    09-12-2008
    Location
    Canada
    Posts
    2

    How to return multiple IF values in a single cell?

    Hi there,

    I'm trying to figure out if such a formula or function exists to achieve the following. It seems pretty simple in theory but I can't quite seem to wrap my head around how to achieve it.

    I want to return a specific result in one cell based on the value of a different cell. Similar to the if function but with a third or more variable.

    Example:

    If A1 equals 1 then A2 = "red"
    If A1 equals 2 then A2 = "white"
    If A1 equals 3 then A2 = "blue"
    If A1 is empty or equals none of the above leave A2 blank

    I'm basically trying to autofill A2 with the correct value based on the entry of the cell before it.

    Is this possible?

    Thanks in advance!

    Jason.
    Last edited by macmanjpc; 09-12-2008 at 02:31 PM.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Welcome to the forum.

    Please read the Forum Rules about thread titles, and then edit yours to be descriptive of your problem.

  3. #3
    Valued Forum Contributor
    Join Date
    08-26-2008
    Location
    singapore
    Posts
    626
    You can use IF function to do this

    Please Login or Register  to view this content.
    I need your support to add reputations if my solution works.


  4. #4
    Registered User
    Join Date
    09-12-2008
    Location
    Canada
    Posts
    2
    Thanks so much! Been trying to figure that out for a while.

    Cheers,
    Jason.

+ 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. Formula for bond price
    By Dracan in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 04-15-2014, 11:17 AM
  2. A formula template
    By ajaysehgal in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-07-2013, 06:12 AM
  3. Reset Formula without Editing Formula?
    By Ogey in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-27-2007, 08:44 PM
  4. Conditional formula question
    By odditie in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-27-2007, 09:47 PM
  5. use cell content as cell address in formula
    By nnsc in forum Excel General
    Replies: 4
    Last Post: 11-05-2006, 03:12 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