Count the number invoices which consists any of the given products

Hi,
I have a data as below,

Product Code
Invoice Number

AB012
INV0123

BC012
INV0123

CD014
INV0123

AB012
INV0124

AB013
INV0124

BC012
INV0124

AB012
INV0125

BC012
INV0125

CD012
INV0125

AB013
INV0126

BC013
INV0126

CD013
INV0126

I need to count the number of invoices inwhich it consists the product AB012 or BC012.
Best Regards,
Mohammed Nafi.

Solutions to the Problem Count the number invoices which consists any of the given products

Hi,
Try this
1.
In cell F2:F3, type FT006 and FT00633 respectively
2.
In cell G2, enter this array formula (Ctrl+Shift+Enter)
=SUMPRODUCT(1*(FREQUENCY(IF(ISNUMBER(MATCH(\$A\$2:\$A\$1733,\$F\$2:\$F\$3,0)),MATCH(\$C\$2:\$C\$1733,\$C\$2:\$C\$1733,0)),ROW(\$C\$2:\$C\$1733)-ROW(\$C\$1))>0))
The result is 76 - unique Document Ref entries where the Item code is either FT006 or FT 00633.  I manually checked this figure - it is correct.  Please point out exactly where you are facing the problem.

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.

Recommended Method to Repair the Problem: Count the number invoices which consists any of the given products:

How to Fix Count the number invoices which consists any of the given products 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 scan result.

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

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