+ Reply to Thread
Results 1 to 4 of 4

multiple if

  1. #1
    Registered User
    Join Date
    02-10-2006
    Posts
    9

    multiple if

    hey everyone,
    i would like to add multiple "IF's" to this formula. i need to be able to add "3 pack" "4 pack" and so on.
    thanks for your help,
    jason

    =IF(B1="2 pack",A1/"4")

  2. #2
    Stefi
    Guest

    RE: multiple if

    =IF(B1="2 pack",A1/4, IF(B1="3 pack",A1/6, IF(B1="4 pack",A1/8, "not
    defined")))

    but you can nest max 7 IFs, and use of "" in the denominator ("4") is not
    necessary, use simply 4!

    Regards,
    Stefi

    „jwfakouri” ezt *rta:

    >
    > hey everyone,
    > i would like to add multiple "IF's" to this formula. i need to be
    > able to add "3 pack" "4 pack" and so on.
    > thanks for your help,
    > jason
    >
    > =IF(B1="2 pack",A1/"4")
    >
    >
    > --
    > jwfakouri
    > ------------------------------------------------------------------------
    > jwfakouri's Profile: http://www.excelforum.com/member.php...o&userid=31435
    > View this thread: http://www.excelforum.com/showthread...hreadid=511675
    >
    >


  3. #3
    Bob Phillips
    Guest

    Re: multiple if

    =A1/VLOOKUP(A1,{"2 pack",4;"3 pack",3;"4 pack",2},2,FALSE)

    just add extra conditions

    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "jwfakouri" <[email protected]> wrote
    in message news:[email protected]...
    >
    > hey everyone,
    > i would like to add multiple "IF's" to this formula. i need to be
    > able to add "3 pack" "4 pack" and so on.
    > thanks for your help,
    > jason
    >
    > =IF(B1="2 pack",A1/"4")
    >
    >
    > --
    > jwfakouri
    > ------------------------------------------------------------------------
    > jwfakouri's Profile:

    http://www.excelforum.com/member.php...o&userid=31435
    > View this thread: http://www.excelforum.com/showthread...hreadid=511675
    >




  4. #4
    Bob Phillips
    Guest

    Re: multiple if

    Type, should be

    =A1/VLOOKUP(B1,{"2 pack",4;"3 pack",3;"4 pack",2},2,FALSE)


    --

    HTH

    Bob Phillips

    (remove nothere from the email address if mailing direct)

    "Bob Phillips" <[email protected]> wrote in message
    news:#[email protected]...
    > =A1/VLOOKUP(A1,{"2 pack",4;"3 pack",3;"4 pack",2},2,FALSE)
    >
    > just add extra conditions
    >
    > --
    >
    > HTH
    >
    > Bob Phillips
    >
    > (remove nothere from the email address if mailing direct)
    >
    > "jwfakouri" <[email protected]> wrote
    > in message news:[email protected]...
    > >
    > > hey everyone,
    > > i would like to add multiple "IF's" to this formula. i need to be
    > > able to add "3 pack" "4 pack" and so on.
    > > thanks for your help,
    > > jason
    > >
    > > =IF(B1="2 pack",A1/"4")
    > >
    > >
    > > --
    > > jwfakouri
    > > ------------------------------------------------------------------------
    > > jwfakouri's Profile:

    > http://www.excelforum.com/member.php...o&userid=31435
    > > View this thread:

    http://www.excelforum.com/showthread...hreadid=511675
    > >

    >
    >




+ 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