+ Reply to Thread
Results 1 to 13 of 13

If two criteria place in third criteria column

  1. #1
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    If two criteria place in third criteria column

    Hello I've attached an excel workbook with the follow worksheets:

    1. Entry Page - The only data that would change every month would be columns "Day Off (Y/N)" and "Day of the Month"
    2. Extended Data (Manual) - This is what I want it to ultimately look like.
    3. Extended Data (Blank) - The blank portion is where I need help filling in with an automatic formulas.

    What I want the formula to read: If [Group] and [Panel] have a "Yes" in the "Day Off" column then read the number in the column of "Day of the Month" and place a .75 in rows that have the [Group] column as "Group A" AND any text in the [Panel] column as "sub-group aa"
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: If two criteria place in third criteria column

    Please try at D6
    =1-OR(INDEX(REPT('ENTRY PAGE'!$D$2:$D$5,(('ENTRY PAGE'!$A$2:$A$5=$A6)*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B6))*('ENTRY PAGE'!$C$2:$C$5="Yes")))=D$5,))/4
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    12-07-2018
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    11

    Re: If two criteria place in third criteria column

    For clarity purposes, in the extended data tab you have duplicate panel names, is this correct?

    Also in your entry page you have "sub-group aa" as an example but this exact match doesn't appear in the extended data tab... will the match you will be looking for on the extended data tab be only on the first portion of the panel text?

  4. #4
    Registered User
    Join Date
    12-07-2018
    Location
    London, England
    MS-Off Ver
    Office 365
    Posts
    11

    Re: If two criteria place in third criteria column

    Quote Originally Posted by Bo_Ry View Post
    Please try at D6
    =1-OR(INDEX(REPT('ENTRY PAGE'!$D$2:$D$5,(('ENTRY PAGE'!$A$2:$A$5=$A6)*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B6))*('ENTRY PAGE'!$C$2:$C$5="Yes")))=D$5,))/4
    nice! formula I had in mind was ugly compared to this!

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053

    Re: If two criteria place in third criteria column

    An alternative:

    =IF(AND(SUMPRODUCT(('ENTRY PAGE'!$A$2:$A$5=$A6)*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B6))*('ENTRY PAGE'!$C$2:$C$5="Yes"))=1,D$5+0='ENTRY PAGE'!$D$2),0.75,1)
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  6. #6
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    You are a genius! Thank you, it's exactly what I needed.

  7. #7
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    Quote Originally Posted by Bo_Ry View Post
    Please try at D6
    =1-OR(INDEX(REPT('ENTRY PAGE'!$D$2:$D$5,(('ENTRY PAGE'!$A$2:$A$5=$A6)*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B6))*('ENTRY PAGE'!$C$2:$C$5="Yes")))=D$5,))/4
    You are a genius! Thank you very much. It's exactly what I needed.

  8. #8
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    Quote Originally Posted by Bo_Ry View Post
    Please try at D6
    =1-OR(INDEX(REPT('ENTRY PAGE'!$D$2:$D$5,(('ENTRY PAGE'!$A$2:$A$5=$A6)*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B6))*('ENTRY PAGE'!$C$2:$C$5="Yes")))=D$5,))/4
    Sorry Bo_Ry, I need one more addition to the formula. I am pretty new to the forum. Should I place my question here or create a new thread?

  9. #9
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,053
    Quote Originally Posted by aabr View Post
    Sorry Bo_Ry, I need one more addition to the formula. I am pretty new to the forum. Should I place my question here or create a new thread?
    Same thread, please.

  10. #10
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    I'd like to add almost the same portion as the panel onto the Group.

    For example: If any part of [Group] says "Group A" AND any part of [Panel] says "sub-group aa" AND the [Day Off] says "Yes" then find the date in the [Day of the Month] and place 0.75, if not place a 1.

    The formula Bo_Ry created was perfect, however, I just need to add the AND [Group] portion.

    I've attached the version 2 workbook and highlighted what needs to be accounted for in Green. I really appreciate all the help everyone!
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    Hi Glenn, Since no one has answered my question should I repost? or how about do I got to uncheck this as 'solved'? Thank you

  12. #12
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,211

    Re: If two criteria place in third criteria column

    Maybe try D5
    =1-OR(INDEX(REPT('ENTRY PAGE'!$D$2:$D$5,(ISNUMBER(SEARCH('ENTRY PAGE'!$A$2:$A$5,$A5))*ISNUMBER(SEARCH('ENTRY PAGE'!$B$2:$B$5,$B5))*('ENTRY PAGE'!$C$2:$C$5="Yes")))=D$4,))/4
    Attached Files Attached Files

  13. #13
    Registered User
    Join Date
    06-21-2019
    Location
    Canada
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    10

    Re: If two criteria place in third criteria column

    Good Morning Bo_Ry! I've need of your kind assistance once again.

    The formula is working to search whether if anything in [GROUP] and anything in [PANEL] corresponds to "Yes" and the date then it would 0.75 because SOME people are present.

    However, the problem is if the [GROUP] and the [PANEL] say "Yes" and the [GROUP] and the [PANEL] are the only group and panel selected it should be 0 because NOONE is present. This is represented in the yellow highlighted portion in the excel sheet v.3.

    I hope you can help and I want to say thanks for helping me these past couple of months.
    Attached Files Attached Files

+ 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. [SOLVED] Countifs multiple criteria- criteria if cell is greater than another i adjacent column
    By Sircool1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-26-2018, 11:23 AM
  2. [SOLVED] Delete not meeting criteria, criteria in column another sheet (Filter)
    By marreco in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-10-2016, 07:32 AM
  3. Formula for summing on multiple row criteria and a dynamic column criteria
    By ianswilson815 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-25-2016, 01:58 PM
  4. Replies: 2
    Last Post: 10-10-2015, 02:22 AM
  5. [SOLVED] Count of rows in an array that meet criteria in column 2 and different criteria in column3
    By reynoldslarry in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 12-09-2013, 01:51 AM
  6. Replies: 6
    Last Post: 08-04-2013, 11:53 AM
  7. Replies: 2
    Last Post: 10-05-2011, 12:43 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