Excel Tip .com / Excel Tips and Tricks
      "... the easiest to understand excel book ..."     excel : excel tips : microsoft excel : excel tutorial : excel template : excel formula : excel macro : excel help : excel password : vba excel : excel spreadsheet : excel tool : excel download : microsoft excel download : excel 2000 : excel visual basic : ms excel : excel tip : free download excel : microsoft excel tutorial : excel training : free excel template : microsoft excel help : free excel : excel password recovery : microsoft excel 97 : excel 2000 tutorial : excel 97 : excel center : excel downloads : excel recovery : excel software : excel pivot table : excel book
ExcelTip.com Home Page Tip of the Hour Recommended Microsoft Excel Tips Most Viewed Microsoft Excel Tips at ExcelTip.com Excel Tip Categories Excel Tips by Version Submit a Tip My Bookmarked Tips Discount Book Store
Over 752,108 tips served







FREE DOWNLOAD

ExcelTip.com Free Add-In

SUPPORT EXCELTIP.COM

Make your Amazon.com purchases by clicking the graphic below

Excel Tip .com - Mailing List Thread Index


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sum every second cell



Two variations to Dave's formula,


{=SUM((MOD(COLUMN(YourRange),2)=0)*YourRange)}   --- array formula

=SUMPRODUCT((MOD(COLUMN(YourRange),2)=0)*YourRange)


----- Original Message -----
From: "Wall, Peter" <Peter.Wall@SNCLAVALIN.COM>
To: <EXCEL-G@PEACH.EASE.LSOFT.COM>
Sent: Thursday, July 24, 2003 10:32 PM
Subject: Re: Sum every second cell


> Dave,
>
> Works a treat. Lots simpler than my array formula and trig function!
>
> As given and in your notes, adds even numbered columns.
>
> For Kylie's specific example with odd numbered columns obviously change
the
> "=0" to "=1".
>
> PW
>
> -----Original Message-----
> From: DAVE WILCOX [mailto:dwilcox01@HOTMAIL.COM]
> Sent: Friday, 25 July 2003 9:48 AM
> To: EXCEL-G@PEACH.EASE.LSOFT.COM
> Subject: Re: Sum every second cell
>
> Try this:
>
> =SUM(IF(MOD(COLUMN(YourRange),2)=0,YourRange))
>
> Notes:
> 1) This is range/array formula so you enter via CTRL+SHIFT+ENTER;
> 2) YourRange is, of course, your range to addup;
> 3) The number 2 will only work if and only ig the numbers are in even
> numbered columns!  If not use 3 but make sure there in every 3rd column.
>
> HTH
>
>
>
>
>
> >From: Kylie Manning <kamtech@OZEMAIL.COM.AU>
> >Reply-To: MS Excel General Q & A List <EXCEL-G@PEACH.EASE.LSOFT.COM>
> >To: EXCEL-G@PEACH.EASE.LSOFT.COM
> >Subject: Sum every second cell
> >Date: Fri, 25 Jul 2003 07:14:59 +1000
> >MIME-Version: 1.0
> >Received: from cherry.ease.lsoft.com ([209.119.0.109]) by
> >mc3-f7.law16.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 24
Jul
> >2003 15:11:27 -0700
> >Received: from PEAR.EASE.LSOFT.COM (209.119.0.19) by
cherry.ease.lsoft.com
> >(LSMTP for Digital Unix v1.1b) with SMTP id
> ><12.00A969A8@cherry.ease.lsoft.com>; Thu, 24 Jul 2003 18:11:24 -0400
> >Received: from PEACH.EASE.LSOFT.COM by PEACH.EASE.LSOFT.COM
> >(LISTSERV-TCP/IP          release 1.8e) with spool id 49234326 for
> >EXCEL-G@PEACH.EASE.LSOFT.COM; Thu, 24 Jul 2003 17:23:18 -0400
> >Received: from 203.2.192.85 by WALNUT.EASE.LSOFT.COM (SMTPL release 1.0i)
> >with          TCP; Thu, 24 Jul 2003 17:13:18 -0400
> >Received: from kyliespc ([63.34.226.140]) by mta05.mail.mel.aone.net.au
> >with          ESMTP id
> ><20030724211313.OFRH20950.mta05.mail.mel.aone.net.au@kyliespc> for
> ><EXCEL-G@PEACH.EASE.LSOFT.COM>; Fri, 25 Jul 2003 07:13:13 +1000
> >X-Message-Info: N2mRlepP/as=
> >X-Priority: 3 (Normal)
> >X-MSMail-Priority: Normal
> >X-Mailer: Microsoft Outlook, Build 10.0.2627
> >Importance: Normal
> >X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
> >Message-ID:  <000001c35228$a4d50820$9f3cfea9@kyliespc>
> >Sender:       MS Excel General Q & A List <EXCEL-G@PEACH.EASE.LSOFT.COM>
> >Precedence: list
> >Return-Path: owner-excel-g@PEACH.EASE.LSOFT.COM
> >X-OriginalArrivalTime: 24 Jul 2003 22:11:27.0275 (UTC)
> >FILETIME=[86F707B0:01C35230]
> >
> >Hello Everyone
> >
> >I was wondering if someone could please help.
> >
> >I need to create a sum function that will add the cell on row 3 for
> >every second column.
> >
> >eg
> >
> >=sum(C3,E3,G3,I3,K3 ....)
> >
> >As I have about 50 cells to add the manual method will take me forever
> >and risks errors.  Does anyone have a better way?
> >
> >Many thanks
> >Kylie
> >
> >
>
>--------------------------------------------------------------------------
> >The EXCEL-G list is hosted on a Windows NT(TM) machine running L-Soft
> >international's LISTSERV(R) software.  For subscription/signoff info
> >and archives, see http://peach.ease.lsoft.com/archives/excel-g.html .
> >                              COPYRIGHT INFO:
> >http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=EXCEL-G
>
> _________________________________________________________________
> Hotmail messages direct to your mobile phone
http://www.msn.co.uk/msnmobile
>
> --------------------------------------------------------------------------
> The EXCEL-G list is hosted on a Windows NT(TM) machine running L-Soft
> international's LISTSERV(R) software.  For subscription/signoff info
> and archives, see http://peach.ease.lsoft.com/archives/excel-g.html .
>                              COPYRIGHT INFO:
> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=EXCEL-G
>
> --------------------------------------------------------------------------
> The EXCEL-G list is hosted on a Windows NT(TM) machine running L-Soft
> international's LISTSERV(R) software.  For subscription/signoff info
> and archives, see http://peach.ease.lsoft.com/archives/excel-g.html .
>                              COPYRIGHT INFO:
> http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=EXCEL-G
>

