+ Reply to Thread
Results 1 to 6 of 6

Reorder Rows and Sum column totals given specified criteria

Hybrid View

  1. #1
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Reorder Rows and Sum column totals given specified criteria

    Hello fellow excel forum members!

    I have a census of data in one tab which includes employees, their spouses and children's information, include last name, first name, what they are (i.e. Employee (E), Spouse (SP) or Child (C), and the monthly premium their policy costs.

    In another tab, I need a formula that will take the data from the MASTER tab (see attached), and shift the information upwards so that only Employees appear in the attached FORMULA Sheet tab, not spouses or children, but I need this FORMULA Sheet tab to correctly capture the monthly premium from the MASTER tab for the correct employee.

    So as the 3rd tab in the attached sample file shows, Heidi Adams has an insurance policy for herself and two children, so the premium that needs to be captured in the FORMULA SHEET tab in the column "Premium for C (if applicable)", needs to return a result of $202.00, so on and so forth.

    Thank you so much in advance!

    Be Well

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Reorder Rows and Sum column totals given specified criteria

    Hi bwmuhich

    I have nearly achieved what you want - but I cannot get the list of employees from the master sheet to the formula sheet. At the back of my mind I think I remember that there is a way of doing this, so now it will irritate me until I get very cross.

    In the meantime, here my attempt at a solution. I had concerns that you might get 2 employees with the same surname - so I have dealt with that aspect. (Note that you must not employees with the same name adjacent to each other).

    The solution is relatively straight forward using a macro - so I wonder what your objection is to using it?

    Regards
    Alastair
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Reorder Rows and Sum column totals given specified criteria

    Thank you for your suggestion, but I have found an alternate way to achieve my goals without using macros.

    Be Well,
    Brian

  4. #4
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Reorder Rows and Sum column totals given specified criteria

    Hi Brian

    That's good! Can you share with us the method of getting the employees on to the formula sheet - it's always good to know these things.

    Regards
    Alastair

  5. #5
    Registered User
    Join Date
    09-03-2013
    Location
    Elgin, IL
    MS-Off Ver
    Excel 2010
    Posts
    90

    Re: Reorder Rows and Sum column totals given specified criteria

    I had received wisdom previously from another excel forum member on a recent post entitled:

    Formula needed for sequential ordering given a single search criteria

    In this post, a forum member provided an array formula that took the data in my range from one tab and transferred it all over to another tab such as the formula tab.

    So building off of that wisdom, I'm just using that same array formula and am going to reference a few extra columns I've created in my main tab off to the right that include the month premiums for each member type (E, SP, C).

    Be Well,

  6. #6
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Reorder Rows and Sum column totals given specified criteria

    Ok - glad you found an answer.

    Regards
    Alastair

+ 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. Can I reorder rows with locked cells?
    By mrgrotey in forum Excel General
    Replies: 3
    Last Post: 01-04-2013, 10:34 AM
  2. Formula to sort column and reorder in new column
    By RCope in forum Excel General
    Replies: 4
    Last Post: 03-27-2012, 11:31 AM
  3. Delete Rows When Column C Value <> Totals
    By modytrane in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2011, 04:03 PM
  4. Reorder Rows where sort is ineffective
    By Orada in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2011, 04:06 PM
  5. Reorder rows & copy to new sheet
    By mernst in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 08-27-2009, 10:31 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