#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Question on index

How does this sum sheet1 A1 to the last thing in column A without putting a
number or foumula in D1? =SUM(Sheet1!A1:INDEX(Sheet1!A:A,$D$1))



I have use this in D1, =MATCH(9.99999999999999E+307,Sheet1!A:A)

, before to use this kind of formula but today I put the formula in without
anything in D1 and it looks like it works????



Is this the best way to do this??



Thanks, using excel 2003


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Question on index

Start he

From XL Help ("INDEX"):

If you set row_num or column_num to 0 (zero),
INDEX returns the reference for the entire column
or row, respectively


In article ,
"Paul B" wrote:

How does this sum sheet1 A1 to the last thing in column A without putting a
number or foumula in D1? =SUM(Sheet1!A1:INDEX(Sheet1!A:A,$D$1))



I have use this in D1, =MATCH(9.99999999999999E+307,Sheet1!A:A)

, before to use this kind of formula but today I put the formula in without
anything in D1 and it looks like it works????



Is this the best way to do this??



Thanks, using excel 2003

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Question on index

Hi,

If you don't specify the second argument is assumes all, so you could
actually replace

=SUM(Sheet1!A1:INDEX(Sheet1!A:A,$D$1))

with

=SUM(Sheet1!A1:INDEX(Sheet1!A:A,))

And it would still work. However, this defeats the purpose of the formula,
which is to control how many cells are summed. If you just want to sum them
all, this formula is overkill, you should just use =SUM(A:A)

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"Paul B" wrote:

How does this sum sheet1 A1 to the last thing in column A without putting a
number or foumula in D1? =SUM(Sheet1!A1:INDEX(Sheet1!A:A,$D$1))



I have use this in D1, =MATCH(9.99999999999999E+307,Sheet1!A:A)

, before to use this kind of formula but today I put the formula in without
anything in D1 and it looks like it works????



Is this the best way to do this??



Thanks, using excel 2003



  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default Question on index

I was trying to incorporate it in this formula to get the last row, is there
another way to do it with a formula like this?



SUMPRODUCT((Data!$A$3:$A$579=$B52)*(YEAR(Data!$B$3 :$B$579)=$A52),Data!F$3:F$579)



Column A is names

Column B is dates

Column F is price



Thanks



"JE McGimpsey" wrote in message
...
Start he

From XL Help ("INDEX"):

If you set row_num or column_num to 0 (zero),
INDEX returns the reference for the entire column
or row, respectively


In article ,
"Paul B" wrote:

How does this sum sheet1 A1 to the last thing in column A without putting
a
number or foumula in D1? =SUM(Sheet1!A1:INDEX(Sheet1!A:A,$D$1))



I have use this in D1, =MATCH(9.99999999999999E+307,Sheet1!A:A)

, before to use this kind of formula but today I put the formula in
without
anything in D1 and it looks like it works????



Is this the best way to do this??



Thanks, using excel 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
INDEX / MOD() question.. Nastech Excel Discussion (Misc queries) 1 October 17th 08 08:17 AM
Index array question LJoe Excel Worksheet Functions 2 August 27th 07 02:14 PM
Index() & Row() Question mldancing Excel Discussion (Misc queries) 0 April 16th 07 10:34 PM
Index/match question. Jules Excel Worksheet Functions 0 July 6th 06 06:49 PM
Index question Ginger Excel Worksheet Functions 3 September 9th 05 03:41 PM


All times are GMT +1. The time now is 01:24 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"