Solved

group information in excel the limit no is constant

Posted on 2013-12-23
1
247 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
1 Comment
 
LVL 23

Accepted Solution

by:
NBVC earned 500 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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

What is a Form List Box? (skip if you know this) The forms List Box is the alternative to the ActiveX list box. If you are using excel 2007, you first make sure you have a developer tab (click the Orb)->"Excel Options"->Popular->"Show Developer tab…
INDEX and MATCH can be used to great effect to replace HLOOKUP and VLOOKUP as it does not have the limitation of needing the data to be sorted so that the reference value is in the first column or row. It also has the ability to perform a bi-directi…
Viewers will learn the basics of slicers and timelines for both PivotTables and standard Excel tables in Excel 2013.
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.

708 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now