Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

countifs function combined array

Forum home » Delegate support and help forum » Microsoft Excel Training and help » COUNTIFS function combined with array?

COUNTIFS function combined with array?

ResolvedVersion 2007

Paul has attended:
Excel Advanced course

COUNTIFS function combined with array?

I have created a reporting database for competition results. I have successfully used the COUNTIFS function to provide reports based on several filtering criteria (i.e. number of gold medals, number of silver medals, number of bronze medals, number of medals at senior competition, number of medals at junior competition etc etc..). Having completed the excel training I am lookign to recreate tables using Pivot Tables

However, for each of the summary report figures I need to account for how many individuals are responsible for these (e.g. the report may show 10 gold medals but 5 athletes may have been responsible for these). This is something that I don't believe that a Pivot Table can calculate so I am looking to include some sort of worksheet function that will effectively count the number of unique name entries for each of the report filters applied.

I wrote a fairly complicated array that counts the number of unique name entries that appear in a column (where "name" refers to column B that contains names First_Last format.

The array formula is:
=SUM(IF(FREQUENCY(IF(LEN(Name)>0,MATCH(Name,Name,0),""), IF(LEN(Name)>0,MATCH(Name,Name,0),""))>0,1))-1

While this successfully gives me the number of unique names that appear, I have failed to combine this with the other COUNTIFS functions to calculate number of athletes responsible for each of the competition summary report fields.

Many thanks in advance!!

RE: COUNTIFS function combined with array?

Hello - any ideas where to go on this?

Thanks

RE: COUNTIFS function combined with array?

Hello Paul

Thanks for your post, I have checked with two of the team and they both can't find any resolutions to this.

There might be an answer but it is beyond the scope of this forum. If you would like to take this further we can have a look at your files and let you know how much development time it will take and any related costs.

Just pop me an email if you want to look at this further.
jacob@stl-training.co.uk

Kind regards

Jacob

Wed 20 Apr 2011: Automatically marked as resolved.

Excel tip:

New Normal Worksheet

Do you want all your worksheets to confirm to a certain look? Then change the Defaults!!!
1. Press Shift+F11 to create a new worksheet
2. Press Ctrl+A to select (higlight) all cells, Press Ctrl+1, make any formatting changes then click OK.
3. Press F12 (Function 12 key) click in the Save As Type, drop down, then select Template (*.xlt)
4. Click in the Save in drop-down, then find the folder; c:_program files_microsoft office_office_start. (For the underscores shown use backslash)
Name your templete sheet.xlt, then press Enter.
Sheet.xlt is used when you insert a new worksheet (Shift+F11)

Note: These changes are permanent changes on your PC.

View all Excel hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.1 secs.