P
PaulGrogan
Hi all, my first post here.
Lets say I have a table of 52 rows. One row for each week of the year
Each cell in the row is filled in on a weekly basis with a type o
fruit. The list of fruit is fixed using another datatable and dat
validation.
What I then need to do is for an area on the spreadsheet to show th
top 10 fruit for the year, based on the number of times it appears o
the list.
To get the number of each is easy, I use the COUNTIF function, so
have a part of the sheet that shows all the different types of frui
(say 30 of them), and how many times they appear on the list filled i
by the user.
i,e
Banana 0
Apple 4
Kiwi 1
etc. etc.
To do this with a macro, I simply write the macro to copy the cel
range with the counted occurances, sort it by the number column, an
then copy the top 10 results to my output table.
But, I want to avoid using a macro if possible, but cant think how t
do this otherwise.
Thanks in advance,
Pau
Lets say I have a table of 52 rows. One row for each week of the year
Each cell in the row is filled in on a weekly basis with a type o
fruit. The list of fruit is fixed using another datatable and dat
validation.
What I then need to do is for an area on the spreadsheet to show th
top 10 fruit for the year, based on the number of times it appears o
the list.
To get the number of each is easy, I use the COUNTIF function, so
have a part of the sheet that shows all the different types of frui
(say 30 of them), and how many times they appear on the list filled i
by the user.
i,e
Banana 0
Apple 4
Kiwi 1
etc. etc.
To do this with a macro, I simply write the macro to copy the cel
range with the counted occurances, sort it by the number column, an
then copy the top 10 results to my output table.
But, I want to avoid using a macro if possible, but cant think how t
do this otherwise.
Thanks in advance,
Pau