+ Reply to Thread
Results 1 to 4 of 4

Same IF function on 1 page.

  1. #1
    Registered User
    Join Date
    10-02-2019
    Location
    Portland, OR
    MS-Off Ver
    Office 365
    Posts
    25

    Same IF function on 1 page.

    I have an excel document with a function that allows a list of employees to occur (in order) if an X is placed in their box on a given calendar date. Only issue is that I want to divide the group into two.

    I tried for a while to modify it and came up empty. Attached is the document.

    In S1 - you have AM employees (in yellow) and PM employees (in light blue) - if there is an X in their column, their name gets put in order on the list in tab S2 under the same date (I want to see the list of employees, hence why I created S2). Only issue I am having is that I want to divide them into two groups on S2. So on S2, maybe PM employees can start in like row 20?

    Anywho - this seems so easy, but I am having trouble taking the function, changing a few numbers and applying it? :/
    Attached Files Attached Files

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,458

    Re: Same IF function on 1 page.

    Administrative note
    Please update your profile as necessary to properly reflect the exact version(s) of Excel your question relates to. Members tailor answers based on your Excel version. Your profile does not indicate your version.
    Perhaps today it is "the latest", but will you change your profile when your version is not "the latest"?
    Thanks

  3. #3
    Registered User
    Join Date
    10-02-2019
    Location
    Portland, OR
    MS-Off Ver
    Office 365
    Posts
    25

    Re: Same IF function on 1 page.

    makes total sense!

    I have excel office 365

  4. #4
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,706

    Re: Same IF function on 1 page.

    As you are using the 365 version lets upgrade your array entered SMALL(IF based formula to a regular (press Enter to activate), AGGREGATE based one.
    For the AM names: =IFERROR(INDEX('S1'!$B$4:$B$14,AGGREGATE(15,6,(ROW($B$4:$B$14)-ROW($B$3))/('S1'!C$4:C$14="X"),ROWS(A$1:A1))),"")
    For the PM names: =IFERROR(INDEX('S1'!$B$16:$B$32,AGGREGATE(15,6,(ROW($B$16:$B$32)-ROW($B$15))/('S1'!C$16:C$32="X"),ROWS(A$1:A1))),"")
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Replies: 4
    Last Post: 10-22-2019, 07:07 AM
  2. Set VBA function for each page?
    By kawi6rr in forum Excel General
    Replies: 2
    Last Post: 01-04-2017, 03:02 PM
  3. Page breaks issue for Page number function
    By ngkachun01 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-03-2013, 03:25 AM
  4. page name from a list in a function
    By mc12 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-23-2008, 07:52 AM
  5. Page Numbering Function?
    By Mangus Pyke in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-06-2005, 03:05 PM
  6. Page Numbering Function?
    By Stan Banner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  7. Page Numbering Function?
    By Stan Banner in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 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