## Count of Unique but with Criteria in 2003

I have a formula that counts unique values in a list.  I need to get that answer again but based on criteria from another field.

=SUM(IF(FREQUENCY(IF(LEN(CompIncumbentData!\$J\$9:\$J\$65536)>0,MATCH(CompIncumbentData!\$J\$9:\$J\$65536,CompIncumbentData!\$J\$9:\$J\$65536,0),""), IF(LEN(CompIncumbentData!\$J\$9:\$J\$65536)>0,MATCH(CompIncumbentData!\$J\$9:\$J\$65536,CompIncumbentData!\$J\$9:\$J\$65536,0),""))>0,1))

CompIncumbentData!\$Y\$9:\$Y\$65536 where this range must have data.  So show me the unique one in J who also have data in Y.

Is this do-able in 2003?

Kay

## Solutions to the Problem Count of Unique but with Criteria in 2003

Yes, I think that would work as well, but I do not know enough about programming to get it to work.  Another formula suggestion came in from another contributor and so far it seems to be working.  I have only tested it with a few records.

Thanks for the suggestion.

Kay

Hi,

I posted a solution then I found it didn't work reliably so I deteled it, try this ARRAY formula instead.
Note I shortened the range to row 65 instead of 65536.
When you put the row number to the correct one I suggest you use one
sufficiently large to catch all your data but not as many rows as you where using.

=SUM(IF(FREQUENCY(IF(((LEN(CompIncumbentData!\$J\$9:\$J\$65)>0)*(CompIncumbentData!\$Y\$9:\$Y\$65<>"")),MATCH(CompIncumbentData!\$J\$9:\$J\$65,CompIncumbentData!\$J\$9:\$J\$65,0),""), IF(LEN(CompIncumbentData!\$J\$9:\$J\$65)>0,MATCH(CompIncumbentData!\$J\$9:\$J\$65,CompIncumbentData!\$J\$9:\$J\$65,0),""))>0,1))

## System Restore - Fix All Errors including Count of Unique but with Criteria in 2003

• Click on the Start button on the Taskbar.
• Type "System Restore" (without quotes) in the Search box and hit Enter or,
• Click on System Restore (when you see System Restore pop up  in the list of search results).
• Make sure the "Recommended restore" radio button is checked on the restore utility window.
• Click on Next and follow the instructions given.

Note: There is the option on the restore utility to select "Choose a different restore point". Unless you have a specific reason to select a different date and time than what Windows recommends, just select the recommended option stated in the steps above. If you choose to select another one, follow these steps:

Click on that desired date and time, and Windows 7 will perform a scan for any affected programs in that restore point.

Once completed, click Next and follow the instructions given.

Once you have selected the restore point, your system will start the restoring process, after which you will have to restart the system.