+ Reply to Thread
Results 1 to 3 of 3

Easily add over 300+ fields to Values section & Sum?

  1. #1
    Registered User
    Join Date
    07-30-2012
    Location
    Arlington, TX
    MS-Off Ver
    Excel 2010
    Posts
    47

    Easily add over 300+ fields to Values section & Sum?

    I have a PT that works off another formula based on a criteria that if a specific day of the year falls within the rows date range, place a "1" in the cell. Otherwise place a "0".

    B1: 8/1/14 C1: 8/2/14 D1: 8/3/14...
    A2 7/31/14-8/2/14 1 1 0
    A3 8/3/14-8/5/14 0 0 1
    A4 7/24/14-8/5/14 1 1 1

    The PT picks up the 1's and 0's by date and sums them up:
    8/1/14: 2
    8/2/14: 2
    8/3/14: 3


    When setting up the PT, I have to manually add each date (365 of them) to the Values on the PT and then switch from "count" to "Sum". Is there a way to do this in bulk, quickly?

    Please tell me there is!!

  2. #2
    Valued Forum Contributor
    Join Date
    02-09-2006
    Location
    Melbourne, Australia
    MS-Off Ver
    Office 2016
    Posts
    1,077

    Re: Easily add over 300+ fields to Values section & Sum?

    Please attach a sample of your workbook so we don't need to re-create your work to find possible solutions. Remember to remove/replace sensitive info before uploading the file.
    Trish in Oz
    -------------
    A problem well defined is a puzzle half solved


    If you attach a sample of your workbook it will be easier to find a solution. Remember to remove/replace sensitive data before uploading the file. Look here if you need help with attachments:
    http://www.excelforum.com/faq.php?fa...b3_attachments

  3. #3
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,974

    Re: Easily add over 300+ fields to Values section & Sum?

    You would need to use code or rearrange the data source which is not in ideal layout for a pivot table by the sounds of it.
    Everyone who confuses correlation and causation ends up dead.

+ 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] sort a section if cells in section contains certain values
    By vitaudi in forum Excel General
    Replies: 9
    Last Post: 10-08-2014, 03:15 AM
  2. Capitalize all fields of first name - is this easily possible?
    By benyben123 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-21-2013, 03:58 PM
  3. Replies: 0
    Last Post: 06-19-2012, 06:22 AM
  4. Replies: 1
    Last Post: 04-22-2012, 06:49 PM
  5. Easily convert all formulas in 3d spreadsheet to values?
    By Jazza in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-08-2006, 11:50 PM

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