+ Reply to Thread
Results 1 to 9 of 9

Calculated Field to divide amount by total and multiple by number

  1. #1
    Registered User
    Join Date
    08-30-2012
    Location
    england
    MS-Off Ver
    Excel 365 MSO
    Posts
    10

    Calculated Field to divide amount by total and multiple by number

    Hi,

    I know I might need to put this formula outside of the pivot table after trying different ways but does anyone know of a way I can insert a calculated field to divide a number by the Grand Total and then multiple by a figure:
    For example:

    Name: Amount: Formula:
    A £10 (=£10/£37)*£5 = £1.35
    B £5 (=£5/£37) * £5 = £0.67
    C £3 etc
    D £8 etc
    E £11 etc.......
    Grand Total £37

    Thanks

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,079

    Re: Calculated Field to divide amount by total and multiple by number

    Is your profile up-to-date? Still using Excel 2003?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  3. #3
    Registered User
    Join Date
    08-30-2012
    Location
    england
    MS-Off Ver
    Excel 365 MSO
    Posts
    10

    Re: Calculated Field to divide amount by total and multiple by number

    Microsoft 365 MSO 32 Bit

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,079

    Re: Calculated Field to divide amount by total and multiple by number

    Update your forum profile, please. Thanks.

    There are instructions at the top of the page explaining how to attach your sample workbook.

  5. #5
    Registered User
    Join Date
    08-30-2012
    Location
    england
    MS-Off Ver
    Excel 365 MSO
    Posts
    10

    Re: Calculated Field to divide amount by total and multiple by number

    Uploaded sample Thanks
    Attached Files Attached Files

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    MS 365 Business (Win 10 - Work) & MS 365 Subscription Insider (Win 10 - Home)
    Posts
    47,079

    Re: Calculated Field to divide amount by total and multiple by number

    There's no pivot table there ...

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Sadly... in lockdown, but based in Ireland.
    MS-Off Ver
    µSoft Office 365. Learning Excel all over again!!
    Posts
    29,938

    Re: Calculated Field to divide amount by total and multiple by number

    Where's the Pivot Table?
    Glenn



  8. #8
    Registered User
    Join Date
    08-30-2012
    Location
    england
    MS-Off Ver
    Excel 365 MSO
    Posts
    10

    Re: Calculated Field to divide amount by total and multiple by number

    Re-attached
    Attached Files Attached Files

  9. #9
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2010/2019
    Posts
    11,881

    Re: Calculated Field to divide amount by total and multiple by number

    As you are using the 365 version of Excel you could use Power Pivot.
    1. Convert A1:B6 into a table
    2. Add the table to the Data Model and then add a column (Total) populated using: =sum(Table1[Amount])
    3. Add a measure Formula:=SUM(Table1[Amount])/AVERAGE(Table1[Total])*5
    4. Produce a pivot table from the data model put Category in the Rows area then Amount and Formula in the Values area.
    Note that Formula is formatted through the Data Model.
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. [SOLVED] Adding a Calculated field to divide one column by another
    By puffinator in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 02-25-2021, 04:31 AM
  2. Pivot Table Calculate Field to divide total number of jobs by day type
    By quentin5000 in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 09-05-2019, 10:16 PM
  3. [SOLVED] Calculated Field for total number of employees per day
    By BDD2015 in forum Excel General
    Replies: 7
    Last Post: 03-12-2018, 08:18 AM
  4. Replies: 5
    Last Post: 05-22-2017, 03:21 AM
  5. Replies: 0
    Last Post: 08-15-2016, 02:07 PM
  6. Replies: 0
    Last Post: 10-24-2013, 10:59 AM
  7. Replies: 2
    Last Post: 11-05-2012, 11:32 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