+ Reply to Thread
Results 1 to 14 of 14

Calculated fields

  1. #1
    Registered User
    Join Date
    03-13-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    5

    Calculated fields

    what equation would i need to use to achieve the following:

    I have 3 Columns(many rows), & I need column C to show the difference between the numbers in column A and B - BUT I need all the answers to be a %.

    e.g
    Sum of schoolsAllocated Sum of schoolsVisited difference schools visited and schools allocated as%
    1846 1703
    94 94
    36 36
    262 234


    Any ideas would be much appreciated..

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculated fields

    Try in C1 and copy down.

    =(A1-B1)/A1

    Format as %
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Registered User
    Join Date
    03-13-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Calculated fields

    Works perfectly thanks very much

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculated fields

    .........................

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculated fields

    Hi,

    You didn't actually mention whether the difference should be a % of column A or B. Just check that the result is relevant to your particular circumstances.
    For instance:

    =(A1-B1)/B1

    will still give you a % but a different one of course.

    Or your original post could be interpreted as simply wanting
    =B1/A1

    Only you can decide which is the one you want.
    Last edited by Richard Buttrey; 03-15-2013 at 07:56 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  6. #6
    Registered User
    Join Date
    03-13-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Calculated fields

    Ok now i am confused - I need to use the same formula as a calculated field so I can use KPIs -. the formula =(A1-B1)/B1 works

  7. #7
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculated fields

    Quote Originally Posted by DAVEG01 View Post
    Ok now i am confused - I need to use the same formula as a calculated field so I can use KPIs -. the formula =(A1-B1)/B1 works
    What do you mean? What is KPIs ???

  8. #8
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Calculated fields

    Here you go Fotis1991

    http://lmgtfy.com/?q=KPI
    Regards Kevin


    Merged Cells (They are the work of the devil!!!)

  9. #9
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculated fields

    It's better for me, first try to learn Basic English and then i'll learn the KPI(Key performance indicator ??), Kevin UK

  10. #10
    Registered User
    Join Date
    03-13-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Calculated fields

    In excel 2013 you can use Key performance indicators - but you need a calculated field in order to do so.

  11. #11
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Calculated fields

    As i told, my English does not let me understand. Also i don't have Excel 2013....

    Perhaps if i(we) had a small sample workbook....

    Or maybe someone else, can helps you..

  12. #12
    Forum Expert Kevin UK's Avatar
    Join Date
    12-07-2010
    Location
    Radstock, Somerset
    MS-Off Ver
    365
    Posts
    1,922

    Re: Calculated fields

    Is that not something to do with power pivot!

    Quote Originally Posted by DAVEG01 View Post
    In excel 2013 you can use Key performance indicators - but you need a calculated field in order to do so.

  13. #13
    Registered User
    Join Date
    03-13-2013
    Location
    South Africa
    MS-Off Ver
    Excel 2013
    Posts
    5

    Re: Calculated fields

    Hi kevin - yes is is to do with Power Pivot.

  14. #14
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Calculated fields

    Hi,

    Don't concentrate on KPIs just at the moment. Tell us in narrative form what idea you are trying to express with your data.

    For instance, with the two pieces of data
    In A1 meaning Sum of All Schools: 1846
    In B1 meaning Sum of Allocated Schools: 1703

    If you want to know what percentage allocated schools are as a % of All schools, then the simple
    =B1/A1
    is the answer

    If you want to know how many schools are NOT allocated then
    =(A1-B1)/A1
    as given by Fotis in his original post is the answer .

    As I said in post #5 only you can decide what idea you are trying to express in an eventual KPI

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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