+ Reply to Thread
Results 1 to 4 of 4

Roster calculation using IFAND accross 2 tabs, need my formula simplified maybe a Vlookup?

  1. #1
    Registered User
    Join Date
    05-03-2016
    Location
    Perth, WA
    MS-Off Ver
    2013
    Posts
    2

    Roster calculation using IFAND accross 2 tabs, need my formula simplified maybe a Vlookup?

    Hi I am trying to calculate something based on a roster, so I want it to be able to COUNT how many people "on" shift that day have each certificate (Cert 1-10) by looking this up on the 2nd tab.

    My method is extremely long winded and checks person by person so wondered if anyone can assist with a shorter method, maybe introducing a vlookup?

    Tab 1 is the Roster which goes day by day, and each person is marked with 'On' or blank for that day. If they are 'ON' I want to it to count how many of them have cert 1, cert 2, cert 3 etc....

    So for those that are "on" for the first date of 25/5/16 that have a cert 1 my calculation is this:
    =IF(AND(B5="On",Certs!$B$2="X"),1,0)+IF(AND(B6="On",Certs!$B$3="X"),1,0)+IF(AND(B7="On",Certs!$B$4="X"),1,0)+IF(AND(B8="On",Certs!$B$5="X"),1,0)+IF(AND(B9="On",Certs!$B$6="X"),1,0)+IF(AND(B10="On",Certs!$B$7="X"),1,0)+IF(AND(B11="On",Certs!$B$8="X"),1,0)+IF(AND(B12="On",Certs!$B$9="X"),1,0)+IF(AND(B13="On",Certs!$B$10="X"),1,0)+IF(AND(B14="On",Certs!$B$11="X"),1,0)

    and for those that are 'on' for this same date but have a cert 2 is:
    =IF(AND(B5="On",Certs!$C$2="X"),1,0)+IF(AND(B6="On",Certs!$C$3="X"),1,0)+IF(AND(B7="On",Certs!$C$4="X"),1,0)+IF(AND(B8="On",Certs!$C$5="X"),1,0)+IF(AND(B9="On",Certs!$C$6="X"),1,0)+IF(AND(B10="On",Certs!$C$7="X"),1,0)+IF(AND(B11="On",Certs!$C$8="X"),1,0)+IF(AND(B12="On",Certs!$C$9="X"),1,0)+IF(AND(B13="On",Certs!$C$10="X"),1,0)+IF(AND(B14="On",Certs!$C$11="X"),1,0)

    As you can see these are checking person by person, would be much simpler to do maybe a vlookup Person 1 if "on" and sum the number of 'x' on the cert page?

    I have uploaded an example of what i'm trying to calculate at the bottom each certificate for each day.

    Hopefully someone can help!!
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Roster calculation using IFAND accross 2 tabs, need my formula simplified maybe a Vloo

    B17
    Please Login or Register  to view this content.
    Try this and copy across
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Registered User
    Join Date
    05-03-2016
    Location
    Perth, WA
    MS-Off Ver
    2013
    Posts
    2

    Re: Roster calculation using IFAND accross 2 tabs, need my formula simplified maybe a Vloo

    Worked Perfectly! Thank you

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,915

    Re: Roster calculation using IFAND accross 2 tabs, need my formula simplified maybe a Vloo

    You are welcome and thanks for your feedback

+ 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: 1
    Last Post: 01-03-2016, 06:52 AM
  2. Roster Auto Calculation
    By firsttimer in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-02-2015, 02:04 PM
  3. I need some help with an IFAnd formula; real confussed.
    By susiesc in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2013, 11:19 AM
  4. Gnatt chart - Need help with Ifand formula
    By Kristina1976 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-10-2011, 02:05 PM
  5. Vlookup accross many tabs
    By festering in forum Excel General
    Replies: 3
    Last Post: 10-27-2009, 12:16 PM
  6. Summing accross multiple tabs for specific fields
    By doug2 in forum Excel General
    Replies: 2
    Last Post: 09-11-2007, 10:58 AM
  7. Tabs accross of bottom of sheet are not showing
    By robert in forum Excel General
    Replies: 3
    Last Post: 04-22-2005, 05:06 PM

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