#### EXCEL VBA/CALCULATION - Adding Totals From Selected Cells...

```... with the use of tick boxs.

Hello and thank you for taking your time to open up this topic. Wel
first of all is to set the scenario. I am creating a worksheet on
computer company in which i have selected peripherals for exampl
monitors.

E.g.
a_________________b_______________c______ d________
TFT
15"		�179.00		�210.33      1
17"		�239.00		�280.83      2
19"		�299.00		�351.33      3
4
CRT				                   5
17"		�86.19		�101.27      6
19"		�111.39		�130.88      7
____________________________________________________

after the second list of total i have check boxes. This is were i nee
help. I want to be able to tick a checkbox and the value thats in th
cell next to it will add to the total box at the bottom.

E.G Again
Something Like That :/
If D1 is checked then �210.33 + (total cell) = D21

IF you dont understand that please say and il try to explain mysel
again. as i am a newbie when it comes to spreadsheets. :) thank yo
very much :

--
Message posted from http://www.ExcelForum.com

```
 0
2/9/2004 8:41:40 PM
excel.misc 78881 articles. 5 followers.

7 Replies
345 Views

Similar Articles

[PageSpeed] 24

```Hi
try the following:
2. Link each checkbox to the adjacent cell (lets say in column E). You
can hide this column if you like. If checked this column will show TRUE
for each checkbox
3. Now you can calcualte your total for all rows which have been
checked (I assume your values are in column C):
=SUMIF(E1:E20,TRUE,C1:C20)

HTH
Frank

> .. with the use of tick boxs.
>
> Hello and thank you for taking your time to open up this topic. Well
> first of all is to set the scenario. I am creating a worksheet on a
> computer company in which i have selected peripherals for example
> monitors.
>
> E.g.
> a_________________b_______________c______ d________
> TFT
> 15" �179.00 �210.33      1
> 17" �239.00 �280.83      2
> 19" �299.00 �351.33      3
>                    4
> CRT                    5
> 17" �86.19 �101.27      6
> 19" �111.39 �130.88      7
> ____________________________________________________
>
> after the second list of total i have check boxes. This is were i
need
> help. I want to be able to tick a checkbox and the value thats in the
> cell next to it will add to the total box at the bottom.
>
> E.G Again
> Something Like That :/
> If D1 is checked then �210.33 + (total cell) = D21
>
> IF you dont understand that please say and il try to explain myself
> again. as i am a newbie when it comes to spreadsheets. :) thank you
> very much :)
>
>
> ---
> Message posted from http://www.ExcelForum.com/

```
 0
frank.kabel (11126)
2/10/2004 1:22:00 AM
```How do you link the cells like you said?

"Link each checkbox to the adjacent cell (lets say in column E). You
can hide this column if you like. If checked this column will sho
TRUE
for each checkbox"

Im using control toolbox check boxs should i be using something else :
thank

--
Message posted from http://www.ExcelForum.com

```
 0
2/10/2004 12:22:48 PM
```hi rightclick on the checkbox and choose properties.
Frank

> How do you link the cells like you said?
>
> "Link each checkbox to the adjacent cell (lets say in column E). You
> can hide this column if you like. If checked this column will show
> TRUE
> for each checkbox"
>
> Im using control toolbox check boxs should i be using something else
> :/ thanks
>
>
> ---
> Message posted from http://www.ExcelForum.com/

```
 0
frank.kabel (11126)
2/10/2004 1:02:01 PM
```is it possible for an example as i cannot get it to work, theres m
sheet if u can show me on that.. if not please make one thats suitabl
for you to show me on :) thank yo

Attachment filename: example.xls
--
Message posted from http://www.ExcelForum.com

```
 0
2/10/2004 7:11:02 PM
```Hi
your attachment is invalid. If you like, mail me a sample sheet
(frank[dot]kabel[at]freenet[dot]de)

Frank

> is it possible for an example as i cannot get it to work, theres my
> sheet if u can show me on that.. if not please make one thats
suitable
> for you to show me on :) thank you
>
>                 Attachment filename: example.xls
> http://www.excelforum.com/attachment.php?postid=437877 ---
> Message posted from http://www.ExcelForum.com/

```
 0
