Dear All,
Please find the attached file Sample Data.I need to pull the list of ID's based on the highest no of complaints in particular Complaint Category as shown in sheet "Summary"
Customer Complaint No.of Complaints
40145 13
40123 10
43212 09
Dear All,
Please find the attached file Sample Data.I need to pull the list of ID's based on the highest no of complaints in particular Complaint Category as shown in sheet "Summary"
Customer Complaint No.of Complaints
40145 13
40123 10
43212 09
I would likely create a simple pivot table filtering on each particular complaint, couting the complaints by ID, then sort from low to high. Pulling the data to the summary tab will then be very easy.
Please ensure you mark your thread as Solved once it is. Click here to see how.
If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.
I used 5 helper columns for this. They are in columns J:N of the Data sheet.
The base formula for column J is:The formula for column K is:Formula:
Please Login or Register to view this content.It is a variation on the first one with the added variable. Each formula for the remaining columns will need to have the text "Non-Meter" replaced according to need. In case I am permitted to upload this file (it is quite large) I left AutoFilters in place including the helper columns so you can confirm the results; there are mostly blank cells in the right-most columns.Formula:
Please Login or Register to view this content.
On the Summary sheet in column C is this formula:This the base formula for columns F, L, I and O. It sorts the results of the helper columns. You will need to edit the cell references for these other columns.Formula:
Please Login or Register to view this content.
This is the base formula for listing the ID's. This one goes in column B. It is an array-entered** formula:Make necessary changes to the cell references for columns E, H, K and N.Formula:
Please Login or Register to view this content.
**Array enter means the formula must be committed by simultaneously pressing and holding down Ctrl and Shift while hitting Enter. Then copy / fill down the rest of the column.
I will attempt to upload the file.
Edit: There is an error in the helper columns K:N. MarvinP's pivot table alerted me to it. I would see what I could do to remedy it, but the PT looks like a much better approach.....so I probably won't.
Last edited by FlameRetired; 03-17-2015 at 01:17 AM.
Is this pivot structure what you are asking for?
One test is worth a thousand opinions.
Click the * Add Reputation below to say thanks.
as MarvinP said use pivot table other wise
you have to create supporting columns and some array formulas - it may slow your system due to lot of calculations, I think you have huge data (rows)
Samba
Say thanks to those who have helped you by clicking Add Reputation star.
Thanks a ton!!!
For your support ...
I have used the Pivot table option given by Marvin P
Thanks once again.![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks