Solved

#N/A in PivotTable Ranking

Posted on 2014-10-21
5
900 Views
Last Modified: 2014-10-21
Folks,
I'm getting a #N/A! error when trying to ranking data (largest to smallest) in my pivot table:
Rank problem PivotTableI've no clue why?
0
Comment
Question by:Frank Freese
  • 3
5 Comments
 
LVL 2

Expert Comment

by:Jeff Lewandowski
ID: 40395260
#N/A       -       Occurs if the supplied number is not present in the supplied array of values.

(Note that the function does not recognise text representations of numbers as numeric values, so you will also get the #N/A error if the values in the supplied 'ref' array are text values)

http://www.excelfunctions.net/Excel-Rank-Function.html
0
 

Author Comment

by:Frank Freese
ID: 40395375
I have attached the data I am using as a table.  I cannot find anything wrong with the data (I tried).
Try creating a pivot table with the row being Market and the Values being Revenue. Accept the default Values of Sum. Go back to the pivot table and change the values for Revenue from sum to Show Values As Ranked Largest to Smallest. With my data I cannot rank revenue, quantity, or any thing.
MoreData.xlsx
0
 
LVL 15

Accepted Solution

by:
Haris Djulic earned 500 total points
ID: 40395484
You need to choose Market as base field... Since any other field which is not listed in rows will produce the N/A error since it cant use it..
Capture.PNG
0
 

Author Comment

by:Frank Freese
ID: 40395520
I JUST figured that out - but thanks for the affirmation
0
 

Author Closing Comment

by:Frank Freese
ID: 40395521
thank you kindly
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question