Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default checkbox calculation

I would like to have a checkbox perform an if calculation. For instance if a
checkbox is checked then I would like it to look to multiple columns to the
right and if in the next column to the right has a checkbox checked then add
a number that is at the bottom of the column. I am using both control toolbox
checkboxes and forms toolboxes. (i could use one other other if that's what I
need to do)
Im going to checkmark the chkbox in column d, if there is a chkmark in colum
e then add $399. to the total, if there is a chkmark in the checkbox in the
cell to the right (f) then add 399. to that total too. ect. ect.

a b c d e
f g
1st name last name registered paid class 1 class 2
ect ----
chkbox chkbox
chkbox chkbox


Cost of tuition Total (?) $399.00
$399.00 $279.00

Thanks for looking at this for me.

Rob
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default checkbox calculation

Check boxes return True/False Values.
You would have to use a IF function to see if the box is checked.
A1 item cost
A2 checkbox linked cell
=IF(A2=TRUE,A1," ") ,- this would go in the box where you have the cost
of the item
Then just have your sub total sum all the cost cells




On Nov 16, 2:49 pm, Robb27 wrote:
I would like to have a checkbox perform an if calculation. For instance if a
checkbox is checked then I would like it to look to multiple columns to the
right and if in the next column to the right has a checkbox checked then add
a number that is at the bottom of the column. I am using both control toolbox
checkboxes and forms toolboxes. (i could use one other other if that's what I
need to do)
Im going to checkmark the chkbox in column d, if there is a chkmark in colum
e then add $399. to the total, if there is a chkmark in the checkbox in the
cell to the right (f) then add 399. to that total too. ect. ect.

a b c d e
f g
1st name last name registered paid class 1 class 2
ect ----
chkbox chkbox
chkbox chkbox

Cost of tuition Total (?) $399.00
$399.00 $279.00

Thanks for looking at this for me.

Rob


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27
Default checkbox calculation

Hi ACM,

I'm not sure what you mean, so I will rephrase the question.

Column A has a list checkboxes (A4:A23)
Column B has a list of checkboxes (B4:B23)
What I need is to say if there is a checkbox that is checked in B4 then look
to A4 to see if there is another checkbox, if so, then multiply 1 x B26
($125.00)
It needs to count the # of checkboxes that are checked in column B, see if
there is a corresponding checkmark in column A then total column A and
multiply by $125.
I hope that helps.

Rob

"ACM Home" wrote:

Check boxes return True/False Values.
You would have to use a IF function to see if the box is checked.
A1 item cost
A2 checkbox linked cell
=IF(A2=TRUE,A1," ") ,- this would go in the box where you have the cost
of the item
Then just have your sub total sum all the cost cells




On Nov 16, 2:49 pm, Robb27 wrote:
I would like to have a checkbox perform an if calculation. For instance if a
checkbox is checked then I would like it to look to multiple columns to the
right and if in the next column to the right has a checkbox checked then add
a number that is at the bottom of the column. I am using both control toolbox
checkboxes and forms toolboxes. (i could use one other other if that's what I
need to do)
Im going to checkmark the chkbox in column d, if there is a chkmark in colum
e then add $399. to the total, if there is a chkmark in the checkbox in the
cell to the right (f) then add 399. to that total too. ect. ect.

a b c d e
f g
1st name last name registered paid class 1 class 2
ect ----
chkbox chkbox
chkbox chkbox

Cost of tuition Total (?) $399.00
$399.00 $279.00

Thanks for looking at this for me.

Rob



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
perform a calculation if checkbox marked vjaggers Excel Worksheet Functions 0 June 5th 08 03:24 PM
How to have Checkbox A uncheck with checked Checkbox B Texas Aggie Excel Discussion (Misc queries) 3 July 20th 07 10:58 PM
link a checkbox in a sheet to a checkbox on a userform? Arjan Excel Programming 0 November 10th 06 01:37 PM
How do I link one checkbox to update another checkbox? Mike Excel Programming 3 April 28th 06 02:22 AM
checkbox on form reset from checkbox on sheet raw[_12_] Excel Programming 1 December 3rd 05 05:08 AM


All times are GMT +1. The time now is 06:34 AM.

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

About Us

"It's about Microsoft Excel"