Hello Excel Gurus:
Need your help on array function. I have two tables. Table A is the summary and Table B has the data. I would like three things to do in Table A with values feeding from Table B.
Status column in Table A: Based on value in column A (Project) of Table A, match it in column A of Table B and calculate how many Actions (column B) are ‘Done” and return in %. Ideally I would like to return as a sentence that reads X out of Y actions are Done.
Risk column in Table A: Based on value in column A (Project) of Table A, match it in column A of Table B and calculate the number of actions identified as R (column D, Table B). Even if it returns just the number of actions at risk is fine. Ideally I would like to read a sentence X action “Action 1”, “Action 2” are at risk.
Table A:
<tbody>
</tbody>
Table B:
<tbody>
</tbody>
Need your help on array function. I have two tables. Table A is the summary and Table B has the data. I would like three things to do in Table A with values feeding from Table B.
Status column in Table A: Based on value in column A (Project) of Table A, match it in column A of Table B and calculate how many Actions (column B) are ‘Done” and return in %. Ideally I would like to return as a sentence that reads X out of Y actions are Done.
Risk column in Table A: Based on value in column A (Project) of Table A, match it in column A of Table B and calculate the number of actions identified as R (column D, Table B). Even if it returns just the number of actions at risk is fine. Ideally I would like to read a sentence X action “Action 1”, “Action 2” are at risk.
Table A:
A | B | C | D | |
1 | Project | Status | % Done | Risk |
2 | Project A | 2 out of 4 actions are Done | 50% | 1 action "Action 2" is at risk |
3 | Project B | 1 out of 2 actions are Done | 50% | 0 action "" is at risk |
4 | Project C | 1 out of 3 actions are Done | 33% | 1 action "Action 1" is at risk |
<tbody>
</tbody>
Table B:
A | B | C | D | |
1 | Project | Action | Status | Risk (R,G,Y) |
2 | Project A | Action 1 | Done | G |
3 | Project A | Action 2 | In Progress | R |
4 | Project A | Action 3 | In Progress | G |
5 | Project A | Action 4 | Done | G |
6 | Project B | Action 1 | To Do | G |
7 | Project B | Action 2 | Done | G |
8 | Project C | Action 1 | To Do | R |
9 | Project C | Action 2 | In Progress | G |
10 | Project C | Action 3 | Done | G |
<tbody>
</tbody>