ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Data Validation, drop list question (https://www.excelbanter.com/excel-discussion-misc-queries/202254-data-validation-drop-list-question.html)

Jesse Blanchard

Data Validation, drop list question
 
I'm creating a sheet for a hospital to keep track of the different types of
patients they have in the spinal chord clinic. The drop list includes four
options to choose from. What I need to do is get the worksheet to keept
track of how many times each option is selected and show that number in
another cell below. Can anyone help on how to do this? The drop lists are
already created.

RagDyeR

Data Validation, drop list question
 
You should be able to use the Countif() function.

Assuming the drop downs are in a single column, enter the 4 options in a
list, and then refer to those 4 list cells in the countif formula to get
totals of the 4 options.

Say the drop downs are in C5 to C100.
Say you create the options list in C105 to C108.

In D105 enter this formula:

=Countif(C$5:C$100,C5)

And copy down to C108.

Make sure the options list matches *exactly* with the drop down options.
--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------

"Jesse Blanchard" <Jesse wrote in
message ...
I'm creating a sheet for a hospital to keep track of the different types
of
patients they have in the spinal chord clinic. The drop list includes four
options to choose from. What I need to do is get the worksheet to keept
track of how many times each option is selected and show that number in
another cell below. Can anyone help on how to do this? The drop lists are
already created.





All times are GMT +1. The time now is 10:01 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com