+ Reply to Thread
Results 1 to 7 of 7

multifunction formula

  1. #1
    Registered User
    Join Date
    03-14-2014
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    3

    multifunction formula

    Hi, I'm hoping someone can help me out on this one.

    I'm in need of a multifunctional formula (in one cell) with the following criteria: Be able to enter only one product "A-E"; have 4 separate equations for each letter "A-E" (example below), then have the entered letter's equation take over to price a particular volume.
    Currently, I have the following equations elsewhere in the worksheet which individually breaks down smaller volumes of "A", "B", etc.

    =IF(E153>0.01,E153<=9)*(E153*3200)
    =IF(E153>9,E153<=19)*(E153*3100)
    =IF(E153>19,E153<=37)*(E153*3000)
    =IF(E153>37,E153<250)*(E153*2900)

    E153 represents the volume in the above formulas and the price point is represented by 3200,3100, etc. In the above 4 formulas, only one will obviously match it's volume criteria and the rest are left blank. This repeats itself a couple of different times throughout the worksheet for additional volumes in other areas. There's a formula in place for the SUM of those volumes, which will represent the new overall volume. Due to volume change, the new SUM would have to be rerun through the above formulas (for whichever product entered) for possible price point change. Here's a partial sample of how I was understanding it. I only put two equations with "A" and "B" in this formula to see if it would work. Guess what? It didn't. Hopefully, I put enough info here for this to make sense. I'm a novice at this, so any help would be appreciated.

    =If(E150="A",CHOOSE((E153>.1,E153<=9)*(E153*3200)),if((E153>9,E153<=19)*(E153*3100)),IF(E150="B",CHOOSE((F153>.1,F153<=9)*(F153*2850)),IF….C, D, E, etc. .....you can stop laughing now .....

    Thanks!

    Mike

    Skyline Job Costing Form 2014.xlsx The problem area is E159:E166, I put some general notes to the right. Anything below 169 hasn't been addressed yet. Thanks much in advance for any help.
    Last edited by Mstout9026; 03-17-2014 at 07:38 PM. Reason: Added Workbook

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,075

    Re: multifunction formula

    SUMPRODUCT might help but it would be much easier to help you if you can attach your workbook. Remember to remove/replace any sensitive data before uploading. (Attaching your workbook means no-one needs to set up the spreadsheet to test possible solutions.)
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: multifunction formula

    Perhaps if you provided some sample answers and how you got them, it would help?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  4. #4
    Forum Contributor
    Join Date
    02-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    170

    Re: multifunction formula

    I (kinda) think I follow.

    Since your categories are all based on one cell and are mutually exclusive, you can group them into one formula.

    =IF(E153<=0.01,"",IF(E153<=9,E153*3200,IF(E153<=19,E153*3100,IF(E153<=37,E153*3000,IF(E153<250,E153*2900,"XXXX")))))

    Here it will return a null reference if E153 is <=0.01. Where I have shown XXXX at the end, you should enter the value you want if E153>=250

  5. #5
    Forum Contributor
    Join Date
    02-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    170

    Re: multifunction formula

    Actually now that I think about it, you'd probably be better off using a table showing your volume-price points. This way if you change the price points in the future, you can just update the table instead of (tediously) going through every formula and updating them

  6. #6
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,944

    Re: multifunction formula

    @ cffn, I was thinking along those lines too, but was hoping to see what the expected outcomes might be 1st

  7. #7
    Forum Contributor
    Join Date
    02-20-2014
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    170

    Re: multifunction formula

    Lol you beat me to the punch the other day with something like this, thought I'd try to get one back :P

+ 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. multifunction formula for input
    By Mstout9026 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-18-2014, 06:25 AM
  2. how to hide formula in formula box, view lookup result in formula box?
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-14-2013, 04:06 PM
  3. Replies: 2
    Last Post: 06-05-2012, 08:37 AM
  4. MultiFunction Command Button
    By Tobre in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-26-2011, 10:35 AM
  5. [SOLVED] Multifunction for one cell
    By JeanC in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-22-2005, 03:06 AM

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