Complex Formula

I need to create a formula for this requirement:
Business Warehouse ABC Analysis report will be designed to rate and rank each material within the total inventory of one Plant with an ABC Indicator value. The process is as follows:
1. Materials are sorted highest to lowest based on number of material movements in the period.
2. The total value of the movements is calculated for each material by applying the standard cost to the quantity of movements = Cost of Goods Sold (COGS).
3. The cumulative percentage of Cost of Goods Sold (COGS) is calculated, moving from highest to lowest movements.
4. An ABC Indicator is assigned to each material based on its position in the cumulative COGS using the selected u201CAnalysis Strategyu201D. For example:
u2022 less than or equal to 70% = A
u2022 greater than 70% but less than or equal to 90% = B
u2022 greater than 90% up to 100% =C.
5. ABC Indicator u201CDu201D is assigned to materials with both no movements and zero COGS.
6. ABC Indicator u201CNu201D (new) is assigned only to u201CCu201D or u201CDu201D items for which material masters were created within a specified number of months prior to the date of the ABC Analysis.
Please advise

. Materials are sorted highest to lowest based on number of material movements in the period.
2. The total value of the movements is calculated for each material by applying the standard cost to the quantity of movements = Cost of Goods Sold (COGS).
3. The cumulative percentage of Cost of Goods Sold (COGS) is calculated, moving from highest to lowest movements.
4. An ABC Indicator is assigned to each material based on its position in the cumulative COGS using the selected u201CAnalysis Strategyu201D. For example:
u2022 less than or equal to 70% = A
u2022 greater than 70% but less than or equal to 90% = B
u2022 greater than 90% up to 100% =C.
5. ABC Indicator u201CDu201D is assigned to materials with both no movements and zero COGS.
6. ABC Indicator u201CNu201D (new) is assigned only to u201CCu201D or u201CDu201D items for which material masters were created within a specified number of months prior to the date of the ABC Analysis.
1. I'm guessing you can sort by Movement Amount (descending).
2. COGS * Movement Amount
3. RunningSum(Percentage([COGS * Movement Amount]))
4. Create an alerter based on 3. <=.7 = A, <=.9 = B else C
5. Create a variable to evaluate this condition and insert the variable or create an alerter based on it.
6. As above, using RelativeDate() as the basis for your formula.
I can't be any more exact but it should give you a good idea of how to tackle it.

