Results 1 to 16 of 16

How to summarise dependent totals on a single data set.

Threaded View

  1. #1
    Registered User
    Join Date
    06-23-2016
    Location
    London, England
    MS-Off Ver
    2016 (Win10)
    Posts
    17

    How to summarise dependent totals on a single data set.

    This is probably an FAQ so apologies.
    I can do all the below in PowerShell by using Group object, sort object, select object and the pipeline, but excel is a program I don't know well so I am struggling to nest output arrays together as I would in PowerShell [probably this completely the wrong way to conceptualise the solution in excel].

    This is the overview of what I am after.

    I have a set of data (a MS active directory export) and I am looking to summarise aspects of that data set in adjacent columns on a separate tab in excel.
    Something like a total count of a given AD container and then in the next column 23 of that total are blue and of those 23 blue 4 are straight and of those 4 straight 2 are glued and the other 2 are rough. if I can describe that in excel formulas, I can solve all my display requirements.
    The point is that some columns depend on referencing the members of the previous columns output and then re-querying the original dataset to evaluate other columns of that data and totalling it. I realise that the grouping from a previous column will be lost inside the formula since I only want to display the total in each case.

    In more specific detail:

    I need to summarise different elements of all the users in each OU in scope, there are about 90 OU's with 35000 users.
    1. Initially I want a column (sorted descending) with the count of users in each OU - some have 25 and others 10000 or so.
    2. Then I want a adjacent column with the number of users in each of those OU's which have a password older than three years - (which is less than for excel since it will be a smaller integer between that date and 01/01/1900 or whenever excel starts from.)
    - So this is a dynamic array selection on the main data set passed to a "countif date is less than" in my head - but I can't get that to work. . . so.
    3. I need to also display in the next column how many of the accounts in this OU meet another criteria.
    - So this needs to reference the cells returned in #2 and then query another column for text "TRUE" or "FALSE" or other conditions.

    I think those cover off the three types of things I need to do.

    To recap all queries against the 35000 rows of the original data need to be constrained by the Organisational Unit [Ad container]. Some future queries depend on (reference) a collection [dynamic range] from a previous query and interrogate other columns using that [dynamic] range as the row references.

    Is this simply too complex for excel or if not is it better done with a pivot table or a bunch of specific queries and helper tabs / cells if needed?

    I have attached a sample 10 rows of data [obviously not real data] to demonstrate how it is organised.

    Thanks in advance.
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Summarise data from multiple task types to single task types
    By Rabbitoh in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 03-26-2023, 12:19 PM
  2. [SOLVED] Create 7 dependent dropdown using data validation based on multiple dependent columns
    By b_raj_kumar in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 11-07-2021, 05:20 PM
  3. Correct combination of SUMIF/INDEX/MATCH to summarise monthly totals
    By QuantumP in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-13-2017, 07:10 AM
  4. Summarise data
    By harignz in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-05-2014, 03:35 AM
  5. Dependent Validation List (Single)
    By jj102294 in forum Excel General
    Replies: 10
    Last Post: 01-05-2013, 12:26 AM
  6. Summarise data
    By NWSIT in forum Excel General
    Replies: 2
    Last Post: 11-30-2010, 02:42 PM
  7. [SOLVED] summarise totals from many worksheets into one final worksheet
    By NAAPS in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-22-2006, 10:45 AM

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