Solved

group information user defined dynamic table in excel 2013

Posted on 2013-12-20
2
249 Views
Last Modified: 2013-12-23
how i can to group information in excel user defined in dynamic table.
I have a pivot table with the source mysql database and I have a field called buffer
I need group by ranges so
between 0 and 33,9 -> green
between 34 and 66,9 -> yellow
between 67 and 100,9 red
greater than 101 gray
are many records
excel only you can group a range, but I have every range that is different
excel to have a origin of a database the records of PivotTable increase and decrease
is not constant

I can group rows in excel and then selecting the group and give the name to the group but the problem is that many records and change records. increase and decrement, so selecting  it has a limit in the selection.
0
Comment
Question by:controlit
2 Comments
 
LVL 20

Expert Comment

by:SelfGovern
ID: 39733206
I don't think this is hard, if I understand what you're trying to do.

As long as you know which cells you want the effects on, set them up with
Excel's Conditional Formatting -- once you have your rules in place, the
cells will get the right colors or effects, even if the values change.

See the attached.  Blue arrow shows where you get to the conditional
formatting widget. Excel Conditional formatting example
0
 
LVL 16

Accepted Solution

by:
Jerry Paladino earned 500 total points
ID: 39733578
I believe you are trying to do custom grouping within the pivot table.  You can use the INDEX and MATCH functions with -1 as the match type to group numbers in specific categories or ranges.  Please see the attached file   ----    =INDEX($F$5:$G$10,MATCH(C7,$F$5:$F$10,-1),2)

Create a lookup table with the group criteria in descending order with a second column containing the group name that can be used in the pivot table.  Preface each label with a letter to facilitate easier sorting.  

In a column adjacent to the right of your MySQL data, add a helper column with the INDEX/MATCH formula.   The new helper column provides the grouping label for the pivot table.   You can then use SelfGovern's conditional formatting to adjust the colors.

HTH
Jerry
Pivot with GroupingEE-Q-28323002.xlsx
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

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

Suggested Solutions

Workplace bullying has increased with the use of email and social media. Retain evidence of this with email archiving to protect your employees.
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

825 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