Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 08-01-2003, 05:41 AM   #1
Member (7 bit)
 
Join Date: May 2003
Location: London, UK
Posts: 95
Chechk box and formula in Excel ....

Hi,

Is there a way i can link a check box with a formula.?

What i did is i put a check box on the excel sheet (using the Forms toolbox) and then if i say that 'if that check box is click then it should addup certain cells'...

is this possible?

thanks
EDD32 is offline   Reply With Quote
Old 08-04-2003, 12:26 AM   #2
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
One way would be to use the checkbox to change the value of a defined name from TRUE to FALSE (or 0 / 1 or whatever).

You can then use that defined name in a formula such as:

=if(checkbox=TRUE,sum(range),"Turned off")

or something similar.

HTH,

David.
David_Jones is offline   Reply With Quote
Old 08-04-2003, 04:49 AM   #3
Member (7 bit)
 
Join Date: May 2003
Location: London, UK
Posts: 95
Quote:
Originally posted by David_Jones
One way would be to use the checkbox to change the value of a defined name from TRUE to FALSE (or 0 / 1 or whatever).

You can then use that defined name in a formula such as:

=if(checkbox=TRUE,sum(range),"Turned off")

or something similar.

HTH,

David.
Olrighty I ll give this a go...thanks
btw, how can i embed the checkbox onto a particualr cell, for eg E4, rather than being a floating box?

cheers
EDD32 is offline   Reply With Quote
Old 08-04-2003, 04:31 PM   #4
Member (10 bit)
 
David_Jones's Avatar
 
Join Date: May 2000
Location: New Zealand
Posts: 546
Well - easiest is just to size it appropriately so that it covers exactly that one cell.

Perhaps you might be better making a cell a drop down selectable item using Data - Validation?

That avoids having to use the check box, and keeps it simple for non-expert users of Excel who might one day have to amend the model?

David.
David_Jones is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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



All times are GMT -5. The time now is 02:13 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2