|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#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 |
|
|
|
|
|
#2 |
|
Member (10 bit)
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. |
|
|
|
|
|
#3 | |
|
Member (7 bit)
Join Date: May 2003
Location: London, UK
Posts: 95
|
Quote:
btw, how can i embed the checkbox onto a particualr cell, for eg E4, rather than being a floating box? cheers |
|
|
|
|
|
|
#4 |
|
Member (10 bit)
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|