Hi, I am trying to solve this with Xlookup, Countifs, and Sumifs. Table 1 is the Main data table. Table 2 is fetching data from Table 1. Table 2 counts the number of yes and no and N/A for each name by month from Table 1
Table 2 Required Output: As for Jan month "Yes" for Ram is the returning count of 2 for K is 2 and for Chetan is 1 respectively. I tried Xlookup with countifs but not sure where is the error.
Any help is appreciated. Thanks
Table 1 | ||||
Month | Date | Ram | K | Chetan |
Jan | 1-Jan | Yes | Yes | No |
Jan | 7-Jan | N/A | No | N/A |
Jan | 4-Jan | Yes | Yes | N/A |
Jan | 26-Jan | N/A | N/A | Yes |
Jan | 29-Jan | N/A | N/A | N/A |
Feb | 21-Feb | Yes | No | Yes |
Feb | 22-Feb | Yes | Yes | N/A |
Feb | 23-Feb | No | No | No |
Table 2 Required Output: As for Jan month "Yes" for Ram is the returning count of 2 for K is 2 and for Chetan is 1 respectively. I tried Xlookup with countifs but not sure where is the error.
Table 2 | ||||
Month | Status | Ram | K | Chetan |
Jan | Yes | 2 | 2 | 1 |
Jan | No | 0 | 1 | 1 |
Jan | N/A | 3 | 2 | 3 |
Feb | Yes | 2 | 1 | 1 |
Feb | No | 1 | 2 | 1 |
Feb | N/A | 0 | 0 | 1 |
Any help is appreciated. Thanks
Last edited by a moderator: