+ Reply to Thread
Results 1 to 6 of 6

IF formula based upon multiple conditions to display text in one cell

  1. #1
    Registered User
    Join Date
    05-08-2013
    Location
    Norwich
    MS-Off Ver
    Excel 2010
    Posts
    53

    IF formula based upon multiple conditions to display text in one cell

    Hi,

    I need a forumula to look at 3 cells A1,A2,A3 and if A1 shows a value greater than 0 then in B1 it will show "RADS", if A2 greater then 0 then B1 shows "UFH" and if A3 greater than 0 then B1 will show "FAN".

    If all more than one of the A cells are greater than B1 will show more than one result.

    Example:
    A1 = 4
    A2 = 2
    A3 = 2

    B1 = RADS UFH FAN

    or

    A1 = 4
    A2 = 0
    A3 = 2

    B1 = RADS FAN

    If A cells are blank then B1 will be blank.

    Thanks

    Jon

  2. #2
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: IF formula based upon multiple conditions to display text in one cell

    In B1:

    =TRIM(IF(A1>0,"RADS","")&IF(A2>0," UFH","")&IF(A3>0," FAN",""))
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  3. #3
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF formula based upon multiple conditions to display text in one cell

    I'd just add a TRIM to Speshul's equation

    =TRIM(IF(A1>0,"RADS","")&IF(A2>0," UFH","")&IF(A3>0," FAN",""))
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  4. #4
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: IF formula based upon multiple conditions to display text in one cell

    Beatcha to it!

    My sig doesn't lie :p

  5. #5
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: IF formula based upon multiple conditions to display text in one cell

    LOL Yes you did

  6. #6
    Registered User
    Join Date
    09-20-2013
    Location
    Hartland, WI
    MS-Off Ver
    Excel 2013 Professional Plus
    Posts
    73

    Re: IF formula based upon multiple conditions to display text in one cell

    Please Login or Register  to view this content.
    Enter this in B1

+ 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. Replies: 5
    Last Post: 04-09-2014, 10:36 PM
  2. [SOLVED] Drop Down Data Validation - Display a result based on multiple conditions
    By carlmf1987 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-25-2013, 01:50 PM
  3. Multiple IF Conditions based on Text in a cell
    By naga in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-22-2013, 06:51 AM
  4. How to display cell comments based on 2 conditions
    By vishwas1980 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-24-2012, 02:55 AM
  5. Formula to return cell contents based on multiple conditions
    By Bill in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-19-2005, 06:06 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