Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 130
Default sum (column 2 of namedrange)

Leo Heuser wrote:
Carl
2.
First column:
=SUM(OFFSET(E1:F6,0;0,,1)) :::or =SUM(INDEX(E1:F6,0,1)
Second column:
=SUM(OFFSET(E1:F6,0;1,,1)) :::or =SUM(INDEX(E1:F6,0,2)
etc.

First row:
=SUM(OFFSET(E1:F6,0;0,1,)) :::or =SUM(INDEX(E1:F6,1,0)
Second row:
=SUM(OFFSET(E1:F6,1;0,1,)) :::or =SUM(INDEX(E1:F6,2,0)
etc.


And the semicolon in Leo Heuser's formulas is a typo.

Alan Beban

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 111
Default sum (column 2 of namedrange)

Thanks, Alan!

To Carl:
And the missing righthand parenthesis in Alan's
formulae is a typo <g

LeoH


"Alan Beban" skrev i en meddelelse
...
Leo Heuser wrote:
Carl
2.
First column:
=SUM(OFFSET(E1:F6,0;0,,1)) :::or =SUM(INDEX(E1:F6,0,1)
Second column:
=SUM(OFFSET(E1:F6,0;1,,1)) :::or =SUM(INDEX(E1:F6,0,2)
etc.

First row:
=SUM(OFFSET(E1:F6,0;0,1,)) :::or =SUM(INDEX(E1:F6,1,0)
Second row:
=SUM(OFFSET(E1:F6,1;0,1,)) :::or =SUM(INDEX(E1:F6,2,0)
etc.


And the semicolon in Leo Heuser's formulas is a typo.

Alan Beban



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 19
Default sum (column 2 of namedrange)

Okay now why use index instead of offset. What are the advantages and
disadvantages of each way? Is there times when one is better than the other?


--
Carl & Linda Brehm
Lake Lafourche Bird House
Hebert, LA
Keets, Tiels, GN & Red Lories, Quakers
Mitred Conures, TAG's,DYH, Bourkes,
Cages, Toys, Toy parts Wholesale/Retail
Feed & Supplies
"Leo Heuser" wrote in message
...
Thanks, Alan!

To Carl:
And the missing righthand parenthesis in Alan's
formulae is a typo <g

LeoH


"Alan Beban" skrev i en meddelelse
...
Leo Heuser wrote:
Carl
2.
First column:
=SUM(OFFSET(E1:F6,0;0,,1)) :::or =SUM(INDEX(E1:F6,0,1)
Second column:
=SUM(OFFSET(E1:F6,0;1,,1)) :::or =SUM(INDEX(E1:F6,0,2)
etc.

First row:
=SUM(OFFSET(E1:F6,0;0,1,)) :::or =SUM(INDEX(E1:F6,1,0)
Second row:
=SUM(OFFSET(E1:F6,1;0,1,)) :::or =SUM(INDEX(E1:F6,2,0)
etc.


And the semicolon in Leo Heuser's formulas is a typo.

Alan Beban





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.504 / Virus Database: 302 - Release Date: 07/24/2003


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
divide column(x) by column(y) to give column(x/y) in excel? James New Users to Excel 2 April 24th 23 11:46 AM
Indirect(NamedRange) inside Sumproduct Barb Reinhardt Excel Worksheet Functions 1 August 25th 08 09:53 PM
Referencing date column A & time column B to get info from column TVGuy29 Excel Discussion (Misc queries) 1 January 24th 08 09:50 PM
How to Add NamedRange Controls to Worksheets? lijipan Excel Worksheet Functions 0 November 16th 07 04:40 PM
Based on a condition in one column, search for a year in another column, and display data from another column in the same row look [email protected] Excel Discussion (Misc queries) 1 December 27th 06 05:47 PM


All times are GMT +1. The time now is 04:04 PM.

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

About Us

"It's about Microsoft Excel"