Good morning,
I was wondering if someonecould give me some help on a formula.
First of all, a bit ofbackground.
I have 2 tabs
Tab 1 contains data presentingdifferent projects, sometimes pack of the same package.
<tbody>
</tbody>
Tab 2 contains another tablethat counts the number of occurrences of an event (such as Project start dateor Project Finish), with the below formula:
<tbody>
</tbody>
From column B to E I have a formulathat would count the occurencies of an event such as Project Start or ProjectFinish
For January the formula wouldlook like this for this example:
=SUMPRODUCT(1*(MONTH('Tab 1'!$B$2:$B$7)=1)*(YEAR('Tab 2 '!$B$2:$B$7)=2019))
What works so far: theformula does pick up every occurrences happening in a specific month, but Iwould like now to go one step beyond and ask the formula to only count one occurrenceper Project no.
For example, for Project no01 there are 3 different project titles, and currently the formula will count 3different projects. BUut would like the formula to only return 1.
My question to you: how can Iask excel to look up first at the project number and count one occurrence anddiscard a new occurrence within the same Project no off the calculation?
I was wondering if someonecould give me some help on a formula.
First of all, a bit ofbackground.
I have 2 tabs
Tab 1 contains data presentingdifferent projects, sometimes pack of the same package.
| A | B | C | D | E |
1 | Project no | Project title | Project start date | Project Finish | |
2 | 01 | Title 1 | 01/01/2019 | 01/05/2019 | |
3 | 01 | Title 2 | 01/01/2019 | 01/05/2019 | |
4 | 01 | Title 3 | 01/01/2019 | 01/05/2019 | |
5 | 02 | Title 4 | 01/01/2019 | 01/06/2019 | |
6 | 03 | Title 5 | 01/02/2019 | 01/09/2019 | |
7 | 03 | Title 6 | 01/03/2019 | 01/08/2019 | |
Tab 2 contains another tablethat counts the number of occurrences of an event (such as Project start dateor Project Finish), with the below formula:
| A | B | C | D | E |
1 | | January | February | March | April |
2 | Project Start | | | | |
3 | Project Finish | | | | |
4 | | | | | |
5 | | | | | |
6 | | | | | |
7 | | | | | |
From column B to E I have a formulathat would count the occurencies of an event such as Project Start or ProjectFinish
For January the formula wouldlook like this for this example:
=SUMPRODUCT(1*(MONTH('Tab 1'!$B$2:$B$7)=1)*(YEAR('Tab 2 '!$B$2:$B$7)=2019))
What works so far: theformula does pick up every occurrences happening in a specific month, but Iwould like now to go one step beyond and ask the formula to only count one occurrenceper Project no.
For example, for Project no01 there are 3 different project titles, and currently the formula will count 3different projects. BUut would like the formula to only return 1.
My question to you: how can Iask excel to look up first at the project number and count one occurrence anddiscard a new occurrence within the same Project no off the calculation?