How to compute the percent change between 2 cells results

I'm trying to compute the percent of change (whether it be positive or negative) between the values in 2 cells, each of which is displaying the sum of a column of numbers entered manually.
I'm currently using the following formula, and it seems to be working, but I'd really like to know if I'm accomplishing the result using the "correct" method (i.e. the correct convention).
Any comments or corrections would be appreciated.
Current formula:
=Cell A/Cell B-100%
Is this the best method/formula?
Thanks in advance,
Ron Herrmann

In fact the formula would be
=A/B-100%
or
=B/A-100%
given which percentage you which to know
I often use a differerent one:
=(B-A)/A ans of course I apply the percent format to the resulting cell.
I don't know whih is the more efficient.
Yvan KOENIG (VALLAURIS, France) dimanche 18 octobre 2009 12:58:27

Similar Messages

  • How to calculate the Percent change in a dynamic

    hi All,
    I'm trying to get the percent increase/change of two dynamic
    colums.  In my report, the user has a checkbox where he can select two colums to calculate the percent growth.
    My DataSet is PilarName, Calification(is a decimal value) and Period (this is a string).  I created the Matrix this way:
    PilarName [Period]
    [PilarName] [Calification]
    Which give me these values:
    So, now I need to create another column to calculate the percentage change between these two colums.  I tried this:
    I added a Adjacent column group for Period column and I grouped by the calculated column "ColumnDiff".  Add the following expression.
    =(SUM(Fields!Calificacion.Value)- Previous(SUM(Fields!Calificacion.Value),"ColumnDiff"))/Previous(SUM(Fields!Calificacion.Value),"ColumnDiff")
    After that I get: 
    I'm getting the sum of the two columns instead.
    Any clue about what I'm doing wrong? Please help me, I've been looking for the answer but any solution works for me.
    Luis Carlos

    Hi Luis,
    According to your description, you have a report with different dynamic columns. Now what you want is show your user percentage growth in your matrix report after your user select two of those columns (I think you may use parameter to achieve your “checkbox”
    function). Is my understanding correct?
    In Reporting Service, we can’t calculate dynamic columns with our build-in arrogation functions. So we need to add custom code into our report, and call those functions which defined in custom code in our expression. We have tested your scenario in our local
    environment. Here are steps and screenshots for your reference.
    Go to your Report Properties, add the custom code below into your report:
    Dim Shared Num1 As Double
    Dim shared Num2 As Double
    Public Function GetCalification(Calification as Double,Type as String,Type2 as String) 
    If Type = Type2 Then
       Num1=Calification
    Else
       Num2=Calification
    End If 
    Return Calification 
    End Function
    Public Function GetPec()
    Return (Num2-Num1)/Num1
    End function
    Create a matrix. Put PilarName into Row field, put Period into Column field. In Data field, put the expression below into the textbox:
    =Code.GetCalification(Fields!Calification.Value,Fields!Period.Value,Parameters!Period.Value(0))
    In our sample report, we created a parameter (named Period) for selecting two columns. You can replace “Parameters!Period.Value(0)” with your own parameter.
    Add an outside column at right (%Growth), put the expression below into the textbox:
    =Code.GetPec()
    Save and preview. The matrix and result looks like below:
    Reference:
    Custom Code and Assembly References in Expressions in Report Designer (SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • How to know the database changes between different releases

    Where can I get the information of database changes, like for example new columns new tables, etc, between different releases?
    My goal to try to determine the current version, or is there a better way?
    Thank you

    For JD Edwards World or for JD Edwards EnterpriseOne - you can go to upgradejde.com Once this screen comes up, pick Resources. You will then have an option to take JD Edwards EnterpriseOne or JD Edwards World. On the next screen, you can select the tab Compare Releases. This will allow you to enter the release that you are currently on and enter the latest GA release of software. You will then see all the differences between your current release and the release you should upgrade to. You can also format this into a printed report.

  • How to get the "last changed by" for a set of function modules?

    How to get the "last changed by" for a set of function modules?
    is there any table to get it??

    See [this|Re: Date of creation of function module] I posted earlier.
    >TFDIR will give you the name of the function group program and the include number.
    >E.g. SAPLZFUNCGROUP Include 01.
    >From this you can construct the include name: LZFUNCGROUPU01.
    >You can look this up in TRDIR to find the creation date (CDAT) of the function module.
    In your case, you need unam and udat.
    matt

  • How to share the same session between JNLP Application and browser session

    How to share the same session between JNLP Application and browser session using BasicService.showDocument(url) method? It appears whenever i launch any URL from within a JNLP application using BasicService.showDocument(url) , it creates new instance of browser and session even after i used cooke handlers to restore JSESSIONID and Ltpa token etc.
    public static int showDocument(String urlToOpen)
    BasicService obj = (BasicService) ServiceManager.lookup("javax.jnlp.BasicService");
    obj.showDocument(urlToOpen);
    }

    Try using Reflection

  • How to get the coordinate of a cell in the jtable?

    How to get the coordinate of a cell in the jtable?
    How to get the point of a cell in the jtable?
    Thanks for help!

    getCellRect(...);

  • How to stop the auto change of the desktop background picture ?

    How to stop the auto change of the desktop background picture ?

    Well . . thanks, but I already have done that and I still have the problem. The background changes to the standard picture galaxy not to one of the options. Sorry my question wasn't clear enough.
    Thanks. 

  • How to set the text of a cell in Numbers to vertical direction? Tks.

    Hi
    In Numbers, please tell me how to switch the text of a cell to vertical direction?
    Tks.

    Hi Kyle,
    In Numbers, nothing having to do with a table can be rotated. (In Pages an entire Table can be rotated, but not text within a Table.)
    There have been many suggestions posted here over the life of iWork for vertical labels. Most fall into three categories:
    1. Type one letter, Option-Return, type another letter, Option-Return, and so forth.
    2. Type label in a Text Box, rotate the box, position the box over the table, covering the cell where you need a label.
    3. Create a PDF graphic with rotated text and insert it into table cell as Background Fill.
    The third option is clearly the best. The steps for option three are:
    Insert Text Box
    Type label into the box
    Rotate the text box
    Select the text box (not the text inside the box)
    Command-C
    Switch to Preview.app
    Command-N
    Command-C
    Switch to Numbers
    Click on Cell where the label goes
    Command-V
    It sounds worse than it is. You can reuse the Text Box so you don't end up with a sheet full of them.
    Regards,
    Jerry

  • How to find the recent changes done in the workflow by user id ?

    Hello all,
    How to find the recent changes done in the workflow by user id ?
    I have made changed in Production system .
    Like changing the status ,
    changing the agent ,
    but for these it will , not ask for any request .
    So i want to know is there any method to find what are the changes done by me ?
    Thanks and regards
    Prem

    Hi,
    This is caused by mandant settings in scc4. It's better not to make changes in PRD, because then your DEV en QA systems differ.
    Kind regards, Rob Dielemans

  • How to find the structural difference between two tables

    Hi all,
    How to find the structural difference between two tables .
    Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
    PL/SQL Release 11.1.0.7.0 - Production
    CORE 11.1.0.7.0 Production
    TNS for 32-bit Windows: Version 11.1.0.7.0 - Production
    NLSRTL Version 11.1.0.7.0 - Production
    Thanks,
    P Prakash

    you could try something similar to this, for each table pair that you want to compare:
    SELECT 'TABLE_A has these columns that are not in TABLE_B', DIFF.*
      FROM (
            SELECT  COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
          ) DIFF
    UNION
    SELECT 'TABLE_B has these columns that are not in TABLE_A', DIFF.*
      FROM (
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_B'
             MINUS
            SELECT COLUMN_NAME, DATA_TYPE, DATA_LENGTH
              FROM all_tab_columns
             WHERE table_name = 'TABLE_A'
          ) DIFF;that's assuming, column_name, data_type and data_length are all you want to compare on.

  • How to define the dynamic navigation between two component in web ui

    Hi All,
    I have a requirement to create a new assignment block in accounts overview screen .
    1.Created new view(Table view) in the BP_HEAD component.
    2.Created new button on the table view toolbar .
    3.If the user clicks the new button it should navigate to interaction log component(BT126H_CALL).
    Please hekp me step 3 how to do .
    I have checked planned activity assignment block in the account but is dynamic navigation.
    Please explain me how to define the dynamic navigation between two components.
    What is window delegate .
    Thanks,
    Venkyy

    Hi ,
    Kindly follow the link , this will be helpful for your issue :
    http://wiki.sdn.sap.com/wiki/display/CRM/CRM-NavigatingtoyourcustomBSP+component

  • How to identify the data mismatch between inventory cube and tables?

    Hi experts,
    i have a scenario like how to identify the data mismatch between 0IC_C03 and tables,and what are the steps to follow for avoiding the data mismatch

    Hi
    U can use data reconcilation method to check the consistency of data between the r/3 and bw. Plz check the below link
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a0931642-1805-2e10-01ad-a4fbec8461da?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d08ce5cd-3db7-2c10-ddaf-b13353ad3489
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/7a5ee147-0501-0010-0a9d-f7abcba36b14?QuickLink=index&overridelayout=true
    Thanx & Regards,
    RaviChandra

  • How to know the parameters passed between the pages

    Hi , am working on the customizations.
    Can anybody tell me how to know the parameters passed between the pages in OAF.
    Thanks a lot in advance.
    regards
    kumar

    U can read
    Framework ToolBox Tutorial Lesson 2, Part 4: Page-to-Page Communication
    in this path
    <<your OAF folder>>jdevdoc\WebHelp\toolbox\510\lessons\lesson2_pagecom.htm
    OAPageContext
    PutEncryptedParameter( )
    GetDecryptedParameter( )
    OAPageContext (called from UI client)
    putTransactionValue( )
    getTransactionValue( )
    removeTransactionValue( )
    OADBTransaction (called from server)
    putValue( )
    getValue( )
    removeValue( )
    OAPageContext (called from UI client)
    TIP the Framework expects to introduce methods for managing session data from the server at some point in the future.
    putSessionValue( )
    removeSessionValue( )
    getSessionValue( )
    Good luck !

  • How to increase the width size between PROMPT and TEXT BOX?

    Hi Gurus,
    my page having MessageTextInputs. Normally page runs displays the Prompt name and one text box will displayed.
    my requirement is
    1) how to increase the width size between PROMPT and TEXT BOX?
    2)prompt name displays like
    elephant
    xxxxxant
    xxxxRose
    here xxxxx indicates SPACE
    but my client requirement is don't displays the SPACES in left side.
    so our requirement is in page PROMPT displays like
    elephant
    ant
    rose
    How to achieve this plz help me
    its very urgent
    Thanks

    Hi,
    Create a table layout region and under that use 'messageStyledText' for displaying the prompt and use 'messageTextInput' for text field without giving any prompt to that.
    --Sushant                                                                                                                                                                                                                                                                                                                                                                                           

  • How to sever the update connection between my 2 iPhones?

    I have an iPhone 4 and and 2 iPhone 5's that I use together.  they have an auto update function that when I add a contact or note in one phone, it automatically updates the other 2 phones.  I want to know how to sever the update function between phones.  anyone know how to do?

    I suspect the reason your devices are still syncing contacts is that they are syncing them with another service such as Google, Yahoo or and exchange account rather than iCloud.  Go to Settings>Mail,Contacts,Calendars and tap each of your accounts to see if you have contacts syncing turned on.  If you do, you'll have to turn that off in order to stop syncing them across your devices.
    If only some of your notes are syncing across your devices, it's probably because not all of them belong to the iCloud account (iCloud only syncs contacts that belong to the iCloud account).  If you want them all to sync with iCloud, you'll have to open the Notes app, tap Accounts, then open the notes in your non-iCloud accounts and copy and paste the text into new notes created in the iCloud account.
    To have your photos sync between your phones, go to Settings>iCloud>Photos and make sure My Photo Stream is turned on.  After that, new photos added to the camera roll will be added to your photo stream whenever the Camera app is closed, your photo is connected to wifi, and has at least 20% battery life remaining.  You can access these photos in the My Photo Stream album within the Photos app.
    To determine if you're backing up to iCloud, go to Settings>iCloud>Storage & Backup to see if iCloud Backup is turned on.
    If you delete your iCloud account from your phone and want to keep your date, begin by saving any photo stream photos to your camera roll and emailing any notes that you are syncing with iCloud to yourself.  Then go to Settings>iCloud, tap Delete Account, provide your password and choose Keep on My iPhone when prompted.
    If you create a new account on one of your phones you can sync the data in the new account with your other phones in the future by simply signing into the same account on your other phones in Settings>iCloud.  When you do, the iCloud data in the new account will download to them as well.

