I have the below spreadsheet:
Advisor Type Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar
A Barrett NEET 25 25 25 25 25 25 25 25 25 25 25 25
A Barrett In Learning 15 15 15 15 15 15 15 15 15 15 15 15
A Barrett Not Known 26 26 26 26 26 26 26 26 26 26 26 26
A Barrett YP JWT 29 29 29 29 29 29 29 29 29 29 29 29
A Barrett Teen Mums 1 1 1 1 1 1 1 1 1 1 1 1
A Barrett LDD EET 0 0 0 0 0 0 0 0 0 0 0 0
A Barrett CL 0 0 0 0 0 0 0 0 0 0 0 0
A Barrett Interventions 101 101 101 101 101 101 101 101 101 101 101 101
B Bunce NEET 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce In Learning 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Not Known 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce YP JWT 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Teen Mums 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce LDD EET 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce CL 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Interventions 423 423 423 423 423 423 423 423 423 423 423 423
I can already copy and paste the values from this spreadsheet into another, by searching for the Advisor A Barrat, from there i have hard coded choose the fields A1:N9 which give me all the months data for that person.
How can i code this to choose the data without hardcoding in the range.
I.e B Bunce's data is in A8:N17, but this may not always be the case, so hard coding it will not work as this list is going to be approx 200 people long, by 9 targets, with people joining and leaving all the time, however, it will always be the same number of months, so the code needs to look for B.Bunce (or who ever), then select all the data 14 columns across and 9/8 rows down.
I have tried offset, but this just chooses the last cell, any help would be appreciated.
--------------------------------
Luke: But tell me why I can't...
Yoda: No, no, there is no why. Nothing more will I teach you today. Clear your mind of questions.
Advisor Type Apr May Jun Jul Aug Sep Oct Nov Dec Jan Feb Mar
A Barrett NEET 25 25 25 25 25 25 25 25 25 25 25 25
A Barrett In Learning 15 15 15 15 15 15 15 15 15 15 15 15
A Barrett Not Known 26 26 26 26 26 26 26 26 26 26 26 26
A Barrett YP JWT 29 29 29 29 29 29 29 29 29 29 29 29
A Barrett Teen Mums 1 1 1 1 1 1 1 1 1 1 1 1
A Barrett LDD EET 0 0 0 0 0 0 0 0 0 0 0 0
A Barrett CL 0 0 0 0 0 0 0 0 0 0 0 0
A Barrett Interventions 101 101 101 101 101 101 101 101 101 101 101 101
B Bunce NEET 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce In Learning 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Not Known 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce YP JWT 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Teen Mums 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce LDD EET 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce CL 2 2 2 2 2 2 2 2 2 2 2 2
B Bunce Interventions 423 423 423 423 423 423 423 423 423 423 423 423
I can already copy and paste the values from this spreadsheet into another, by searching for the Advisor A Barrat, from there i have hard coded choose the fields A1:N9 which give me all the months data for that person.
How can i code this to choose the data without hardcoding in the range.
I.e B Bunce's data is in A8:N17, but this may not always be the case, so hard coding it will not work as this list is going to be approx 200 people long, by 9 targets, with people joining and leaving all the time, however, it will always be the same number of months, so the code needs to look for B.Bunce (or who ever), then select all the data 14 columns across and 9/8 rows down.
I have tried offset, but this just chooses the last cell, any help would be appreciated.
--------------------------------
Luke: But tell me why I can't...
Yoda: No, no, there is no why. Nothing more will I teach you today. Clear your mind of questions.