--------------------------------------------------------------------------
The EXCEL-G list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software.  For subscription/signoff info
and archives, see http://peach.ease.lsoft.com/archives/excel-g.html .
                             COPYRIGHT INFO:
http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=EXCEL-G





Amazon.com $35.95
MrExcel.com $24.95
Barnes & Noble $28.76
And at your local bookseller





Excel Training Level I
Excel Training Level II
Excel Training Level III
Excel VBA Training Level I
Excel VBA Training Level II
View All Excel Training Programs




Formula Manager
Duplication Manager
Text Manager
Number Manager
Add-ins Collection
Spreadsheet Assistant
Number Manager
Add-ins Collection
Spreadsheet Assistant

View All Excel Add-Ins

Tips

Add-In in VBA | Applications - Word, Outlook in VBA | Array Formulas | Cells, Ranges, Rows, and Columns in VBA | Counting | Custom Functions | Custom Functions in VBA | Database Formulas | Database in VBA | Date & Time Formulas | Date & Time in VBA | Events in VBA | Excel Chart | Excel Consolidating | Excel Counting | Excel Custom Functions using VBA | Excel Customizing | Excel Data | Excel Dates | Excel Editing | Excel Files | Excel Filter | Excel Format | Excel Formula | Excel General | Excel Grouping and Outlining | Excel Importing Text Files | Excel Information | Excel Keyboard Shortcuts | Excel Loan Formulas | Excel Macros - VBA | Excel Pivot Tables | Excel Printing | Excel Range Name | Excel Security - Protection | Excel Sorting | Excel Style | Excel Subtotals | Excel Summing | Excel Text | Excel Time | Excel Tools | Excel Worksheet, Workbook | Files, Workbook, and Worksheets in VBA | Financial Formulas | Formating in VBA | General Topics in VBA | Import and Export in VBA | Information Formulas | Keyboard & Other Shortcuts in VBA | Keyboard Formula Shortcuts | Links between Worksheet and Workbooks | Links in VBA | Logical Formulas | Lookup Formulas | Mail - Send and Receive in VBA | Menus, Toolbars, Status bar in VBA | Modules, Class Modules in VBA | New Excel 11, Excel 2003 | Other Q&A Formulas | Printing in VBA | Protecting in VBA | Summing | Text Formulas | User Forms, Input boxes in VBA | Using Loops | Working with Formulas |

Tips by Version

Microsoft Excel 97 | Microsoft Excel 2000 | Microsoft Excel 2002 | All Microsoft Excel Versions | New in Excel 2002 | New in Excel 2003 - Office 11

Website

Home | Tip of Hour | Recommended Tips | Most Viewed Tips | Tips by Version | Submit a Tip | My Tips
Microsoft Excel Tutorials | Excel Links | Write for Us | About Us | Search Results | Tip Archives

Excel Book

Excel 97 Book | Excel 2000 Book | Excel 2002 Book | Excel XP Book | Book Store

Terms and Conditions of use
The applications/code on this site are distributed as is and without warranties or liability. In no event shall the owner of the copyrights, or the authors of the applications/code be liable for any loss of profit, any problems or any damage resulting from the use or evaluation of the applications/code.

Copyright © 2003 ExcelTip.com
Microsoft, Microsoft Excel is a U.S. registered trademark of Microsoft Corporation
Site Developed By: Irubin Consulting


excel : excel tips : microsoft excel : excel tutorial : excel template : excel formula : excel macro : excel help : excel password : vba excel : excel spreadsheet : excel tool : excel download : microsoft excel download : excel 2000 : excel visual basic : ms excel : excel tip : free download excel : microsoft excel tutorial : excel training : free excel template : microsoft excel help : free excel : excel password recovery : microsoft excel 97 : excel 2000 tutorial : excel 97 : excel center : excel downloads : excel recovery : excel software : excel pivot table : excel book