frank.kabel (11126)
2/10/2004 7:21:40 PM
```I probably removed before you clicked the download link, :) but one o
your other posts solved my problem thank you :

--
Message posted from http://www.ExcelForum.com

```
 0
2/10/2004 7:30:18 PM
```O.K. good to hear
Frank

of
> your other posts solved my problem thank you :)
>
>
> ---
> Message posted from http://www.ExcelForum.com/

```
 0
frank.kabel (11126)
2/10/2004 7:52:30 PM

Similar Artilces:

Extract emails from cells with text
I have a row in column A which includes an email address in the text that I'd like to extract to column B. Is there a formula I can use to accomplish extracting the email address only to column B? Here's an example of different cells in column A: Please email example@law.ufl.edu to contact us...... OR Schedule an appointment for assistance, or email example@uga.edu with your questions... Thank you Try this... All on one line: =TRIM(RIGHT(SUBSTITUTE(LEFT(A1,FIND (" ",A1&" ",FIND("@",A1))-1)," ", REPT(" ",...

Filter to select from various fields on opening a form
I have a form called TDC and want to filter data in the following fields on opening the form: DiaryAction (text field); DiaryCategory (text field); DiarySubCategory (text field); Company (text field); ContactType (text field); DiaryItemClosed (a Yes/No field). At the same time, I want the option not to select anything in each of these fields. Please could somebody give me the steps to do this. I am doing this in Access 2007, but am creating it as an Access 2003 database. Thank you for any help. I meant to say that I want this from dropdown boxes, but forgot to say becau...

How do I create project schedule using excel
I need to create a project schedule using excel. Please help. Hi lack of details :-) Maybe give some more information what you're trying to do? -- Regards Frank Kabel Frankfurt, Germany raeisza wrote: > I need to create a project schedule using excel. Please help. ...

Printing an Excel doucument
In this example, I have a document of 100 pages, when I print the document, the column headers only print on the first page and not the subsequent pages. also I would like all the pages to be numbered. is therea fix for this? Hi Richard, For your first question goto File>Page Setup>Sheet tab and look for the option 'Rows to repeat at top' For your second question goto View>Header and Footer and look at the &[page] and &[pages] options in your footer. HTH Martin ...

my printer ejects a blank sheet prior to printing with EXCEL
...

Excel: extract and sum numerals from mixed text/numeral cell range
I have a large (30x20) grid of cells with data, and I want to extract and then sum up certain numerals from this entire range. The catch is that the data is mixed numerals and text, as you'll see below. Here's an abbreviated 3x3 example, with a value in each of the nine cells: V7.1 T H P1 A T B V3 P4.5 If I just wanted to sum up the instances of "T" appearing, I could use COUNTIF() for the entire range to come up with answer ("T" appears 2 times). Easy enough. But, what I'm trying to accomplish is to sum up the numerals associated w...

Error in formula displayed for linear and 2nd order curve fits in Excel 2003
I have created trendlines for some pretty simple data using both 2nd order polynomial and linear fits. In both cases, the displayed formulas have their 1st and 2nd order coefficients wrong by a factor of 10!! (I have read lots of posts about increasing precision but this is not what I am up against). Has anyone seen this? What version of Excel? Could you include the data in a follow up post (not as an attachment), along with the coefficients you've computed? - Jon ------- Jon Peltier, Microsoft Excel MVP Tutorials and Custom Solutions Peltier Technical Services, Inc. - http://PeltierT...

Windows Update
My problem is similar to someone else's below(about Excel 2003 not being able to update), the only difference is that I don't want Excel to update at all. I don't even use it. But the yellow shield kept telling me that it had 1 update available, which was Excel 2003, so, out of annoyance, I installed it. After failing to install several times, I decided to uninstall Excel from Microsoft Office(Pro Edition 2003). Even after uninstalling Excel, I still got the windows update alert. How do I stop it? Extra info: When windows update first appeared, I did a custom instal...

Value-of Select
Hi there, Im in a pickle chaps. I need to fetch information out from our raw XML files into a Style XSL sheet. Basically I have the commant <xsl:value-of select="Product/ProductCode"/> However the structure of the XML file is based like the following example <root> <Product> <ProductCode type="Seller">V1145</ProductCode> <ProductCode type="Buyer">H05439</ProductCode> </Product> </root> As you can see, we have different product codes based on Buyer and Sellers. However in my style sheet I only wan...

Inclusive number of days and running total
Hi, I have a column of start dates (B) and a column of end dates (C). I would like to have the inclusive total of days. I would then like to have a running total of days for the callendar year as well as the total for any year and a grand total. Have been playing with DATEDIF but no luck so far. Cheers, Chris Just subtract the date in C from the date in B and format as General. Then SUM as required. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) "Chris" <Chris@discussions.microsoft.c...

excel axes
how do I create a secondary horizontal axis on an xy scatter plot? forgot to mention 2008 excel using Leopard (10.5.2) ...

total size of files
I need a script to find out the number & total size of files based upon the file extention across about 30 servers. I'm searching for mdb files. The script will be run remotely against local drives on these servers. Thanks On Nov 18, 10:19=A0am, Tom1 <usernetu...@yahoo.com> wrote: > I need a script to find out the number & total size of files based > upon the file extention across about 30 servers. I'm searching for mdb > files. The script will be run remotely against local drives on these > servers. Thanks <warning> <aircode> with ...

Excel program
I have a simple program in excel for data entry. When I protect the sheet, and use tab to move about within the spreadsheet, sometimes the tab button will not move the cursor to the next cell. It will pick a random cell to go to next. Is there a way that I can designate what cell it will go to next. Thanks for your help, jb On a protected sheet, it is going to the next unprotected cell. So, if you don't want it to go to a cell, protect it. "JB" <jgblanton@hotmail.com> wrote in message news:093a01c391d0\$ae57f190\$a301280a@phx.gbl... > I have a simple program in exce...

2003 Excel and 2007 Trial Version Excel
I downloaded the 2007 trial version of Microsoft Office. Now my trial is over and I reloaded my 2003 version. But it will not let me remove the 2007 trial version. Also when I go into my 2003 Excel a Window Installer box comes up that says Preparing to install and this stays on for about 5 minutes before it goes away. I know that I should not have downloaded the trial version but I did. Can someone please help me. I have Windows XP and it is my office computer. Please help! ...

Creating a Chart from Cells that use a List Box
Hi, I am trying to create a number of charts (e.g., pie, line etc) based on data that is slelected from a list box (i.e., data validation). What i would like to do is create the charts before any data is entered (if that makes sense) and as data is entered the charts will display this. ...

Error Message When opening Excel
I am using Windows VISTA 64 bit O/S with Office Professional 2003 All of a sudden I started to get the following error message: 'One of your object libraries (Stdole32.tlb) is missing or damaged. Please run setup to install it' I am at a loss as how to correct this. I checked online and found some instructions that were for Windows 2000 Those did not work for VISTA at all. Thank you in advance for your support and suggestions, HankL It is telling you to do a "setup to install" on the Office product, did you try that? Did you try doing a repair on ...

Hi I use MFC Visual C++ 4.2. I am automating Excel from my application. My problem is I cannot quit the Excel after the automation process finished! I checked it still exists on the Process lists and the most DANGEROUS is everytime the automation function run, it create other Excel and so on. So it must be out of memory soon. I have used the app.Quit() method like all the people used but it DOES NOT work. What should I do? Thank you. I happened to answer this on the office.developer.vba newsgroup. You most likely have neglected to Release() the automation object. joe On Wed, 3 Sep...

Budget Totaling Bug???
Any reason why my "enter your income" page on my budget says my income is \$8,500 per month and then, when I finish the budget and go to the summary screen, it says my income is \$7800 per month. Nothing is hidden, is this a bug? If my enter your income page says one thing and the summary another, whats up with that? Is one your gross amount and the other your net? "Christopher Glenn" wrote: > Any reason why my "enter your income" page on my budget says my income is > \$8,500 per month and then, when I finish the budget and go to the summary > scr...

Excel number / date conversion
I've just pulled some data out of an ODBC connection into Access an then exported it to Excel. The dates are currently in the format 20031109. But the built in dat convertor (from Format Cells) doesn't do anything, even if I convert i to a 'proper' number first. How can I convert this to 09/11/2003 so that I can do some date - base arithmetic and work out difference in days -- markperr ----------------------------------------------------------------------- markperry's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2759 View this thread: http://w...

Excel charts should allow "switching" series on or off
A plot (chart) of time series data may be used for many purposes. From my use two reasons I use such plots are: Studying individual time series trends; and Overall impression of all results. But when studying multiple time series data a chart can become cluttered. It would be useful if individual series could be seleceted as visible or invisible so that they could be evaluated without losing the total plot. At the moment the only way to "unclutter" the plot is to remove the temporaily-unwanted series but it can be time consuming to reconstruct the plot. ---------------- Thi...

Email from Excel #3
Is it possible to have Excel send an email if the value of a certain cell is changed? Hi see your post in public.excel -- Regards Frank Kabel Frankfurt, Germany "berj" <berj@adelphia.net> schrieb im Newsbeitrag news:CcSdndsVDJy4jcjcRVn-pQ@adelphia.com... > Is it possible to have Excel send an email if the value of a certain cell is > changed? > > ...

version excel
bonjour a tous, & a tous les pro bien sur es qu'il est possible ,que des l'instant on modifie le code VBA EXCEL on incremente un compteur pour les mise a jour cela me semble plus simple merci pour vos reponse patrick.villa@laposte.net +++++ http://www.mcgimpsey.com/excel/udfs/sequentialnums.html -- --- HTH Bob (change the xxxx to gmail if mailing direct) "pounet" <patrick.villa@laposte.net> wrote in message news:1165418782.552172.169740@j44g2000cwa.googlegroups.com... > bonjour a tous, & a tous les pro bien sur > > es qu'il est possible ,qu...

double line spacing using excel 2000
I have a paragraph of writing, how do i get the text to be double line spaced? I am using excel 2000. Excel doesn't have a line spacing setting. You could add line breaks by pressing Alt+Enter at the end of a line, then another Alt+Enter to create a blank line. Dan wrote: > I have a paragraph of writing, how do i get the text to be double line > spaced? I am using excel 2000. -- Debra Dalgleish Excel FAQ, Tips & Book List http://www.contextures.com/tiptech.html Does this aply to newer versions of excel? "Debra Dalgleish" wrote: > Excel doesn't have a...

Multi-select from a dropdown list
I have a dropdown list but wish to select more than one item from it - is this possible? Not really. Could you replace it with a listbox -- and allow multiple selections? PaulaG wrote: > > I have a dropdown list but wish to select more than one item from it - is > this possible? -- Dave Peterson Hi Paula Only with code This code (not written by me) will allow you to make multiple selections from a data validation cell, and will insert a comma between each selected value Private Sub Worksheet_Change(ByVal Target As Range) Dim rngDV As Range ...

Excel 95 to Excel 2003
Anyone know if it's possible to convert Excel 95 files to Excel 2003? If so, how. Thanks in advance Open the file in 2003 and SAVE as you would a file created in 2003. If not absolutely positive, save as a different name. -- Don Guillett SalesAid Software donaldb@281.com "Cooper" <kcooper2@austin.rr.com> wrote in message news:uqLpEuG4EHA.1292@TK2MSFTNGP10.phx.gbl... > Anyone know if it's possible to convert Excel 95 files to Excel 2003? If > so, how. > > Thanks in advance > > Open in XL 2003, when you close it, it should, ask you if you w...