#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
blain
 
Posts: n/a
Default Tick Boxes


If there any way that you can incorporate a tick box in to a formula, I
want something along the lines of.

If tickbox is unchecked then Sum(a1:a5), if tickbox is checked then
sum(a1:a5)/2

Is this possible?


--
blain
------------------------------------------------------------------------
blain's Profile: http://www.excelforum.com/member.php...o&userid=34368
View this thread: http://www.excelforum.com/showthread...hreadid=541467

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ardus Petus
 
Posts: n/a
Default Tick Boxes

You must link your textbox to some cell (say D1) that will automatically
switch from FALSE to TRUE when the checkbox is ticked.

Then you can use a formula like:
IF(A1SUM(A1:A5)/2;SUM(A1:A5)

HTH
--
AP

"blain" a écrit dans le
message de news: ...

If there any way that you can incorporate a tick box in to a formula, I
want something along the lines of.

If tickbox is unchecked then Sum(a1:a5), if tickbox is checked then
sum(a1:a5)/2

Is this possible?


--
blain
------------------------------------------------------------------------
blain's Profile:
http://www.excelforum.com/member.php...o&userid=34368
View this thread: http://www.excelforum.com/showthread...hreadid=541467



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ian P
 
Posts: n/a
Default Tick Boxes

Almost works!

To link the text box, right click it and then select Format Control and then
the tab Control and select a cell in cell link.

The formula should then be:

=IF(D1=TRUE,SUM(A1:A5)/2;SUM(A1:A5))

HTH

Ian

"Ardus Petus" wrote:

You must link your textbox to some cell (say D1) that will automatically
switch from FALSE to TRUE when the checkbox is ticked.

Then you can use a formula like:
IF(A1SUM(A1:A5)/2;SUM(A1:A5)

HTH
--
AP

"blain" a écrit dans le
message de news: ...

If there any way that you can incorporate a tick box in to a formula, I
want something along the lines of.

If tickbox is unchecked then Sum(a1:a5), if tickbox is checked then
sum(a1:a5)/2

Is this possible?


--
blain
------------------------------------------------------------------------
blain's Profile:
http://www.excelforum.com/member.php...o&userid=34368
View this thread: http://www.excelforum.com/showthread...hreadid=541467




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
Change XY tick labels from numeric to text jennifer Charts and Charting in Excel 2 April 20th 06 08:33 PM
count ticks in boxes Adrian Excel Discussion (Misc queries) 2 April 18th 06 01:16 PM
Replace with single tick - formula too long.... [email protected] Excel Discussion (Misc queries) 1 March 27th 06 05:21 PM
Boxes in Forms PaulW Excel Discussion (Misc queries) 0 March 10th 06 03:18 PM
Copying Tick Boxes Miss Marple Excel Worksheet Functions 2 October 20th 05 02:55 PM


All times are GMT +1. The time now is 05:34 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"