Drop Down List

jtucker

New Member
Joined
Jul 14, 2011
Messages
2
I am an absolute excel newbie but am eager to learn. I am currently trying to use excel to setup test case management. I need a drop down that appears in a column of sells that strictly brings up 3 options. They are:

Pass
Fail
Not Run

Then on the buttom of the sheet I would like for a cell to calculate a formula that would determine the amount of each one selected (i.e. 4 pass, 5 fail, etc.)

Just curious if anyone can help me.

Thank you for your help, hopefully I'll be the one responding to posts with help sometime!!!!
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi Jtucker,

Select your cells that you want to restrict (e.g. A1:A100) and then click Data > Data Validation. In the D.V. window, on the Settings tab, select "List" in the first drop-down box. Next, click in the Source textbox and press the F2 button. Then type: Pass,Fail,Not Run

Make sure 'In-cell dropdown' is checked, as well as 'Ignore blank'. On the Input Message tab you can enter a note to tell the user something when they select one of those cells (can get annoying). On the Error Alert tab you can set warning levels if they try to enter invalid data (tough to do when you have a drop-down, but worthwhile to know).

As for counting each, at the bottom you can just use a COUNTIF formula.

=COUNTIF(A1:A100,"Pass")
=COUNTIF(A1:A100,"Fail")
etc..
 
Upvote 0
MVPTomlinson you are the man! Thank you. one other quick question...possible to change the color of the cell based upon list selection?

For example if its Pass the cell turns green
If Fail is selected it turns red
If Not Run is selected it turns amber

Thank you very much!

If you are a SD Charger Fan or LT fan (seems that you are) let me know. I run an autographed sports memorabilia company and have lots of charger and LT stuff!!!

**I am using Excel 2010**
 
Upvote 0
You can change cell colors based upon input/selection using Conditional Formatting.

Select those cells (e.g. A1:A100) and then click Conditional Formatting > Highlight Cell Rules > Equal To.

In the Equal To dialog, type: Pass
In the drop-down box choose Custom Format and then choose a Green Fill color on the Fill tab in the window that appears. Click OK twice to return to the sheet.

Repeat this process for Fail and Not Run, changing the Fill color each time.

You can always manage these rules by clicking Conditional Format > Manage Rules.
 
Upvote 0

Forum statistics

Threads
1,224,537
Messages
6,179,408
Members
452,912
Latest member
alicemil

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