#1   Report Post  
Chink!
 
Posts: n/a
Default tick box

Hello

I am making a timesheet to record working hours

Would it be possible to use a tick box ( I know how to add this to a cell)
to return a particular value in another cell?
I would like a user to be able to tick a box to indicate annual leave
lets say in cell B9
and by doing so return a value of 8 hours worked that day in cell B10.
Not ticking the box returns value of zero, or rather adds zero to B10
(B10 currently has the formula to total the hours worked for that day)

many thanks

CH!


  #2   Report Post  
Biff
 
Posts: n/a
Default

Hi!

You can put a checkbox "in" cell B9 and link the checkbox to the same cell.
Set the font color to be the same as the fill color because when checked or
unchecked, B9 will return either TRUE or FALSE.

Now, add this to the current formula in B10:

+8*B9

Biff

"Chink!" wrote in message
...
Hello

I am making a timesheet to record working hours

Would it be possible to use a tick box ( I know how to add this to a cell)
to return a particular value in another cell?
I would like a user to be able to tick a box to indicate annual leave
lets say in cell B9
and by doing so return a value of 8 hours worked that day in cell B10.
Not ticking the box returns value of zero, or rather adds zero to B10
(B10 currently has the formula to total the hours worked for that day)

many thanks

CH!




  #3   Report Post  
Bob Phillips
 
Posts: n/a
Default

Assuming that your tick box is a special font, Marlett say, with a value of
also say 'a', then use

=(B9="a")*8

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Chink!" wrote in message
...
Hello

I am making a timesheet to record working hours

Would it be possible to use a tick box ( I know how to add this to a cell)
to return a particular value in another cell?
I would like a user to be able to tick a box to indicate annual leave
lets say in cell B9
and by doing so return a value of 8 hours worked that day in cell B10.
Not ticking the box returns value of zero, or rather adds zero to B10
(B10 currently has the formula to total the hours worked for that day)

many thanks

CH!




  #4   Report Post  
Chink!
 
Posts: n/a
Default

Thanks for your reply
B10 is formatted as [h]:mm
so +8*B9 added to the end of the formula returns a value of 192 hours when
the box is ticked
Thats clearly not right....
The full formula is =SUM((B5-B4)+(B7-B6))+8*B9
all the cells are formatted as [h]:mm

CH!

"Biff" wrote in message
...
Hi!

You can put a checkbox "in" cell B9 and link the checkbox to the same

cell.
Set the font color to be the same as the fill color because when checked

or
unchecked, B9 will return either TRUE or FALSE.

Now, add this to the current formula in B10:

+8*B9

Biff

"Chink!" wrote in message
...
Hello

I am making a timesheet to record working hours

Would it be possible to use a tick box ( I know how to add this to a

cell)
to return a particular value in another cell?
I would like a user to be able to tick a box to indicate annual leave
lets say in cell B9
and by doing so return a value of 8 hours worked that day in cell B10.
Not ticking the box returns value of zero, or rather adds zero to B10
(B10 currently has the formula to total the hours worked for that day)

many thanks

CH!






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
tick a reference automatically Mehdi Excel Discussion (Misc queries) 1 March 15th 05 03:45 PM
how to hide section of worksheet based on a condition (e.g. tick . kitepuppet Excel Discussion (Misc queries) 2 March 4th 05 06:30 PM
Setting Major tick to none on charts is not working, is it a bug? Mike J Charts and Charting in Excel 2 December 17th 04 05:59 PM
how I can insert a "tick" symbol Nospam Excel Worksheet Functions 3 December 12th 04 10:14 PM
Scatter chart x axis tick mark lables so Charts and Charting in Excel 2 December 2nd 04 05:06 AM


All times are GMT +1. The time now is 04:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"