+ Reply to Thread
Results 1 to 4 of 4

How to combine multiple IF(AND formulas to one.

  1. #1
    Registered User
    Join Date
    07-24-2010
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2000,2003,2010
    Posts
    38

    How to combine multiple IF(AND formulas to one.

    I have following 5 formulas,
    Please see test file.

    IF(AND(C2<4.5,D2>39),"H","") >>>>>>>Result in G:G
    IF(AND(C2<10.5,C2>4,D2>24),"H","") >>>>>>>Result in H:H
    IF(AND(C2<10.5,C2>4,D2<25),"V","") >>>>>>>Result in I:I
    IF(AND(C2>10,D2<20,D2>-20,E2>39),"H","") >>>>>>>Result in J:J
    IF(AND(C2>10,D2<20,D2>-20,E2<40),"V","") >>>>>>>Result in K:K

    in a L:L I can get desise result by doing =G&H&I&J&K
    How can I combine all formulas to the one formula?
    Please see attached file.
    Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert KOKOSEK's Avatar
    Join Date
    08-03-2018
    Location
    Pole in Yorkshire, UK
    MS-Off Ver
    365/2013
    Posts
    2,767

    Re: How to combine multiple IF(AND formulas to one.

    Is it one formula?

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Happy with my answer * Add Reputation.
    If You are happy with solution, please use Thread tools and mark thread as SOLVED.

  3. #3
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.92 (24120731))
    Posts
    9,173

    Re: How to combine multiple IF(AND formulas to one.

    you can combine with an OR
    for H
    =OR(AND(C2<10.5,C2>4,D2>24),AND(C2<10.5,C2>4,D2>24),(AND(C2>10,D2<20,D2>-20,E2>39)))

    i'll work on all and edit here

    =IF(OR(AND(C2<4.5,D2>39),AND(C2<10.5,C2>4,D2>24),(AND(C2>10,D2<20,D2>-20,E2>39))),"H",IF(OR(AND(C2<10.5,C2>4,D2<25),AND(C2>10,D2<20,D2>-20,E2<40)),"V",""))
    Attached Files Attached Files
    Last edited by etaf; 03-15-2020 at 09:50 AM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  4. #4
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,223

    Re: How to combine multiple IF(AND formulas to one.

    Please try at L2
    =IF(AND(C2<=4,D2<40),"",IF(OR(AND(C2>10,D2<20,E2<40),AND(C2<=10,C2>4,D2<25)),"V","H"))

+ 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. Combine multiple formulas
    By halefamily104 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-14-2020, 05:23 PM
  2. How to combine multiple IF formulas at 1 cel
    By Bartman888 in forum Excel General
    Replies: 7
    Last Post: 01-31-2019, 07:37 AM
  3. [SOLVED] Combine Multiple Working IF Formulas in One Cell
    By conwaythibodeaux in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-08-2018, 06:08 PM
  4. [SOLVED] Formula to combine multiple formulas into a single cell
    By pdx-adm-trm01 in forum Excel General
    Replies: 7
    Last Post: 03-12-2014, 02:26 PM
  5. [SOLVED] Using Combine macro to combine multiple worksheets - need to modify to paste formulas
    By DLSmith in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-26-2012, 09:07 AM
  6. [SOLVED] Macro to combine multiple cell formulas
    By ameerhamzauk in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-05-2012, 03:27 PM
  7. Using an IF to combine multiple formulas
    By sharkfoot in forum Excel General
    Replies: 5
    Last Post: 04-02-2006, 01:21 PM

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