+ Reply to Thread
Results 1 to 2 of 2

Combining multiple functions into one function

  1. #1
    Registered User
    Join Date
    04-14-2011
    Location
    Texas, USA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Combining multiple functions into one function

    I have come up with 2 functions that I need to be combined into one. There are 3 drop down windows to choose from and the function answer should depend on what is chosen in each of the three drop down windows. These are the two formulas.

    =IF($M$3<3,VLOOKUP($M$2,Freezer_Delco,2,TRUE),VLOOKUP($M$2,Freezer_RBD,2,TRUE))

    This second formula is multiplying the answer from the first formula.

    =IF($M$4=1,$G$31*2,IF($M$4=3,$G$31*0.69231,$G$31))

    Is there any way to combine these 2 functions into one to get one answer in one cell?
    Or do I have to place one answer in a hidden cell and place the final function where it needs to be displayed?

    Thanks,
    Cory

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Combining multiple functions into one function

    why not just

    =IF($M$3<3,VLOOKUP($M$2,Freezer_Delco,2,TRUE),VLOOKUP($M$2,Freezer_RBD,2,TRUE))*IF($M$4=1,$G$31*2,IF($M$4=3,$G$31*0.69231,$G$31))
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ 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