+ Reply to Thread
Results 1 to 6 of 6

select column in defined group of rows

  1. #1
    Registered User
    Join Date
    12-11-2012
    Location
    Gent
    MS-Off Ver
    Excel 2010
    Posts
    3

    select column in defined group of rows

    Hello,
    I have a really primary problem, where I need simple syntax for.
    In my excel-sheet I have defined several groups of data, by defining different rows to a name. Group 1 = whole rows 2, 6, 9, ... ; Group 2 = rows 1, 3, 19, ... and so on.Now I want to do calculations with only numbers out of one column from a certain group.
    How is this basic syntax done? I can't find it nowhere, but I think it must be possible.

    So for example my group1 is =Sheet1!$43:$174;Blad1!$9:$22 and I want to use all the numbers in column Q from it.
    What is the syntax to sum them? =sum(?)

    Thanx in advance.

  2. #2
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: select column in defined group of rows

    Attach a sample workbook.

    When you are in Advanced reply, click on the paperclip to open the upload window.

    View Pic

  3. #3
    Registered User
    Join Date
    12-11-2012
    Location
    Gent
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: select column in defined group of rows

    Here is a sample of my file
    Thx to help me.
    Attached Files Attached Files

  4. #4
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: select column in defined group of rows

    Hmm?

    I'm not sure what you are trying to do, but I don't think using names on a non-continuous range is going to work.

    L32:L33, L35:L36 shows the result when you try to sum a column within these names

    Better you use another column to identify the group the record is in, that is "Group" in this example.
    Now see the results in M32:M33, M35:M36

    You might also consider using SUBTOTAL() and filters.

    Filter "Group" for 1 or 2 see the result in L29:M29 and compare with M32:M33, M35:M36
    Attached Files Attached Files
    If you need any more information, please feel free to ask.

    However,If this takes care of your needs, please select Thread Tools from menu above and set this topic to SOLVED. It helps everybody! ....

    Also
    اس کی مدد کرتا ہے اگر
    شکریہ کہنے کے لئے سٹار کلک کریں
    If you are satisfied by any members response to your problem please consider using the small Star icon bottom left of their post to show your appreciation.

  5. #5
    Registered User
    Join Date
    12-11-2012
    Location
    Gent
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: select column in defined group of rows

    Thank you very much Marcol,
    I just didn't know there was something like the index function.
    And its very hard to explain what i mean, but it is just to use the self declared name and a row via the INDEX(group;;[selects which colomn).

  6. #6
    Forum Contributor
    Join Date
    09-24-2012
    Location
    York, England
    MS-Off Ver
    Excel 2003/07/10
    Posts
    165

    Re: select column in defined group of rows

    How do you determine the group that a record belongs in, and why can't you have separate sheets (or blocks within a sheet) for each group?

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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