+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 : Using Countif formula in a Pivot Table

  1. #1
    Registered User
    Join Date
    06-15-2011
    Location
    Florida
    MS-Off Ver
    Excel 2007
    Posts
    1

    Unhappy Using Countif formula in a Pivot Table

    Hi,

    Im working with a large data spreadsheet that has Yes and No answers in different columns. There are blanks within the selection too.
    I need to calculate only the Yes.
    I have tried using the filters in the Pivot Table field list and they are not working.
    So now i'm trying to add a COUNTIF formula in the Calculated Fields section.
    The formula I'm using is =Countif('Time limit extension'="yes") and i get the answer "too few."
    What should I be using in the formula to get the calculated field to work? I have search the whole forum and I haven't found an answer that can help me.

    Please HELP!!!

  2. #2
    Forum Expert Domski's Avatar
    Join Date
    12-14-2009
    Location
    A galaxy far, far away
    MS-Off Ver
    Darth Office 2010
    Posts
    3,950

    Re: Using Countif formula in a Pivot Table

    Hi,

    You can use the GETPIVOTDATA function to extract information from a pivot table.

    Dom
    "May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."

    Use code tags when posting your VBA code: [code] Your code here [/code]

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

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898

    Re: Using Countif formula in a Pivot Table

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

+ 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