imback2nite
Board Regular
- Joined
- Oct 30, 2004
- Messages
- 203
- Office Version
- 2003 or older
- Platform
- Windows
This is probably an easy one; I’m just not seeing it.
I’m using this formula. It works but I want to make it so the “Emp1” can be changed from “Emp1” thru “Emp30”.
I have a drop down where the selection will be from Emp1, Emp2 etc. to Emp30. The entire formulas parameters would stay the same as seen below. Just the Emp page reference would change.
If this can happen, it will drop the number of formulas’ on the page from 210 to 7 and greatly speed the workbook.
I’m using Windows and Excel v.2003
I’m using this formula. It works but I want to make it so the “Emp1” can be changed from “Emp1” thru “Emp30”.
I have a drop down where the selection will be from Emp1, Emp2 etc. to Emp30. The entire formulas parameters would stay the same as seen below. Just the Emp page reference would change.
If this can happen, it will drop the number of formulas’ on the page from 210 to 7 and greatly speed the workbook.
I’m using Windows and Excel v.2003
Rich (BB code):
=IF('Personal Graphs'!$P$2='Personal Graphs'!$Q$9,COUNTIF(Emp1!$B$12:$C$85,'Personal Graphs'!$P$2)+COUNTIF(Emp1!$Q$12:$R$85,'Personal Graphs'!$P$2)+COUNTIF(Emp1!$AF$12:$AG$85,'Personal Graphs'!$P$2)+COUNTIF(Emp1!$B$12:$C$85,'Personal Graphs'!$Q$10)+COUNTIF(Emp1!$Q$12:$R$85,'Personal Graphs'!$Q$10)+COUNTIF(Emp1!$AF$12:$AG$85,'Personal Graphs'!$Q$10),COUNTIF(Emp1!$B$12:$C$85,'Personal Graphs'!$P$2)+COUNTIF(Emp1!$Q$12:$R$85,'Personal Graphs'!$P$2)+COUNTIF(Emp1!$AF$12:$AG$85,'Personal Graphs'!$P$2))
=IF('Personal Graphs'!$P$2='Personal Graphs'!$Q$9,COUNTIF(Emp2!$B$12:$C$85,'Personal Graphs'!$P$2)+COUNTIF(Emp2!$Q$12:$R$85,'Personal Graphs'!$P$2)+COUNTIF(Emp2!$AF$12:$AG$85,'Personal Graphs'!$P$2)+COUNTIF(Emp2!$B$12:$C$85,'Personal Graphs'!$Q$10)+COUNTIF(Emp2!$Q$12:$R$85,'Personal Graphs'!$Q$10)+COUNTIF(Emp2!$AF$12:$AG$85,'Personal Graphs'!$Q$10),COUNTIF(Emp2!$B$12:$C$85,'Personal Graphs'!$P$2)+COUNTIF(Emp2!$Q$12:$R$85,'Personal Graphs'!$P$2)+COUNTIF(Emp2!$AF$12:$AG$85,'Personal Graphs'!$P$2))