Excel/Google Sheets Discussion

Joined
8 Feb 2013
Messages
5,587
Likes
9,616
AFL Club
Hawthorn
#1
To all the Excel Gurus out there, and i Know there are a few of you. I have a spreadsheet containing about 25000 rows of data across about 10 Columns, I would like a quick and easy way to separate those rows into smaller sheets based on the info in one of the columns. There are about 60 different id's in that particular column, so like all the rows for each of those 60 id's separated into 60 different sheets. It is Horse Racing info and I want to separate it into different sheets based on individual Tracks.
 
Joined
8 Feb 2013
Messages
5,587
Likes
9,616
AFL Club
Hawthorn
#3
No, a bit of a novice at this. But actually came across something calles Kutos for excel which has a split data feature in it, which seemed to do the trick. Only issue is it just names all the new sheets 1 2 3 etc. instead of the individual track names. Have you used this before Thanh?
 

THCLT

BBL|05 Winner
Joined
13 Sep 2014
Messages
18,592
Likes
118,242
AFL Club
North Melb.
#4
No I haven't but others may...
 
Joined
22 Oct 2014
Messages
7,882
Likes
41,731
AFL Club
North Melb.
#5
To all the Excel Gurus out there, and i Know there are a few of you. I have a spreadsheet containing about 25000 rows of data across about 10 Columns, I would like a quick and easy way to separate those rows into smaller sheets based on the info in one of the columns. There are about 60 different id's in that particular column, so like all the rows for each of those 60 id's separated into 60 different sheets. It is Horse Racing info and I want to separate it into different sheets based on individual Tracks.
Should be reasonably straight forward. Email it through and I will take a look.

Is it something you want to be repeatable or is it just a once off?
 

KLo30

Leadership Group
Joined
27 Jan 2014
Messages
18,104
Likes
52,784
AFL Club
North Melb.
#7
@Beijing_Sting @Ironhawk @warewolves @Beg2Differ @Goodie's Guns

We should (probably) rename this thread: I've got this data and I want to use it to do this.

Thought now days, how can I import this data and then do the above.

Happy to hear from any webscrapers who are prepared to share. Which we will do in the background.
 
Joined
22 Oct 2014
Messages
7,882
Likes
41,731
AFL Club
North Melb.
#8
@Beijing_Sting @Ironhawk @warewolves @Beg2Differ @Goodie's Guns

We should (probably) rename this thread: I've got this data and I want to use it to do this.

Thought now days, how can I import this data and then do the above.

Happy to hear from any webscrapers who are prepared to share. Which we will do in the background.
Always happy to help.

To those who are reasonably proficient with Excel I would recommend having a look at the relatively new FILTER, SORT & UNIQUE functions. I find them quite useful.
 
Joined
15 Mar 2019
Messages
15,034
Likes
57,916
AFL Club
Hawthorn
#10
I can get by in Excel, and can usually work out ways to get it to do whatever I need, but I know there are some gurus here who are far more proficient at it than I ever will be.

I mainly use some cheap Excel knock off on my own computer for my spreadsheets, it is basically a copy of a version of Excel from about 20 years ago. It does the job, but it doesn't have any of the newer functions, so it is a bit limited. I do have access to 365 on my work laptop if needed. Not meant to use it for personal stuff, but I do occasionally.
 

KLo30

Leadership Group
Joined
27 Jan 2014
Messages
18,104
Likes
52,784
AFL Club
North Melb.
#12
I have a background in IT and programming and know my way around Excel, happy to see if I can help out.
I haven’t tried Google- Sheets tho.
They are basically the same, though there are some things that can be done it Excel that Sheets can't do. Those are normally at the high user end.
 

KLo30

Leadership Group
Joined
27 Jan 2014
Messages
18,104
Likes
52,784
AFL Club
North Melb.
#13
Always happy to help.

To those who are reasonably proficient with Excel I would recommend having a look at the relatively new FILTER, SORT & UNIQUE functions. I find them quite useful.
Excellent point. The example of the DEFENDERS in the Lock and Load thread uses FILTER to drag out the defender eligible players.

=FILTER($G$3:$J$47,($J$3:$J$47="DEF")+($J$3:$J$47="DEF/FWD")+($J$3:$J$47="DEF/MID")+($J$3:$J$47="DEF/RUC"))
 
