+ Reply to Thread
Results 1 to 7 of 7

=IF (Either) formula | Multiple IF Statement

  1. #1
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    110

    =IF (Either) formula | Multiple IF Statement

    Hello,

    I'm trying to write a formula to say below all in one:

    =IF 'AD2' says 'cancelled' then current selected cell = $90.00
    =IF 'AD2' says 'drive by' then current selected cell = $200.00
    =IF 'AD2' says 'full ap' then current selected cell = $300.00
    =IF 'AD2' says 'RPM' then current selected cell = $750.00
    =IF 'AD2' says 'Ap Up' then current selected cell = $150.00


    Your help is greatly appreciated.
    Last edited by clprdctn; 03-12-2014 at 09:17 AM.

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: =IF (Either) formula | Multiple IF Statement

    Hi
    If you will prefer if function formula will be long. Try this
    =VLOOKUP(AD1,{"Cancelled",90;"Drive by",200;"Full Up",300;"RPM",750;"Ap Up",150},2,0)
    Appreciate the help? CLICK *

  3. #3
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: =IF (Either) formula | Multiple IF Statement

    Thank you AZ-XL. But now what can i add to that, to say - if none leave it blank ""?

  4. #4
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: =IF (Either) formula | Multiple IF Statement

    You can add iferror function
    =IFERROR(VLOOKUP(AD1,{"Cancelled",90;"Drive by",200;"Full Up",300;"RPM",750;"Ap Up",150},2,0),"")

    it will give you blank cell if the cell (ad1) is blank or other than listed criterias.

  5. #5
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: =IF (Either) formula | Multiple IF Statement

    1 Last question:

    How would you write this to say if none leave it blank ""?

    =IF(ISTEXT(VLOOKUP(F2,$AJ$2:$AJ$12,1)),"MMS","Retail")

  6. #6
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: =IF (Either) formula | Multiple IF Statement

    Quote Originally Posted by clprdctn View Post
    1 Last question:

    How would you write this to say if none leave it blank ""?

    =IF(ISTEXT(VLOOKUP(F2,$AJ$2:$AJ$12,1)),"MMS","Retail")
    Do you mean this?
    =iferror(IF(ISTEXT(VLOOKUP(F2,$AJ$2:$AJ$12,1)),"MMS","Retail"),"")

  7. #7
    Forum Contributor
    Join Date
    02-19-2013
    Location
    Canada
    MS-Off Ver
    Excel 2010
    Posts
    110

    Re: =IF (Either) formula | Multiple IF Statement

    Actually, I figured it out:

    =IF(F2="","",IF(ISTEXT(VLOOKUP(F2,$AH$2:$AH$12,1)),"MMS","Retail"))

+ 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. [SOLVED] Apply IF statement formula with multiple conditions
    By gtrstar in forum Excel General
    Replies: 10
    Last Post: 09-29-2012, 05:01 PM
  2. Formula with multiple if statement
    By dbowen14 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-16-2012, 10:46 AM
  3. Multiple If Statement Help-Fixing Formula Syntax
    By vargs in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-09-2010, 10:09 AM
  4. Need If-Then statement formula using multiple variables.
    By MidCon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-26-2009, 04:36 PM
  5. Formula with multiple if statement
    By smif101 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2007, 10: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