+ Reply to Thread
Results 1 to 6 of 6

Combing multiple IF Statements.

  1. #1
    Registered User
    Join Date
    10-25-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    68

    Combing multiple IF Statements.

    I am trying to join these to formulas together but keep getting a FALSE statement in the target cell

    What I want to accomplish is if the these 3 cells are blank it will say NO RECORD in the target cell

    =IF(OR(ISBLANK(F2),ISBLANK(G2),ISBLANK(H2)),"NO RECORD",

    &

    =IF(OR(F2="NA",G2="NA"),SUM(F2:H2)&" (PROFILE)",IF(OR(H2="Walk",H2="Swim",H2="Bike"),SUM(F2:H2)&" (ALT EVENT)",SUM(F2:H2)))
    Attached Files Attached Files
    Last edited by Bobby82; 11-21-2012 at 01:26 AM.

  2. #2
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Combing multiple IF Statements.

    =if(COUNTBLANK(F2:H2)=3,"No Record",if(countif(F2:G2,#N/A)<3,SUM(F2:H2)&" (PROFILE)",if(Walk,Swim......................)))
    I think people forget the word "THANK YOU!!!!" Do you still know it???

    There is a little star ( ADD REPUTATION ) below those person who helped you. Click it to say your "PRIVATE APPRECIATION TO THEIR EFFORT ON THEIR CONTRIBUTIONS "

    Regards,
    Vladimir

  3. #3
    Registered User
    Join Date
    10-16-2012
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Combing multiple IF Statements.

    When I try your formulas I don't get FALSE (although I am not sure if it gives what you what), but I only wrote on a random cell:

    =IF(OR(ISBLANK(F2),ISBLANK(G2),ISBLANK(H2)),"NO RECORD",IF(OR(F2="NA",G2="NA"),SUM(F2:H2)&" (PROFILE)",IF(OR(H2="Walk",H2="Swim",H2="Bike"),SUM(F2:H2)&" (ALT EVENT)",SUM(F2:H2))))

    Hope it helps

  4. #4
    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
    52,929

    Re: Combing multiple IF Statements.

    Nice 1 Vlad, love the COUNTBLANK()
    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

  5. #5
    Forum Moderator vlady's Avatar
    Join Date
    09-22-2011
    Location
    Philippines - OLSHCO -Guimba-Nueva Ecija
    MS-Off Ver
    2021
    Posts
    4,361

    Re: Combing multiple IF Statements.

    thanks FD and also to you Bobby.

  6. #6
    Registered User
    Join Date
    10-25-2012
    Location
    South Korea
    MS-Off Ver
    Excel 2007, Excel 2010
    Posts
    68

    Re: Combing multiple IF Statements.

    Thank you very much
    Last edited by Bobby82; 11-21-2012 at 02:12 AM.

+ 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