Joined
22 Oct 2014
Messages
7,882
Likes
41,731
AFL Club
North Melb.
#14
Excellent point. The example of the DEFENDERS in the Lock and Load thread uses FILTER to drag out the defender eligible players.

=FILTER($G$3:$J$47,($J$3:$J$47="DEF")+($J$3:$J$47="DEF/FWD")+($J$3:$J$47="DEF/MID")+($J$3:$J$47="DEF/RUC"))
That illustrates it nicely however the drawback in using that approach is that you have to list every option individually and it would miss ones where the DPPs designations are in the reverse order. The following example is little more complex however it would pick up anything with "DEF" in the position.

=FILTER($G$3:$J$47,ISNUMBER(SEARCH("DEF",$J$3:$J$47)))

Note these are called spill functions which means they spill into as many cells down the page as required. If there is something else in the cells that this function wants to spill into then you will get a SPILL error.

A bonus tip which I have only recently stumbled across is if you enclose that function in the TEXTJOIN function and provide a delimiter then you get a list of all the items in a single cell.

=TEXTJOIN(", ", TRUE, FILTER(...))
 

KLo30

Leadership Group
Joined
27 Jan 2014
Messages
18,104
Likes
52,784
AFL Club
North Melb.
#15
That illustrates it nicely however the drawback in using that approach is that you have to list every option individually and it would miss ones where the DPPs designations are in the reverse order. The following example is little more complex however it would pick up anything with "DEF" in the position.

=FILTER($G$3:$J$47,ISNUMBER(SEARCH("DEF",$J$3:$J$47)))

Note these are called spill functions which means they spill into as many cells down the page as required. If there is something else in the cells that this function wants to spill into then you will get a SPILL error.

A bonus tip which I have only recently stumbled across is if you enclose that function in the TEXTJOIN function and provide a delimiter then you get a list of all the items in a single cell.

=TEXTJOIN(", ", TRUE, FILTER(...))
That's so pretty. :)
 
Joined
25 Feb 2019
Messages
2,576
Likes
11,640
AFL Club
Adelaide
#16
I was using the following formula to get lists of players for each position from a master list.

=SORT(FILTER(FILTER(Season_Start_list,role_filter=A2,""),{1,1,1,1,0,1,1,1,1,0}),3,-1)

Season_Start_list is my named master list. This had 2 entries for each DPP player.
A2 had what position I was filtering on ie DEF
The 2nd FILTER is to only select a sub-set of the columns in the master list. ( 1= include, 0= exclude)
 
Joined
22 Oct 2014
Messages
7,882
Likes
41,731
AFL Club
North Melb.
#18
I was using the following formula to get lists of players for each position from a master list.

=SORT(FILTER(FILTER(Season_Start_list,role_filter=A2,""),{1,1,1,1,0,1,1,1,1,0}),3,-1)

Season_Start_list is my named master list. This had 2 entries for each DPP player.
A2 had what position I was filtering on ie DEF
The 2nd FILTER is to only select a sub-set of the columns in the master list. ( 1= include, 0= exclude)
To remove the duplicates a filter might return just enclose the FILTER function in the UNIQUE function.

=UNIQUE(FILTER(...))
 
Joined
8 Oct 2018
Messages
10,252
Likes
36,900
AFL Club
Port Adelaide
#19
I can get by in Excel, and can usually work out ways to get it to do whatever I need, but I know there are some gurus here who are far more proficient at it than I ever will be.

I mainly use some cheap Excel knock off on my own computer for my spreadsheets, it is basically a copy of a version of Excel from about 20 years ago. It does the job, but it doesn't have any of the newer functions, so it is a bit limited. I do have access to 365 on my work laptop if needed. Not meant to use it for personal stuff, but I do occasionally.
I can resonate with this ... still love my old school version that does everything I need ...

- am also well equipped to handle the new version but just don't like the look and feel ...
- the new menu set ups turned me right off ... too much wasted screen space ...
 
Last edited:
Joined
29 Nov 2019
Messages
5,623
Likes
20,191
AFL Club
Brisbane
#20
I am will stay old school ... just don't like the new menu bar setup ....
- just takse up too much o

I can resonate with this ... still love my old school version that does everything I need ...

- am also well equipped to handle the new version but just don't like the look and feel ...
- the new menu set ups turned me right off ... too much wasted screen space ...
Fairly easy to remove and minimise the stuff you don't need. Mind you, I needed something that utilises the stock stuff
 
Top