+ Reply to Thread
Results 1 to 6 of 6

Formula required to combine multiple results through IF or other solution

  1. #1
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Formula required to combine multiple results through IF or other solution

    Hi,

    I have three values A,P,W which can produce the following results:

    1.) A < P - should display " Delayed Plan"
    2.) A < W - should display "Delayed Workflow"
    3.) A >= P - should display " On Schedule"
    4.) A >= W - should display " Proper Workflow"

    I have noticed that given any set of values, two of these conditions will always be met.I want to combine these results and get them in a single cell.

    Attached worksheet for reference.


    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Formula required to combine multiple results through IF or other solution

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


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  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: Formula required to combine multiple results through IF or other solution

    Have not looked at your file, but based on the formula provided by avk, that could maybe be simplified to this?
    =IF(or(D2<=D3, D2<=D4), H3&" & "&H4, IF(D2>=D3, H5&" & "&H6, " "))
    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

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Formula required to combine multiple results through IF or other solution

    try
    =MID(IF(D2<D3," & "&H3,"")&IF(D2<D4," & "&H4,"")&IF(D2>=D3," & "&H5,"")&IF(D2>=D4," & "&H6,""),4,512)
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  5. #5
    Forum Contributor
    Join Date
    07-12-2015
    Location
    Dubai,UAE
    MS-Off Ver
    Office 365
    Posts
    447

    Re: Formula required to combine multiple results through IF or other solution

    Hi all, thanks for the replies

    But none of the solutions work for the following set of values: A=1,P=9,W=1

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

    Re: Formula required to combine multiple results through IF or other solution

    Is this right?

    =IF(D2<D3,H3,H5)&" & "&IF(D2<D4,H4,H6)

+ 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: 38
    Last Post: 09-26-2018, 07:06 AM
  2. [SOLVED] Multiple lookup and countif solution required to show results as a table.
    By reddaze in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-23-2017, 10:23 AM
  3. Combine multiple rows in a specific column based on matching criteria? VBA solution?
    By hopegriffin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-06-2015, 07:11 PM
  4. Required Macro for combine multiple workbooks which contains multiple worksheets
    By DHANASEKARAN in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-06-2013, 03:20 PM
  5. Help Required : Multiple results in Vlookup
    By SatVBA in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-30-2013, 09:47 AM
  6. Excel Formula Solution need for plotting 1D Results from 2D list of data
    By Lee_SequansUK in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-03-2012, 12:05 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