+ Reply to Thread
Results 1 to 8 of 8

I Need to Combine 3 IF Statements

  1. #1
    Registered User
    Join Date
    11-07-2019
    Location
    Nashville, Tennessee
    MS-Off Ver
    Office 365
    Posts
    1

    I Need to Combine 3 IF Statements

    I need to combine the 3 IF statements below....HELP!!

    =IF D5:D200 = A5, F*H
    =IF D5:D200 = A6, E/H
    =IF D5:D200 = A7, I=G

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,693

    Re: I Need to Combine 3 IF Statements

    Welcome to the Forum MrsElston612 !

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


    Change "None of the three" to whatever result you want if none of the three values are matched.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Valued Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Sydney Australia
    MS-Off Ver
    2010
    Posts
    447

    Re: I Need to Combine 3 IF Statements

    Another alternate is Select Case Statements
    Please Login or Register  to view this content.
    Last edited by saravnepali; 11-22-2019 at 06:22 AM.
    If you think someone helped you, click on the "* Add Reputation" as a way to say thank you.

    If your problem is solved, go to Thread Tools and select Mark This Thread Solved

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: I Need to Combine 3 IF Statements

    @saravnepali

    LAST WARNING BEFORE TEMPORARY BANNING!!!!
    Administrative Note:

    you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,693

    Re: I Need to Combine 3 IF Statements

    Quote Originally Posted by saravnepali View Post
    Another alternate is Select Case Statements
    This is not a VBA question.

  6. #6
    Registered User
    Join Date
    12-04-2019
    Location
    Auckland NZ
    MS-Off Ver
    365 business premium
    Posts
    3

    Re: I Need to Combine 3 IF Statements

    try the IFS function. . Google Excel IFS Function , there are plenty of instructive sites ( I cant put up a link as I have not made enough posts yet.

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,693

    Re: I Need to Combine 3 IF Statements

    Quote Originally Posted by The Rod Baron View Post
    try the IFS function. . Google Excel IFS Function , there are plenty of instructive sites ( I cant put up a link as I have not made enough posts yet.
    THis is a very good suggestion, since the OP is using 365. The actual formula in this case would be:

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

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: I Need to Combine 3 IF Statements

    @ 6StringJazzer

    As an aside you raise an interesting question. Does the Office 2019 (your profile) include the IFS, MAXIFS, MINIFS functions as well?

    Thanks,
    Dave

    Edit Never mind. You posted the answer here. Thank you.
    Last edited by FlameRetired; 12-05-2019 at 03:52 PM.
    Dave

+ 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. Need to combine if statements
    By abelle82 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-20-2016, 02:51 PM
  2. [SOLVED] Combine 2 if statements
    By cartica in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-15-2014, 10:08 AM
  3. [SOLVED] Need help to combine to VBA Statements
    By SamCV in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 11-06-2013, 02:01 PM
  4. [SOLVED] Combine 3 IF Statements
    By kilipo in forum Excel General
    Replies: 2
    Last Post: 04-28-2012, 07:26 AM
  5. Combine two IF statements
    By dpask in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-07-2011, 04:41 PM
  6. combine several IF statements
    By inkansun in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-26-2010, 08:24 AM
  7. How to combine two IF statements together.
    By foad in forum Excel General
    Replies: 7
    Last Post: 03-13-2009, 05:06 AM

Tags for this Thread

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