98.7% Of all customers recommend us, we're so confident about our results we publish all reviews and stats
View Live Stats View ReviewsForum home » Delegate support and help forum » Microsoft Excel Training and help » COUNTIFS function combined with array?
COUNTIFS function combined with array?
Resolved · Urgent Priority · Version 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.
Training information:
See also:
Welcome. Please choose your application (eg. Excel) and then post your question. Our Microsoft Qualified trainers will then respond within 24 hours (working days). Frequently Asked Questions
Any suggestions, questions or comments? Please post in the Improve the forum thread. |
Excel tip:Quickly copy a formula across sheetsSuppose you have a formula in cell Sheet1!B2, say =A1*5%, that you wish to copy to cell B2 on Sheet2, Sheet3 and Sheet4. Instead of using copy and paste, try this: (1) Select Sheet1!B2. (2) Group Sheet1 with the worksheets Sheet2, Sheet3 and Sheet4 by holding down Ctrl and clicking on the tabs of the sheets to group them. (3) Press the F2 key, then immediately press Enter to copy the formula in Sheet1!B2 across the grouped sheets. |