Using Drop Down menus for data entry

Sambrowne

New Member
Joined
Sep 13, 2016
Messages
46
Office Version
  1. 365
Platform
  1. MacOS
I'm trying to create a method of tracking the use of hours across my business over and above standard hours. There are three data fields; over hours, overtime and agency. I've created a dropdown menu which gives those three options but what I'd like to happen is that when they select Agency (for example) I'd like the cell to go empty and allow them to enter a numerical value, let's say 10 for Mon on HCF. Additionally, as it's agency I'd like the figure 10 to run red and automatically populate M11 in the same colour. Totals I can sum easily enough. Thanks!
 

Attachments

  • Screenshot 2023-10-20 092601.png
    Screenshot 2023-10-20 092601.png
    22.7 KB · Views: 15

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
DV (Data validation) doesn't work that way. In "List" validation the selected item from the drop down is what goes into the cell.

There are other forms of DV that doesn't use drop downs. But as a test in your scenario i tried this formula:
=OR(E11="Hours Over", E11="Over Time",E11>0)
the formula was accepted in the DV dialog, but any text was allowed, although it would not allow numbers less than or equal to zero.
 
Upvote 0
Thanks, I had a feeling that DV wouldn't work the way I was trying to work it. I couldn't see where you entered the text though, did you go to Custom?
 
Upvote 0
Thanks, I had a feeling that DV wouldn't work the way I was trying to work it. I couldn't see where you entered the text though, did you go to Custom?
Yes, from the "allow" option drop down, select "Custom".
 
Upvote 0
Hmm, I tried it but nothing seemed to happen. Is there another way of doing this do you think?
 
Upvote 0
well. I"m not sure what you tried. When I tried using the "custom" formula it still did not work for me.
I think you need to use some other way of tracking, maybe a helper column.

if the "tracker" format in your image is what you must keep, then I suggest having a different worksheet with only 4 columns:
Serv, Dept, Type, & Date. Then provide a summary by building a pivot table or a formula grid that looks like your image.
 
Upvote 0
Cheers, I’ll probably have to rethink this. 👍🏻
For what it is worth. I think most advanced excel users want to keep the RAW data separate from any reporting or analysis worksheets.
So, having a separate worksheet to keep your input is not unusual.

Best Wishes!
 
Upvote 0
Yeah, there’s the thing. As an unadvanced user I’m struggling with it a bit!

😁
 
Upvote 0

Forum statistics

Threads
1,215,133
Messages
6,123,235
Members
449,092
Latest member
SCleaveland

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