How Do I create an Y/N input cell?

jsjoblom

New Member
Joined
Dec 4, 2009
Messages
37
I am creating a spreadsheet that multiple users will input data, tracking certain tasks. Example

name S shift E shift task start end total
Joe Shmo 12:00 10:30 task1 1:15 1:47 0:32

The name will be selected from a drop down selection. Once the name has been selected the shift start and end time will be inserted from a lookup table. The user then selects the task from another drop down, enters the start and end time and the total is displayed. I want to create a Y/N input cell that if selected Y, the same name is inserted in the next line (reducing data input) the user when then just have to add the task and times. If N is selected the a popup would remind the user to save the data. How can I do this?
 

Some videos you may like

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

doofusboy

Well-known Member
Joined
Oct 14, 2003
Messages
1,325
Just set up data validation for the cell where the Y/N would be input so user could select Y or N from a drop-down. Then in Sub Worksheet_Change for that worksheet you could enter code that would do the things you want done if the Target cell being changed has the same address as the Y/N validation cell.
 

Watch MrExcel Video

Forum statistics

Threads
1,122,233
Messages
5,594,963
Members
413,954
Latest member
mrsandy

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
Top