+ 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
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    Pro 2019
    Posts
    15,232

    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.
    Making the world a better place one fret at a time | | |會 |會 |會 |會 | |:| | |會 |會
    Please read the rules
    If someone helped you, click on the star icon at the bottom of their post
    If your problem is solved, go to Thread Tools and select Mark This Thread Solved
    Don't attach a screenshot--just attach your Excel file! It's easier and will let us experiment with your data, formulas, and code.

  3. #3
    Forum Contributor saravnepali's Avatar
    Join Date
    01-14-2019
    Location
    Nepal
    MS-Off Ver
    2010
    Posts
    218

    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 Moderator Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    Excel 2010 on Linux
    Posts
    8,729

    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
    You really don't have to give me rep points for moderating. It's part of the job. Keep rep points for those who find solutions

  5. #5
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    Pro 2019
    Posts
    15,232

    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
    Forum Moderator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    Pro 2019
    Posts
    15,232

    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
    2007, 365 Insiders
    Posts
    10,847

    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)

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