Friday, September 23, 2016

Solution to Problem: Count unique values in a column when conditions in a separate column are met

Count unique values in a column when conditions in a separate column are met

Let's say I have two columns that look like this:
 
A         B
red      1
red      4
green  2
blue    4
red      3
 
By glancing at this table, you can see that there are 4 unique values in column B.
What I need is a formula that will count how many unique values exists in column B if the corresponding cell in column A says "red".
I can't quite figure this one out.
Any
suggestions?

Solutions to the Problem Count unique values in a column when conditions in a separate column are met

Download SmartPCFixer for Free Now

Assuming your data is in the range A2:B6 with no empty cells within the range.
D2 = red
Enter this array formula** in E2:
=SUM(IF(FREQUENCY(IF(A2:A6=D2,B2:B6),B2:B6),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.

In this method we will try to Boot in Safe mode with Networking and see if the error still persists.

  • Search "MSCONFIG" and Open.
  • Click on Boot Tab
  • Tick Safe Boot in Boot Option
  • Select Network.
  • Click Apply and OK.
  • Reboot your System.

Another Safe way to Fix the Problem: Count unique values in a column when conditions in a separate column are met:

How to Fix Count unique values in a column when conditions in a separate column are met with SmartPCFixer?

1. Click the button to download SmartPCFixer . Install it on your computer.  Run it, and it will scan your system. The junk files will be shown in the list.

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

3. The Fixing part is done, the speed of your computer will be much higher than before and the errors have been removed.


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: Troubleshooting:Constantly crashing, lagging, and now all the sudden I can't get sound to come out of the computer. Like I turn on itunes and it works perfectly but if I try to listen to music or watch a youtube video on the internet the sound won't work. Error,Fast Solution to Problem: Contour Chart Legend Entry Fill Unchangeable,Troubleshooting:Copy a combo box Error,Tech Support: Connetion Manager for Win 7,Continually offered updates: KB979909, KB982168, KB982524 [Solved],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