I need a formula for I1 and I2 based on the Quarter given in G1
What I figured out so far is that I need a MATCH formula and NETWORKDAYS
For I1 I was thinking a MATCH "Q"&G1 to a range of A1:D1
Since today is 1/20/17 then the example should be these results:
If G1=1 than I1= 15 and I2= 65
If G1=2 than I1=-51 and I2=65
If G1=3 than I1=-116 and I2= 65
If G4=4 than I1=-181 and I2=65
I know there are holidays and I can calculate that later.
Please let me know if this is at all possible.
Thank you!!!!
<tbody>
</tbody>
What I figured out so far is that I need a MATCH formula and NETWORKDAYS
For I1 I was thinking a MATCH "Q"&G1 to a range of A1:D1
Since today is 1/20/17 then the example should be these results:
If G1=1 than I1= 15 and I2= 65
If G1=2 than I1=-51 and I2=65
If G1=3 than I1=-116 and I2= 65
If G4=4 than I1=-181 and I2=65
I know there are holidays and I can calculate that later.
Please let me know if this is at all possible.
Thank you!!!!
A | B | C | D | E | F | G | H | I | |
1 | Q1 | Q2 | Q3 | Q4 | Quarter | 1 | Days Lapsed | ||
2 | 1/1/2017 | 4/1/2017 | 7/1/2017 | 10/1/2017 | Year | 2017 | Days in Quarter | ||
3 | 3/31/2017 | 6/30/2017 | 9/29/2017 | 12/31/2017 | |||||
4 |
<tbody>
</tbody>