hi there, can anyone help me about the formula i would use in this summary.
i attached the sample data and summary table. i need to count all the value for the specific variables.
please note that may true data is 1000 lines or more.
hi there, can anyone help me about the formula i would use in this summary.
i attached the sample data and summary table. i need to count all the value for the specific variables.
please note that may true data is 1000 lines or more.
In the attached I use a helper column with this formula in E4 and filled down.Also note that the Category cells need to all be filled in ... ie no blanks in order for this to work.Formula:Please Login or Register to view this content.
Then in I4 and filled down.Formula:Please Login or Register to view this content.
Dave
Not sure where you get 4 for Cat1/Sub1 from? There are only 3 for that combo, and that includes Sub1 and just 1
1st, remove the "sub" part from C, then use this...
I4=COUNTIFS($B$4:$B$25,G4,$C$4:$C$25,RIGHT(H4,1))
copied down as needed
1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
2. If your question is resolved, mark it SOLVED using the thread tools
3. Click on the star if you think someone helped you
Regards
Ford
Ford if I understand correctly everything is Sub1 until it is Sub2 and therefore all Categories are Category1 Sub1 in that range and it would include dd in the Values column. I fear I've explained that very poorly.
B C D 3 Value 4 Category1 Sub1 5 Category1 1 aa 6 Category1 2 7 Category1 3 bb 8 Category1 4 9 Category1 5 cc 10 dd 11 Category1 6 12 Category1 7 13 Category1 8 14 Category1 Sub2 15 Category1 1 aa 16 Category1 2 bb 17 Category1 3
Last edited by angelosison00; 09-26-2019 at 10:27 PM.
This file ... still with helper columns.
In column E to normalize the Category#Formula:Please Login or Register to view this content.
In column F to set the limits of the names boundariesFormula:Please Login or Register to view this content.
Then in Total CountFormula:Please Login or Register to view this content.
hi sorry for to much scenarios.
what if i change the value to numbers instead of text. even though i still need the count not the sum.
thanks
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks