+ Reply to Thread
Results 1 to 3 of 3

Combining multiple formulas in one cell

  1. #1
    Registered User
    Join Date
    09-21-2006
    Location
    Dallas, Texas
    MS-Off Ver
    Office 365 Subscription
    Posts
    56

    Combining multiple formulas in one cell

    Is it possible to combine multiple formulas in one cell? I have several employees and I want cell A1 to evaluate several factors and enter the appropriate code based on these various factors.

    Here are my formulas:

    =IF(AND(D7<1,C7>O1-8),"D","")


    =IF(OR(E10=O35,E10=O41,E10=O47,E10=O53),"T","")

    =IF(OR(E11=O$37,E11=O$43,E11=O$49,E11=O$55),"L","")

    =IF(OR(E12=O36,E12=O42,E12=O48,E12=O54),"N","")

    =IF(OR(E13=O$38,E13=O$44,E13=O$50,E13=O$56),"R","")

    =IF(D14=0,"F","")

    = IF( AND(D15 =0, OR( E15 = O39, E15 = O45, E15 = O51, E15 = O57) ), "X", "" )

    Any ideas?

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    25,411

    Re: Combining multiple formulas in one cell

    Just join them together with an ampersand (&) between each formula, like this:

    =IF(AND(D7<1,C7>O1-8),"D","") & IF(OR(E10=O35,E10=O41,E10=O47,E10=O53),"T","") & IF(OR(E11=O$37,E11=O$43,E11=O$49,E11=O$55),"L","")

    for the first three.

    Hope this helps.

    Pete

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Combining multiple formulas in one cell

    do you want to test them all at the same time in the same cell? or are they all different tests?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ 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