?
Solved

group information in excel the limit no is constant

Posted on 2013-12-23
1
Medium Priority
?
301 Views
Last Modified: 2014-01-08
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 only count so
                                                     count
between 0 and 33,9 -> green        59
between 34 and 66,9 -> yellow     4
between 67 and 100,9 red            45
greater than 101 gray                    20

are many records and the record is not constant
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.

THE MORE IMPORTANT
i upload file xls that contain a pivot table  with 56 values but that values can increase to 1500 or decrease to 700, no is Constant, so aply limits in for example =A4:A50 don´t work for me beacuse in database can create a new value and pivot table change A4:A71,A4:A72,A4:A32,
please look the xls file in that file is very more details
agrupar-valores-buffer.xlsx
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
1 Comment
 
LVL 23

Accepted Solution

by:
NBVC earned 1000 total points
ID: 39736290
Create a Dynamic Named Range.

Go to Formulas tab, then Define Name.

Enter a name like MyList and add formula:

=OFFSET(Sheet2!$A$1,1,,COUNT(Sheet2!$A:$A),1)

Formulas in H4:H8:

=COUNTIFS(MyList,">101")
=COUNTIFS(MyList,">=67",MyList,"<=100.9")
=COUNTIFS(MyList,">=34",MyList,"<=66.9")
=COUNTIFS(MyList,">=0",MyList,"<=33.9")
=COUNTIFS(MyList,"<0")

You can also make the list in Sheet1 dynamic.  Say call it MyList2 and use similar formula:

=OFFSET(Sheet1!$D$1,,,COUNT(Sheet1!$D:$D),1)

Then you can adjust the PT source range to be =MyList2
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This Article briefly covers methods of calculating the NPV and IRR variants in Excel as well as the limitations in calculating and interpreting IRR results. Paraphrasing Richard Shockley, author of my favourite finance reference tex…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

650 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