?
Solved

group information user defined dynamic table in excel 2013

Posted on 2013-12-20
2
Medium Priority
?
254 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 21

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 1500 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

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
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 …

762 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