+ Reply to Thread
Results 1 to 8 of 8

Using Data in Pivot Table for refernce point returns #NAME?

  1. #1
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Using Data in Pivot Table for refernce point returns #NAME?

    Hello All,

    Please see attached sheet:

    Excel Help Me2.xlsm

    My example sheet i removed the pivot table since it contained employee names.

    I have this array formula that works in my example:
    {=IF(COUNTIF(P8:AD8,1)=0,"No Worker Categories Found",StringConcat(",",IF(P8:AD8=1,$P$6:$AD$6,"")))}

    But then I pop'ed this formula into my primary sheet (where the range of P:AD is part of a pivot table) and is get an error "#NAME?".

    Can I not use formulas to look into pivot tables as reference points?

    Thanks,

  2. #2
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    Quote Originally Posted by JasonNeedsHelp View Post
    Hello All,

    Please see attached sheet:

    Attachment 378823

    My example sheet i removed the pivot table since it contained employee names.

    I have this array formula that works in my example:
    {=IF(COUNTIF(P8:AD8,1)=0,"No Worker Categories Found",StringConcat(",",IF(P8:AD8=1,$P$6:$AD$6,"")))}

    But then I pop'ed this formula into my primary sheet (where the range of P:AD is part of a pivot table) and is get an error "#NAME?".

    Can I not use formulas to look into pivot tables as reference points?

    Thanks,
    Any ideas? Thanks

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,220

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    Hi Jason,

    I think I know what you are asking. When I try to use a cell in my Pivot Table for a formula somewhere else, it sometimes doesn't work. Try to put a cell just to the right of the Pivot Table and make it simple like: =H8 , where H8 is simply a reflection of what is in the Pivot. Then do your formula off this new cell. If that doesn't work then I guess we need to see a better example of what you mean.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    #NAME? would suggest the workbook does not have access to the code for StringConcat function. Either because the code is not present or macros have not been enabled.
    Cheers
    Andy
    www.andypope.info

  5. #5
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    Quote Originally Posted by MarvinP View Post
    Hi Jason,

    I think I know what you are asking. When I try to use a cell in my Pivot Table for a formula somewhere else, it sometimes doesn't work. Try to put a cell just to the right of the Pivot Table and make it simple like: =H8 , where H8 is simply a reflection of what is in the Pivot. Then do your formula off this new cell. If that doesn't work then I guess we need to see a better example of what you mean.
    Hi MarvinP,

    Yes, the simple =H8 formula works.

  6. #6
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    Quote Originally Posted by Andy Pope View Post
    #NAME? would suggest the workbook does not have access to the code for StringConcat function. Either because the code is not present or macros have not been enabled.
    Hi Andy,

    You mean the source of the Pivot table? No, that is actually linked to a database on a server. The simple =(to cell) works. I guess i will have to mirror the data?

    Also, i was thinking does it need to read the formula? Could i use what is notblank? I tried "<>"&"*" but still get the #NAME? error.

  7. #7
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    No, not what I meant.

    The formula you posted contains a UDF ( User Defined Function) called StringConcat. If that is not available then it will return #NAME?

  8. #8
    Forum Contributor
    Join Date
    10-15-2013
    Location
    Calgary, Alberta
    MS-Off Ver
    Excel 2007
    Posts
    218

    Re: Using Data in Pivot Table for refernce point returns #NAME?

    Thanks for the help guys. You are correct; I was missing a UDF (which i know nothing about) that wasn't copied over from the worksheet I had help on. Thanks for identifying this!

+ 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. Pivot Table FRom Power Pivot Returns Sum Of Entire Field
    By goss in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-26-2013, 07:34 PM
  2. [SOLVED] Refernce to pivot table is an error when equal to 0
    By dcdeez in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 08-26-2013, 09:22 AM
  3. Pivot Table - point me in the right direction
    By GoneBaja in forum Excel - New Users/Basics
    Replies: 1
    Last Post: 09-01-2012, 07:23 PM
  4. Pivot Table pagefield returns wrong data when changed with vba
    By kuraitori in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-05-2010, 03:32 PM
  5. [SOLVED] vlookup fails on data from a pivot table-function returns N/A
    By Pat in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-17-2005, 05:05 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