Friday, September 23, 2016

How to Fix - Count of unique values?

Count of unique values

A
B
C
D
E
F

District
 
Class
Category
Vendor Style
AUGUST

 

ROW
Location

1
500
5000
1865
1
16392004
0

2
500
5000
1865
1
5BB1246B
6

3
500
5000
1865
1
5BB1242BP
0

4
500
5000
1864
1
5BB1244P
0

5
500
5000
1864
1
5BB1246A
0

6
500
5000
1864
2
5BB1246B
6

7
501
5001
1864
2
5BB1248
6

8
501
5001
1864
1
5D1974E
0

9
501
5001
1866
1
5D1974EW
0

10
501
5002
1866
1
5D1976C
0

11
501
5002
1866
3
5D1978EP
6

 
For the data set above, we need a count of distinct VENDOR STYLES (col E) that has a value of >0 in column F for each of the Districts #'s listed in col A.
 
thank you in advance for your help!  jane

Anwsers to the Problem Count of unique values

Download SmartPCFixer to Fix It (Free)

A
B
C
D
E
F

 
District
 
Class
Category
Vendor Style
AUGUST

 

ROW
Location

1
500
5000
1865
1
16392004
0

2
500
5000
1865
1
5BB1246B
6

3
500
5000
1865
1
5BB1242BP
0

4
500
5000
1864
1
5BB1244P
0

5
500
5000
1864
1
5BB1246A
0

6
500
5000
1864
2
5BB1246B
6

7
501
5001
1864
2
5BB1248
6

8
501
5001
1864
1
5D1974E
0

9
501
5001
1866
1
5D1974EW
0

10
501
5002
1866
1
5D1976C
0

11
501
5002
1866
3
5D1978EP
6

 
For the data set above, we need a count of distinct VENDOR STYLES (col E) that has a value of >0 in column F for each of the Districts #'s listed in col A.
 
thank you in advance for your help!  jane

Assuming your data is in the range A2:F12.
You have the unique Districts listed starting in cell H2 on down.
Enter this array formula** in I2 and copy down as needed:
=SUM(IF(FREQUENCY(IF(A$2:A$12=H2,IF(F$2:F$12>0,MATCH(E$2:E$12,E$2:E$12,0))),ROW(E$2:E$12)-ROW(E$2)+1),1))
** array formulas need to be entered using the key combination of CTRL,SHIFT,ENTER (not just ENTER).
Hold down both the CTRL key and the SHIFT key then hit ENTER.
--
Biff
Microsoft Excel MVP

Open Action Center by clicking the Start button Picture of the Start button, clicking Control Panel, and then, under System and Security, clicking Review your computer's status.

Make sure your computer has at least the minimum amount of random access memory (RAM) required to run the program that is displaying the error. Look for the program requirements online or in the packaging information.

Recommended Method to Fix the Problem: Count of unique values:

How to Fix Count of unique values with SmartPCFixer?

1. Click the button to download Error Fixer . Install it on your computer.  Open it, and it will perform a scan for your system. The errors will be shown in the list.

2. After the scan is done, you can see the errors and problems which need to be repaired.

3. When the Fixing part is done, your computer has been speeded up and the errors have been fixed


Related: How Can You Update & Download NVidia 6100, 6800 GS/XT Display Driver v.260.89 WHQL,Where to Download NVidia GeForce 8800 GT WHQL-certified driver v.196.21,How to Update & Download NVidia GeForce Go 7400 Display Driver v.260.19.12,[Solved] Download NVidia GeForce GTX 460M Driver v.331.82,Download NVidia Quadro Plex Model IV VGA Driver v.304.43 Certified,Way to Download RealTek RTL8100C(L) Driver v.5.01,Way to Download RealTek RTL8100E Drivers v.694,Way to Update & Download RealTek RTL8101L Auto Installation Program v.6.110 driver,Method to Update & Download RealTek RTL8111G PXE and RPL ROM code v.2.58 driver,How to Update & Download RealTek RTL8411B(N) Driver v.10.003,Best Way to Update & Download ASUS A53SV nVidia Graphics Driver v.8.17.12.6686,Method to Herunterladen ASUS K75VJ Intel Rapid Storage Technology Treiber v.11.6.0.1030,How Can You Update & Download ASUS CG8580 Intel Chipset Driver v.9.3.0.1019,Method to Update & Download ASUS K41VD Intel INF Update Driver v.9.1.1.1015,Way to Update & Download ASUS Pro70T NB Probe v.3.0.0026 driver
Read More: Tech Support: Contacting Customer Service for password reset,How to Resolve - Control panel & message center freezes?,[Solved] content of window disappears out of window view,Copying data currently goes into multiple cells when I want it in one cell [Solved],Creating a dynamic VLOOKUP [Anwsered],Closing Internet Explorer causes error,Compare 2 Tables and Calculate the PROFIT Faster,Computer goes to Windows Boot Manager after Start,Connect to one of my network computer remotely when don't allow exception box Marked,computer locking up randomly

No comments:

Post a Comment