Similar Messages

  • COPA Report  - How to create a complex formula

    Hi SAP guru,
    Please shed some light on this issue.
    In COPA drill down report, could any of you know how to create a complex formula? My client requires the report to show the conditional formula such as
    IF value field 1 is zero, calculate A
    IF value field 1 is not zero, calculate B etc..
    Your help will greatly be appreciated.

    Hiya,
    Specify the formula for that row, then double-click the value and it provides some options. I believe you can manipulate the calculation based on that.
    The best option would be to create the Value outside of the report and use the report simply to display it.
    Another option would be to use COPA enhancements (using T-Code SMOD) to calculate values. Since you can include ABAP code, you have the freedom to calculate just about anything you want out here.
    Alternatively, you could use Actual Valuation (IMG --> CO --> COPA --> Master Data --> Valuation --> Using Condition Records) and input a formula based on an actual value. If the actual value is something like Sales Revenue, you can "map" it to that field within the Condition Type. Assign the Condition Type to a Value Field and provide a Val Strategy to pick it up during Actual Postings (PV = 1)
    Hope this helps.
    Cheers.

  • I need help with a complex formula

    I am a current student attempting to keep track of requirements for college along with my courses that I am taking. I have two tables. I am trying to put an X in Table2:A2 if the data from Table2:B2 AND Table2:C2 matches Table1:SUBJ AND Table1:CRS. The match in Table1 has to be in the same row since there are duplicates. So a check mark will appear in Table2 once I've taken the class and it shows up in Table1. Does anyone have a equation that would make this work?
    Here's a link so you can download the spreadsheet in Numbers '09 and fool around with it.

    My error.I was reading "The match in Table1 has to be in the same row since there are duplicates," and overgeneralizing. I was wondering about the "complex formula" part of the request.
    Here's another go—with a 'complex' formula, and a couple of 'helper columns.'
    Column D on both tables contains a simple formula that combines the subject and course number into a single string.
    =B&" "&C
    Table 1::Column A contains the more complex formula:
    =IFERROR(IF(AND(MATCH(D2,Table 2 :: $D,0)>0,D2<>" "),"✓",""),"")
    IFERROR traps the error that occurs when there's no match.
    the D<>" " catches the rows where no subject and course number has been entered in the first table.
    Descriptions and further examples of the functions used are available in the iWork formulas and Functions User Guide, The guide is downloadable via the Help menu in Numbers.
    Regards,
    Barry

  • Complex formula for production

    Hi all, via OPCR and OPCS I am able to set up parameters and formulas for standard values to be used in Production.
    However now I'm looking at a more complex formula, where I want to keep some parameter values in an external ABAP table,
    to be maintained by users. Does any one have any idea how this can be done?
    Does it have to be via userexit, or is there a way to reference abap tables directly in the formula/parameters?
    tks.

    I need the cost for the operation derived from:
    Rate per material x Exchange Rate for this operation x Quantity of material
    The 3rd value is easy - from SAP standard parameter.
    The first 2 values could be kept as Standard values maintained in the routing, but for
    Exchange Rate should ideally be pulled directly from Finance exchange rate table so that it need
    not be maintained all over the place if there are changes.
    Any suggestions?

  • Complex formula with multi-searches

    Hello
    I wonder if it is possible with NUMBERS to do some formula with several filterings.
    Example of table :
    ~ A | B | _* C*_
    1 | 1 | 0 | val1
    2 | 1 | 1 | val2
    3 | 1 | 2 | val3
    4 | 2 | 1 | val4
    5 | 2 | 2 | val5
    I would like to find, thanks to a formula, the value in column C when value in column A is (for example 1) AND value in column B is 2. In this case, the answer should be val3
    I know how to do it thanks to the SEARCH (? - RECHERCHE in the french version of Numbers) when I only have to search on one column and the solution is unique. But I wonder how to do it when the search has to do a matching between several columns (or ranks).
    Does anybody know how to do that ?
    In the french version of NUMBERS, in the Help, there is a page telling how to combine logical functions and searches but the documentation does not seem to be finished. The text just says "We are going to show examples of more complex combinations" but there are no examples ...
    Best regards
    Alef
    Message was edited by: AlefThau

    Je ne vois pas à quelle page de l'aide vous faites référence.
    Pour ma part, dans l'aide je peux lire:
    Dans le navigateur de fonctions je peux lire:
    informations reprises du "Guide de l'utilisateur des formules et fonctions d'iWork" auquel tout utilisateur peut avoir accès via le menu d'Aide.
    Pour complément d'information, je vous signale que depuis mon idisk:
    <http://idisk.me.com/koenigyvan-Public?view=web>
    vous pouvez télécharger:
    For_iWork:iWork '09:functionsNames.numbers.zip
    qui vous évitera des erreurs de traduction des noms de fonctions.
    Yvan KOENIG (VALLAURIS, France) dimanche 13 septembre 2009 15:33:58

  • Witholding tax calculation with complex formula

    Hi Team,
    Is there any solution for the below requirement in calculating withholding tax.
    System should consider the below formula while calculating Withholding tax for vendor.
    If the Invoice (INV) amount is Less than 800 = Tax is 0
    801 to 4000  = (INV amount - 800) * 20%
    4001 to 20000 = (80% of INV amount) * 20%
    20001 to 50000 = (80% of INV amount) * 30%
    more than 50001 = (80% of INV amount) * 40%
    as per my understanding we can use withholding tax forms. but I am not able to get the above scenario. Can anybody trough the exact step to build the above formula for calculating withholding tax code.
    Thanks,
    Ravi

    Hi,
    You create a new WHT Type and Code for this scenario, where in for WHT code defenition, you must select indicator WHT Formula.
    Now you can maintain formula for the above created type and code combination with the conditions of your requirement.
    IMG -- Financial Accounting (New) -- Financial Accounting Global Settings (New) -- Withholding Tax -- Extended Withholding Tax -- Calculation -- Minimum and Maximum Amounts -- Define Min/Max Amounts for Withholding Tax Codes......Here Maintain the minimum base amount as 800...for the newly created type and code combination.
    IMG -- Financial Accounting (New) -- Financial Accounting Global Settings (New) -- Withholding Tax -- Extended Withholding Tax -- Calculation -- Withholding Tax Code -- Define Formulas for Calculating Withholding Tax...............Here you maintain the below entries.
    CrcyWHT TypeWHT CodeCountryValid From Date
    Then select this new entry and double click on Formulas for withholding tax calculation.
    There maintain your conditions.
    Regards,
    Srinu

  • Help, I can not use complex formulas in Jakarta POI.

    I have written, the formula from two parts to Excel cells, example:
    SUMIF(A1:A10;RED;B1:B10)/COUNTIF(A1:A10;RED)
    such at opening the document in Excel this field value is #VALUE.
    How it is possible to solve this problem?

    search index has to be pre-built. The steps to do the same are included (or so I remember) alongwith the documentation.
    HI Ajay Das :
       I have searched the "help on help". but i can not found  the steps, what can i do now ?
    best regards

  • Howdy, I accidently deleated a complex formula, can I get it back?

    I'm at a site entering a complex number and I inadvertently deleted it from it's box. Can I get it back? Win7 FF25 , Seems like I skimmed something that said I could and my searches haven't helped.
    Mark Lawson di Ransom Canyon
    It's not going back a page, rather going back to a state of the page... if still not clear plz email me.

    Can you help me learn and tell me where or how I might of found this answer on my own? thanks m.

  • Issue with Zoom- Formula option in Excel add in

    Hi All,
    In spreadsheet add in when I enable the option, Essbase->Options->Zoom->Formulas and then do a retrieve operation for a level 0 member having a formula in the outline, it returns the members that are included in the formula. The above works fine for a BSO application.
    But when I do the same operation on a level 0 member of an ASO application that has a formula associated to it does not retrieve the members of the formula.
    Can anyone help me on the above.
    Thanks,
    Raja

    I'm guessing that the zoom in on formula does not understand MDX. IT works for the BSO cube on simple calculations because it can understand calc script language and figure out the member names. When it gets to complex formulas in BSO it can't do it any more. MDX is a different animal for Essbase and I'll bet they never thought about modifying the add-in for ASO. As far as I know there were no special modifications to the add-in for ASO

  • Is it possible to populate cell A with the formula in cell B as opposed to the value of the formula in cell B dynamically?

    Hello,
    I am wondering if the following scenario is possible:
    Cell B contains a formula which refers to a number of other cells.
    Cell A refers to Cell B such that the formula in Cell B is applied in Cell A.
    I am aware that I can copy and paste, but I am wanting to do this dynamically, for the following reason.
    In order to avoid constructing a very complicated formula which involves lots of tricky IF functions, I use a formula with a chain of simpler IF functions, such as follows:
    =IF(A1=1,B1,IF(A1=2,B2,IF(A1=3,B3,IF(A1=4,B4,IF(A1=5,B5,IF(A1=6,B6,IF(A1=7,B7,"" )))))))
    Then in B1-B7 I include the complicated formulas, and depending on which value is actually in cell A1 that particular formula is applied in the cell (i.e the cell is populated with the respective formula).
    Is it possible to use Numbers in this way, or if not, is there another way of achieving my goal (i.e. to avoid having to construct one very long and complicated formula)?
    Thanks,
    Nick.

    It depend of what you want to achieve.
    Here, in standard cells of column B the formula is :
    =IF($A=1,C,IF($A=2,D,IF($A=3,E,IF($A=4,F,IF($A=5,G,"")))))
    Here, in standard cells of column C the formula is :
    =$A*10
    Here, in standard cells of column D the formula is :
    =$A^2
    Here, in standard cells of column E the formula is :
    =$A*12345
    Here, in standard cells of column F the formula is :
    =$A+10000
    Here, in standard cells of column G the formula is :
    =20000-$A
    Here, in standard cells of column H the formula is :
    =OFFSET($A$1,ROW()-1,A+1)
    Here, in standard cells of column I the formula is :
    =CHOOSE($A,C,D,E,F,G)
    Here, in standard cells of column J the formula is :
    =IF($A=1,$A*10,IF($A=2,$A^2,IF($A=3,$A*12345,IF($A=4,$A+10000,IF($A=5,20000-$A," ")))))
    As you see, the formulas used in column B,H, I, require the use of the columns C, D, E, F, G
    The one used in column I doesn't require these columns.
    When a task requires a complex formula, I often used the columna A thru G
    then when I'm sure that the formula in column B return behave exactly what I want, I replace in the formula of column B the references to columns C thru G by the formula embedde in the pointed columns minus the equal symbol.
    It's what I did to build the formula of column J.
    If you build the sample table, you will see that the formula in column I isn't perfect because it return a red triangle when the cell in column A is empty.
    I decided to leave it as is and created an enhanced synthetic formula for column K:
    =IFERROR(CHOOSE(A,$A*10,$A^2,$A*12345,$A+10000,20000-$A),"")
    As you see a single problem may receive different answers.
    Sometimes, one is clearly the best, sometimes it's matter of taste.
    Here my best choice would be the very last one which I added for column K.
    Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 16:44:11
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Reports with complex repeated expressions within groups - ideal candidate for variables but you can't aggregate them!?

    Hi all,
    Given this:
    date
    (rowgroup)
    categories (colGroup)
    Total (forCategories)
    some Percent
    Result
    Result With%
    Total of Result And Other Things here
    cat1
    cat2
    cat3...
    1st
    [ val
    val
    val]
    Sum(Value)
    Max(%)
    Tot*reportVar+3300
    Result*1+Max(perc)
    result + resultWith% (NOTE:this is total from last two cells)
    2nd
    3rd
    Totals
    Total
    Total
    total
    total
    rowGroup by date
    colGroup by category
    there are some "REPORT" variables that do things like "total" for a dataset that is to be shown on the report and used in some calcs...
    So now that I've (hopefully) set the scene...
    Aside from the apparent BUG in vs2012 where you can't see or get intellisense on "Group Level" variables - which is REALLY tough when you aren't that familiar with variables I must say!! - variables seem like they would solve my problem.
    But if I use report variables in the row level I get the "cannot be used in aggregates" when I try to "Add Total" which is annoying but I'll accept that as a limitation, but surely this can't be the first time someone has wanted
    to achieve the above in a report!!
    So what is the solution, there must be one...
    While I know SSRS is NOT Excel its really surprising and annoying when something so simple like summing the last two fields is nearly impossible and I can't see WHY it should be so frustrating that I have to have complex formula repeated in several
    cells... particularly when I get the formula wrong and then have to remember to CHANGE it in several different places?!
    Is SSRS simply not the right tool for reports where you need to be able to see and follow calculated series and I should be encouraging the business areas to extract data into Excel spreadsheets with some kind of template setup or am I missing something
    really obvious about SSRS that would stop me from pulling all my hair out...?

    Hi noJedi,
    If I understand correctly, you want to sum total values of the last three columns. In this situation, we can use custom code to work around the issue. Please refer to the custom code below to work around the issue:
    Public Shared Value as Decimal=0
       Public Shared Function GetValue(Item as Decimal) as Decimal
          Value= value + Item
          Return Item
       End Function
       Public Shared Function GetTotal()
          Return value
       End Function
    Then use the expression below to calculate the multiplication result:
    =Code.GetValue(Calculate Expression)
    And use the following expression to calculate the sum value:
    =Code.GetTotal()
    Since you need to calculate three columns total values, we need modify the code repeat three times to get the values for each columns.
    There is a similar issue, you can refer to it.
    http://social.technet.microsoft.com/Forums/en-US/2084ef24-76d0-47c3-964a-340278d998c0/ssrs-2008-custom-code-to-properly-calculate-sums?forum=sqlreportingservices
    If there are any misunderstanding, please feel free to let me know.
    Regards,
    Alisa Tang
    If you have any feedback on our support, please click
    here.
    Alisa Tang
    TechNet Community Support

  • Duplicate sheets messes up  nested formulas?

    I have a formula nested inside an IF statement that refers to another table on the same sheet. When I duplicate the sheet the second level nested references don't seem to update to the new sheet name but refer back to the original sheet.
    The formulas looks something like this:
    =if(trim(sometable::a2)"",offset(b3,0,count(sometable::b3:b12),1,1))
    The trim updates and follows the new sheet, but the second level nested count locks into the original sheet name and has to be updated manually again.
    This spreadsheet was originally made in the desktop numbers but not the forumla. I made that new in iPad numbers.
    If this is a bug, where do we report it, as there is no report issue option like there is on the desktop version. Not that I have located.
    Message was edited by: jaxjason

    Is there anyone else that can try this and confirm what I found, a complex formula (nested) then duplicate sheet. Some references stay pointing at the original sheet, not the new one.
    Thanks
    Jason

  • Formula Evaluation in Query Designer

    Hi
    In query designer I have Complex formula which is having lot of variables.
    My users are saying some values are incorrect in report output
    Can any one help how can we find the value is calculated in report output for this formula.
    Thanks
    Sudhakar.

    Hi Sudhakar,
    One more way which you can try to find out how the particular Key Figure is been calculated in query designer is as given below:
    1) Go to RSRT
    2) execute your query with option for Query Display As "List"
    3) You will get the query output
    4) In this screen, you will get the button "Key Figure Definition" on the top
    5) Click on this button and there will be a pop up screen to select "Structure Element 1" and "Structure Element 2"
    6) Here for "Structure Element 1" please select the KeyFigure name for which you want to see the calcuation
    7) and click on the "Continue" (Here its blue colored icon)
    8) After this you will get a screen showing KF value that is calculated by query
    9) Drill down the key figure to see "Fixed Fliter" which will show the data selection used to calculate this value. These are nothing but the global filters defined in query
    10) Drill down the KF to see the dynamic filter values i.e. selections with which this KF is restricted in query designer
    With above analysis you can easily trace out how the particular KF is calculated in query designer.
    Regards,
    Geetanjali

  • BEX formula

    Hi all,
       I have a problem while defining a formula in BEX Query.
    My formula looks like this.
    (1- ( abs(X - Y) / X )) < 0) * 0 + not(1-( abs( X - Y) / X ))<0)*10
    Requirement is that if X = 0 then output = 0 else 10.
    In th above formula used, if X = 0, it gives error ' divide by zero'.
    I tried to use NONDIV0( )  for the division part, if X = 0, output = 10, which is an error again.
    This is jst a sample of a complex formula I am using. I dnt want to change the whole structure of the formula.
    Any suggetions will be rewarded.
    Regards,
    Adarsh

    Hi,
    (1- ( abs(X - Y) / X )) < 0) * 0 + not(1-( abs( X - Y) / X ))<0)*10
    Requirement is that if X = 0 then output = 0 else 10.
    Your requirement just mentions X, why do you have Y in your formula? For the above requirement, you can simple write
    (X <> 0) * 10

  • Bex Query- Use of ABAP code in Calculated Keyfigure/formula

    Dear Experts.
    I am wondering if there is any way to use ABAP in the formula editor of the Bex Query desinger.
    I have to build a report with very complex formulas (a lot of key figures, comporations, If then else ) an I think it would be easier to build all then in ABAP.
    So what I am looking for is any kind of user-exit/Badi that allows to calculate a Calculated Key figure/fomula in ABAP with the same data that is availabe in the fomula editor.
    If SAP is not providing this, this is clearlly a must for next releases.
    Thanks a lot and best regards,
    Alfonso.

    Dear Ananda.
    Thnaks for your reply, but could you please extend your answer a little bit more?
    As far as I know, Formula customer exit variables are only called once and they don´t provide the rest of the keyfigures and characteristic use in the drilldown level, so for my needs they are useless.
    Regarding IF-then-else statement in the formula, I already know about it. Actually what I am trying to avoid is to use them. In order to build my query I might need to build really big formulas with a lot of If-then-else, making it quite complex what the formula is doing. This is the reson I want to do it on ABAP.
    Please any other ideas?
    Thanks a lot.

