windows xp
excel 2002 service pack 2
Problem:
I have multiple large spreadsheets of questionnaire data. Responses are as %'s
What I would like to do is use conditional formatting to pick out the top 3 of each set of questions per column not including 0% (if it falls in the top 3). Using different shades of green in the cell background and a white font.
so.....
The spreadsheets are up to 3000 rows long and up to column BB wide. The sets of questions are of random length spaced by an empty row. So question 1 may have 11 parts to it, each taking up a row so 12 rows in total. Question 2 may have 5 parts taking up row each so 6 rows in total...............Question 80 may have 7 parts so 8 rows in total and on and on.
What I have been doing is working down the first column of responses and manually adding the conditional formatting. Then using the format painter to copy across the relevant rows and columns. For example if Question one was from c5:bb26 I would format c$5:c$26 with the top three then use format painter to drag across to bb5:bb26.
Conditional Formatting formula used: =D7=LARGE(D$4:D$15,1)
=D7=LARGE(D$4:D$15,2)
=D7=LARGE(D$4:D$15,3)
Conditional Formatting on multiple large spreadsheets of data
The problem is I have to do this for every set of questions and the questions per worksheet are different lengths. So once I've completed the first I can't just copy across the formats to the other worksheets. This is very time consuming and a little soul destroying!
I do not know if I am asking for a lot of development or if I am in fact doing it the quickest way (I hope not!). But can anyone help speed up this task by using either VBA or a macro. I have limited experience of both and have so far only managed to create a macro where you need to change all the cell references each time. Which turns out to be not much quicker than the above method! My new! VBA skills are based around cannibalising existing code and macros so no where near good enough yet.
Thank you in advance for your advice and help.
Regards
Worthe
excel 2002 service pack 2
Problem:
I have multiple large spreadsheets of questionnaire data. Responses are as %'s
What I would like to do is use conditional formatting to pick out the top 3 of each set of questions per column not including 0% (if it falls in the top 3). Using different shades of green in the cell background and a white font.
so.....
The spreadsheets are up to 3000 rows long and up to column BB wide. The sets of questions are of random length spaced by an empty row. So question 1 may have 11 parts to it, each taking up a row so 12 rows in total. Question 2 may have 5 parts taking up row each so 6 rows in total...............Question 80 may have 7 parts so 8 rows in total and on and on.
What I have been doing is working down the first column of responses and manually adding the conditional formatting. Then using the format painter to copy across the relevant rows and columns. For example if Question one was from c5:bb26 I would format c$5:c$26 with the top three then use format painter to drag across to bb5:bb26.
Conditional Formatting formula used: =D7=LARGE(D$4:D$15,1)
=D7=LARGE(D$4:D$15,2)
=D7=LARGE(D$4:D$15,3)
Conditional Formatting on multiple large spreadsheets of data
The problem is I have to do this for every set of questions and the questions per worksheet are different lengths. So once I've completed the first I can't just copy across the formats to the other worksheets. This is very time consuming and a little soul destroying!
I do not know if I am asking for a lot of development or if I am in fact doing it the quickest way (I hope not!). But can anyone help speed up this task by using either VBA or a macro. I have limited experience of both and have so far only managed to create a macro where you need to change all the cell references each time. Which turns out to be not much quicker than the above method! My new! VBA skills are based around cannibalising existing code and macros so no where near good enough yet.
Thank you in advance for your advice and help.
Regards
Worthe