ojaskulkarni
New Member
Hi Chandoo Ninjas,
I need help with a complex situation. I have tried many attempts but not helping!!
I have a sheet (see attached) with the following columns:
Sales Rep - contains names of sales reps
Cust Name - contains names - not relevant to the problem
Record ID - contains unique, distinct record ids
Date - contains dates (multiple years)
CountCondition - contains "Eligible" or "Not Eligible"
Outcome - This needs to have a record number according to the conditions defined
The approach I am using right now isOR what I want to do) (but not helping)
Using defined conditions, create a dynamic array of records
Sort dates in this array chronologically
For each Sales Rep AND for each calendar quarter (in the array) number records from 1 to n (where n=max records for the particular sales rep in a particular quarter)
The work-around I use is to create a pivot of the conditions (once a quarter) and manually number the records. However, the challenge is I cannot do this real-time! If the Date or CountCondition changes, the numbering has to be done manually again.
Or if New records are added, all numbering has to be done again.
The record numbering is used further to associate sales performance stacks, so this is not the end of game! The original file has more than 4000 records and across multiple years, so in-cell arrays are only optimal solution. Pivot table makes process cumbersome!
Would appreciate if anyone can help.
Thanks a ton for trying!
-Ojas
I need help with a complex situation. I have tried many attempts but not helping!!
I have a sheet (see attached) with the following columns:
Sales Rep - contains names of sales reps
Cust Name - contains names - not relevant to the problem
Record ID - contains unique, distinct record ids
Date - contains dates (multiple years)
CountCondition - contains "Eligible" or "Not Eligible"
Outcome - This needs to have a record number according to the conditions defined
The approach I am using right now isOR what I want to do) (but not helping)
Using defined conditions, create a dynamic array of records
Sort dates in this array chronologically
For each Sales Rep AND for each calendar quarter (in the array) number records from 1 to n (where n=max records for the particular sales rep in a particular quarter)
The work-around I use is to create a pivot of the conditions (once a quarter) and manually number the records. However, the challenge is I cannot do this real-time! If the Date or CountCondition changes, the numbering has to be done manually again.
Or if New records are added, all numbering has to be done again.
The record numbering is used further to associate sales performance stacks, so this is not the end of game! The original file has more than 4000 records and across multiple years, so in-cell arrays are only optimal solution. Pivot table makes process cumbersome!
Would appreciate if anyone can help.
Thanks a ton for trying!
-Ojas