## Count unique values

I've looked thru the boards and can't seem to find a resolution to my query....
I'm trying to count the number of unique records in Column C depending on the value in Column A.
For example....my data consists of the following

Vendor Number (Column A)                       Payment Amount (Column B)                                Check Number (Column C)                     Check Date (Col D)
12345                                                            \$500.00                                                                 600542                                                     1/14/13
45678                                                            \$300.00                                                                 600859                                                     1/21/13
12345                                                            \$350.00                                                                 600542                                                     1/14/13
12345                                                            \$700.00                                                                 650001                                                     2/15/13
45678                                                            \$650.00                                                                 600954                                                     1/28/13
45678                                                            \$587.00                                                                 600954                                                     1/28/13
45678                                                            \$305.00                                                                 650057                                                     2/20/13

I'd like to get a count of the total number of checks written to vendor 12345.
Based on the information above....the answer I'm looking for is 2.
Similarly....if I look at vendor 45678....the answer I'm looking for is 3.

Additionall, how can the formula be further expanded to determine the count of checks written to 12345 between 1/1/13 and 1/31/13?

Thanks

Brian

## Solutions to the Problem Count unique values

@JLLatham;

Given the data laid out as per your image, wouldn't a SUMPRODUCT(/COUNTIF()) be sufficient for a unique count?

For F2 (then copy down),
=SUMPRODUCT((\$A\$2:\$A\$99=\$E2)/COUNTIF(\$C\$2:\$C\$99,\$C\$2:\$C\$99&""))

For H5 (then copy down),
=SUMPRODUCT((\$D\$2:\$D\$99>=\$F5)*(\$D\$2:\$D\$99<=\$G5)*(\$A\$2:\$A\$99=\$E2)/COUNTIF(\$C\$2:\$C\$99,\$C\$2:\$C\$99&""))

Manually editing the Windows registry

Manually editing the Windows registry to remove invalid MACHINE_CHECK_EXCEPTION keys is not recommended unless you are PC service professional. Incorrectly editing your registry can stop your PC from functioning and create irreversible damage to your operating system. In fact, one misplaced comma can prevent your PC from booting entirely!

Caution: Unless you an advanced PC user, we DO NOT recommend editing the Windows registry manually. Using Registry Editor incorrectly can cause serious problems that may require you to reinstall Windows. We do not guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk.

To manually repair your Windows registry, first you need to create a backup by exporting a portion of the registry related to MACHINE_CHECK_EXCEPTION (eg. Windows Operating System):

• Click the Start button.
• Type "command" in the search box... DO NOT hit ENTER yet!
• While holding CTRL-Shift on your keyboard, hit ENTER.
• You will be prompted with a permission dialog box.
• Click Yes.
• A black box will open with a blinking cursor.
• Type "regedit" and hit ENTER.
• In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
• From the File menu, choose Export.
• In the Save In list, select the folder where you want to save the Windows Operating System backup key.
• In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
• In the Export Range box, be sure that "Selected branch" is selected.
• Click Save.
• The file is then saved with a .reg file extension.
• You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.

## Another Safe way to Fix the Problem: Count unique values:

### How to Fix Count unique values with SmartPCFixer?

1. You can Download Error Fixer here. Install it on your system. When you open it, it will perform a scan.

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

3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.