+ Reply to Thread
Results 1 to 3 of 3

Subarray - easy question

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    Bangkok
    MS-Off Ver
    Excel 2010
    Posts
    1

    Subarray - easy question

    Suppose I define a name: table1 to reference cells: A1:A10.

    I would like to use syntax: sum(table1[2..5]) to get a sum of all numbers in table1 from 2nd element to 5th element.
    How to do this in excel 2010?

    Thanks.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Subarray - easy question

    I believe you have to reference it as normal range reference like Sum(A2:A5)


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436

    Re: Subarray - easy question

    whilst you can not use structured references to get specific rows you can in INDEX

    =SUM(INDEX(Table1[Value],2,1):INDEX(Table1[Value],5,1))
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Defying the array, which is, in fact, subarray.
    By Alexander_Golinsky in forum Excel General
    Replies: 1
    Last Post: 05-09-2012, 08:58 PM
  2. Easy Question
    By dok112 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-20-2005, 07:05 PM
  3. new user with easy question? not easy for me
    By speakeztruth in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 06-03-2005, 05:05 PM
  4. easy question...
    By martin_b in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-18-2005, 11:15 AM
  5. easy question .... i think
    By Dean in forum Excel General
    Replies: 1
    Last Post: 01-06-2005, 03:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1