Maybe you are looking for

  • How can i view monthly calendar entries in OS7 like in OS6?

    I just purchased an iPhone 5S with OS7;I  had been using a 4S with OS6.  I cannot figure out how to change view of calendar.  On my 4S I could see entries when I looked at the whole month calendar.  On the 5S, I only see a dot for an event; I have to

  • Upgraded to Firefox 4.0.1 and can no longer use my Norton Toolbar. How do I go back to my old and usable Firefox?

    I utilize Norton Toolbar 4.6 and Firefox reports it is disabled because it is incompatible with Firefox 4.0.1. Since I utilize this functionality far more than any increased functionality in the new Firefox how can I go back to the previous version I

  • Parsing of text in JSP

    hai, I am new to java and I wanna know how can i parse a text using StringTokenizer and then add them all(integers). I tried this but doesnt work.plz help. <% int sum[]; try{ if(request.getParameter("result").indexOf("+")>=0){ StringTokenizer st=new

  • Adding additional font option

    Hi, How to add additional font option in the Column properties. I have to add new font type to the list, How to do this? Please advice. Thanks, Vino

  • Installing Codfusion Mx 7 on windows XP

    Hello, I have install the trial version of Coldfusion Mx 7.0. There is no error in the installation log file. The only options available to lauch programs in "All Programs\Macromedia\Coldfusion Mx7\" are to: 1- Start the Administrator page 2- Getting