+ Reply to Thread
Results 1 to 3 of 3

Next level of multi-leveled formulas - array formula maybe?

  1. #1
    Forum Contributor
    Join Date
    08-10-2015
    Location
    Sarasota, FL
    MS-Off Ver
    MS 365
    Posts
    77

    Next level of multi-leveled formulas - array formula maybe?

    See attached sample

    The math itself is cake - the best (fastest) way to 'apply' it to 1272 rows of data is the complicated side....

    I need the answers in K, N, P and Q

    C is the total number of hours
    Of the hours in C, I need to know how many were completed by Elmo Monster in B with the answer in L
    Of the hours in C, I need to know how many were completed by Ernie Muppet in B with the answer in N

    Then in P, I need to know how many of the total hours were not completed by Elmo or Ernie (so total - Elmo - Ernie)
    Then in Q, I need to know how many of the total shifts (O is the total number of shifts) were not completed by Elmo or Ernie (so total - Elmo - Ernie) Respectively K and M

    Keeping in mind that my original data file has 1272 lines of data and the number of rows within each subtotal group varies from 1 to 100 or more.

    I really liked the array formula that was provided for column D last week, but for the life of me cannot figure out how to modify it for what I am now trying to accomplish.

    Thanks
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    08-07-2015
    Location
    AB, Canada
    MS-Off Ver
    Excel 2013 x64
    Posts
    132

    Re: Next level of multi-leveled formulas - array formula maybe?

    I've attached a solution for you. You can copy and paste these formulas in cells K2:Q2 and drag them down. They will only appear in the "Total" rows, like with column D.

    I've removed the conditional formatting from columns K and M because they weren't working how I think they should.

    Formulas from K2 through Q2 in that order:

    Please Login or Register  to view this content.
    No need for array formulas on this one! Obviously you'll need to replace your example names with the true Clients and Caregivers, which is fairly straightforward in these formulas.

    Hope that helps!
    Attached Files Attached Files

  3. #3
    Forum Contributor
    Join Date
    08-10-2015
    Location
    Sarasota, FL
    MS-Off Ver
    MS 365
    Posts
    77

    Re: Next level of multi-leveled formulas - array formula maybe?

    Excellent ThirdFret - The =D2 isn't going to work because there are more shifts than number of days served (some days had multiple shifts), but that is ok, because that formula was already worked out. Thank you so much for helping me get this working!

    C

+ 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. Bill of Materials conversion from multi level to single level
    By susmitpatel in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 07-11-2013, 12:53 AM
  2. Obtaining values from a multi-leveled table.
    By Eliat in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-04-2013, 08:11 AM
  3. [SOLVED] Formula Based on Multi-Level Data Validation Selection
    By warrior2411 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 02-07-2013, 08:34 PM
  4. [SOLVED] Formula needed for multi level discounts for seperate blocks
    By neal1079 in forum Excel General
    Replies: 3
    Last Post: 07-05-2012, 04:10 PM
  5. Multi level BOM
    By neorez in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-23-2010, 05:22 PM
  6. Multi-criteria Counting (array formulas)
    By CWIS in forum Excel General
    Replies: 4
    Last Post: 12-15-2009, 03:48 PM
  7. Multi-Level Array Type Mismatch Error
    By CrazyFileMaker in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-04-2009, 06:20 PM
  8. Using macro to convert single level BOM to Multi Level BOM
    By andrew_chong in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-07-2006, 04:57 PM

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