+ Reply to Thread
Results 1 to 3 of 3

Thread: 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 Guru Domski's Avatar
    Join Date
    12-14-2009
    MS-Off Ver
    What does it matter?
    Posts
    3,933

    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 Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,604

    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!
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

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

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

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

+ 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.2.0