+ Reply to Thread
Results 1 to 3 of 3

Pivot table

  1. #1
    Registered User
    Join Date
    03-07-2005
    Posts
    17

    Pivot table

    Is there a way to divide one column by another column? For example, in my data source table, I have a column for project, category, costs, and sqft. i want category as rows, project as columns, and cost under values. BUT i want the per unit cost (cost/sqft), not the total.

    i could add a column to the source table, but i want to use more than one unit type, like cost/acre, cost/month, cost/kw, cost/gallon, etc. is there a way, or do i just need to add all those columns?

  2. #2
    Forum Contributor
    Join Date
    05-16-2010
    Location
    UK
    MS-Off Ver
    2003 and 2007
    Posts
    252

    Re: Pivot table

    Do you want something like a Calculated Field? E.g.

    Name: Costs_Sqft

    Formula: =IF(ISERROR(Costs/Sqft),0,Costs/Sqft)

    Please see attached.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    03-07-2005
    Posts
    17

    Re: Pivot table

    Yes, that wound be better than adding columns to the source table.
    But i assume i have to create a calculated field for each unit_type_measurement? Or is there a way to use a drop down or combo, either outside or inside the pivot table.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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