Dropdown List with COUNTIFS

Matt65

New Member
Joined
Jan 22, 2014
Messages
4
Hi, I'm using Excel 2010.

So, I have 1 worksheet that is broken up horizontally by "activities," and there are 10 of these activities. Below the title of each activity is a dropdown list to select topics that were discussed during that activity. It look something like this:

Activity 1
Activity 2
Dropdown list
Dropdown list
Data
Data

<tbody>
</tbody>

On a second worksheet I have a list of each of the potential topics from the dropdown list and want to be able to count the number of activities in which each topic was discussed. It looks something like this:

Topic
#
Topic 1
1
Topic 2
3

<tbody>
</tbody>

I tried to do this with a SUM of COUNTIFS with this formula:

=SUM(COUNTIFS('Activity Log'!D$6:D$11,D6,'Activity Log'!D$13,">0"),COUNTIFS('Activity Log'!M$6:M$11,D6,'Activity Log'!D$13,">0"),etc...)

which actually worked on a previous version of the document. However, now when I do this it returns #VALUE! with the note ERROR IN VALUE. I've put the dropdown list in Text format, so is there some reason why I cannot do a COUNTIFS with text data from a dropdown list.

Thanks,

Matt
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
Ok,

'Activity Log'!D$6:D$11: These are the 6 cells with dropdown lists in them for "Activity 1" from above. This allows the opportunity to select up to 6 topics that were covered in the activity. Each one is a text cell with topics like: "financial management" and "internal management" to choose from. 'Activity Log'!M$6:M$11 is the same dropdown list that allows for selecting from the same group of topics for "Activity 2."

D6: This is essentially the "Topic 1" cell in the second worksheet mentioned above. It corresponds with the first topic available in the dropdown lists. D7, D8, etc... each have one of the other topic choices.

'Activity Log'!D$13,">0": This is a cell recording the number of hours in which the activity took place, and should have a positive number for that activity to be counted in the second worksheet.

The formula is going in cell E7, which corresponds to the "1" cell in the second worksheet above.

Thanks for your patience, and I hope that helps.
 
Upvote 0

Forum statistics

Threads
1,216,111
Messages
6,128,898
Members
449,477
Latest member
panjongshing

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top