Maybe you are looking for

  • Move and redeploy application- and web-servers for Planing?

    Hi, all! Have Hyperion Planing ability to move application- and web-servers from unix-machine to another win-machine and after redeploy existing unix-installed planing on it?

  • How to intercept all events sent to subcomponents of a JFrame

    Hello. The title says everything, i think. I need to make a gui where there would be a user validity timeout if no action is done during a certain period. (then, a modal dialog would show up, asking for a login/pass). I could do that by modifying eac

  • DV-6c60 computer shuts off when closed momentaril​y

    Help me to create a flash drive back up disk so I can restore...then tell me how to do that, please!

  • BRBACKUP ended with errors!

    Dear Experts,               I am facing a problem while take backup of development server in tape for last few days.System is AIX 5.3 and Oracle 10.2. DB13 backup throws error : BR0278E Command output of 'LANG=C dd ibs=64k bs=64k if=/dev/rmt0.1 of=/o

  • TCODE List document STOCK IN TRANSFER

    Hi All, Somebody kown TCODE like MB5T to see documents related STOCK IN TRANSFER??? We have outbound deliveries (Delivery Type UL - Del.for Stock Trans. u2013 Movement Type 603 - TF rem.fm stor.to pl) waiting for Goods Receipt that  we canu2019t dete