Transpose 3 rows formula only sometimes works

JeffGrant

Well-known Member
Joined
Apr 7, 2021
Messages
516
Office Version
  1. 365
Platform
  1. Windows
Hi All,

I am transposing from 3 rows to in 1 column to 1 row and 3 columns. This formula is give me hit and miss results. I have colour coded the hits and left the misses blank.

Can somebody please correct the formula and maybe explain why it is doing this.

Thanks


Book1
ABCDEFG
1Weights (kg)
2NameWeight (kg)Name123
3Nick Of Time58.00Nick Of Time58.0058.0058.00
4Nick Of Time58.00Forty Niner58.0058.0058.00
5Nick Of Time58.00Gratias Deo0.0056.5056.50
6Forty Niner58.00Dorado58.0055.5055.50
7Forty Niner58.00Joyrize56.0056.0056.00
8Forty Niner58.00Lucie Manette56.0055.5055.50
9Gratias Deo0.00Artienne0.0056.0056.00
10Gratias Deo58.00She's A Sweet Deel0.0056.0056.00
11Gratias Deo56.50Miss Rona56.0056.0056.00
12Dorado58.00Wuhan Warrior0.0056.0056.00
13Dorado55.00Forever Autumn0.0056.0056.00
14Dorado55.50Hootie Da Blowfish0.0057.0057.00
15Joyrize56.00Via Monte0.0057.0057.00
16Joyrize56.00The Lady Is A Vamp55.0055.0055.00
17Joyrize56.00State Of Power54.0054.0054.00
18Lucie Manette56.00Augusta Red54.0054.0054.00
19Lucie Manette54.00Tiny'n'tuff55.0055.0055.00
20Lucie Manette55.50Next Stop The Moon56.0060.5060.50
21Artienne0.00Native Chimes56.0056.0056.00
22Artienne55.00Luke's Choice57.0058.5058.50
23Artienne56.00Conquered Zone52.0055.0055.00
24She's A Sweet Deel0.00Costa Lante52.5054.0054.00
25She's A Sweet Deel0.00Flying Target53.0052.5052.50
26She's A Sweet Deel56.00Miss Zedel56.0056.0056.00
27Miss Rona56.00Power And Passion54.0051.0051.00
28Miss Rona56.00Overthought57.0057.5057.50
29Miss Rona56.00Crossaro58.5058.5058.50
30Wuhan Warrior0.00Aragain59.0054.0054.00
31Wuhan Warrior56.00
32Wuhan Warrior56.00
33Forever Autumn0.00
34Forever Autumn56.00
35Forever Autumn56.00
36Hootie Da Blowfish0.00
37Hootie Da Blowfish0.00
38Hootie Da Blowfish57.00
39Via Monte0.00
40Via Monte0.00
41Via Monte57.00
42The Lady Is A Vamp55.00
43The Lady Is A Vamp55.00
44The Lady Is A Vamp55.00
45State Of Power54.00
46State Of Power54.50
47State Of Power54.00
48Augusta Red54.00
49Augusta Red54.00
50Augusta Red54.00
51Tiny'n'tuff55.00
52Tiny'n'tuff52.00
53Tiny'n'tuff55.00
54Next Stop The Moon56.00
55Next Stop The Moon56.00
56Next Stop The Moon60.50
57Native Chimes56.00
58Native Chimes55.00
59Native Chimes56.00
60Luke's Choice57.00
61Luke's Choice55.00
62Luke's Choice58.50
63Conquered Zone52.00
64Conquered Zone52.50
65Conquered Zone55.00
66Costa Lante52.50
67Costa Lante53.00
68Costa Lante54.00
69Flying Target53.00
70Flying Target53.00
71Flying Target52.50
72Miss Zedel56.00
73Miss Zedel58.50
74Miss Zedel56.00
75Power And Passion54.00
76Power And Passion54.00
77Power And Passion51.00
78Overthought57.00
79Overthought54.50
80Overthought57.50
81Crossaro58.50
82Crossaro55.50
83Crossaro58.50
84Aragain59.00
85Aragain54.00
86Aragain54.00
Sheet1
Cell Formulas
RangeFormula
D3:D30D3=UNIQUE($A3:$A86)
E3:E30E3=IFERROR(VALUE(INDEX($B$3:$B$2000, SMALL(IF($D3=$A$3:$A$2000, ROW($A$3:$A$2000)-MIN(ROW($A$3:$A$2000))+1, ""), $E$2))),0)
F3:F30F3=IFERROR(VALUE(INDEX($B$3:$B$2000, SMALL(IF($D3=$A$2:$A$2000, ROW($A$3:$A$2000)-MIN(ROW($A$3:$A$2000))+1, ""), F$2))),0)
G3:G30G3=IFERROR(VALUE(INDEX($B$3:$B$2000, SMALL(IF($D3=$A$3:$A$2000, ROW($A$3:$A$2000)-MIN(ROW($A$3:$A$2000))+1, ""), G$2))),0)
Dynamic array formulas.
 
Hi All,

In a bid to expand my novice knowledge of PQ, (inspired by Alan Sidman - Thanks), I followed Alan's directions and was getting all very excited, until I found a glitch.

The glitch is this......

The aim is to transpose rows into columns - ok
The data set can have groups of either 1, 2 or 3 records each.
Using the Modulo function, the data happily transfers into columns of three - ok.

The issue is that if here is only 1 or 2 records in a group, then the Mod (3) screws up the transpose.

What needs to happen is that each group must have 3 records before the transpose.

Is there a way that PQ can count the records in each group and:

If count =1, insert two rows after the counted row, copying the name into the two blank cells.
If count = 2, insert one row after the counted row, copying the name into the blank cell.
If count = 3, move to next group.

I have been able to achieve this objective by running a very slow and tedious VBA For loop, starting at the bottom of the data and comparing each row with the one before it.

So I am drinking a lot of coffee whilst this part executes, because there are thousands of records everyday :(

Any and all ideas are graciously received.

Jeff.

NameWeight
Double Happy58.5
Double Happy53
Double Happy54.5
Twin Spinner63
Twin Spinner55
Charred54
Charred63.5
Charred65.5
La Casa56.5
La Casa58
La Casa67
Timberlake57.5
Timberlake58.5
Timberlake57.5
Maestro Blu65.5
Maestro Blu59.5
O'Susana55.5
O'Susana55.5
O'Susana56
Elle D'Berry54
Elle D'Berry66.5
Elle D'Berry55
Tunzagutz54
Tunzagutz54
Tunzagutz54.5
Renegade Fighter54
Renegade Fighter51
Zenntari66
Zenntari56
Zenntari56
Poacher54.5
Poacher56.5
Poacher57.5
Maitland55.5
Brookbourne57.5
Brookbourne57.5
Brookbourne57.5
Youknowhatimean55.5
Youknowhatimean55.5
Youknowhatimean58.5
The Twinkling56.5
The Twinkling53.5
The Twinkling57.5
Beauty For Ashes56.5
Beauty For Ashes54.5
Beauty For Ashes54
Kiki56.5
Kiki56.5
Kiki57.5
Glad All Over53.5
Glad All Over56.5
Glad All Over54.5
Bouffant57.5
Bouffant57.5
Bouffant57.5
C'est Une Star55
C'est Une Star56.5
C'est Une Star56.5
Donnstar64
Jenny Kraig55.5
Jenny Kraig56.5
Jenny Kraig56.5
Lofty58.5
Lofty54.5
Lofty56.5
Captain Oumuamua57.5
Shockova66
Shockova68
Shockova55.5
Shadow Man58.5
Beauty For Ashes56.5
Beauty For Ashes54.5
Beauty For Ashes54
Apatchee Power56.5
Apatchee Power52.5
Apatchee Power56.5
Bang Bang56.5
C'est Une Star55
C'est Une Star56.5
C'est Une Star56.5
Cinnamon Star56.5
Jenny Kraig55.5
Jenny Kraig56.5
Jenny Kraig56.5
Stormy's Secret56.5
Stormy's Secret56.5
Stormy's Secret56.5
True North55.5
Half Of Nothing54.5
Half Of Nothing54.5
Half Of Nothing54.5
Perfectionist56.5
Perfectionist55
Perfectionist54.5
She's Dashing57.5
She's Dashing55.5
She's Dashing56.5
Bendermerry55.5
Bendermerry54.5
 
Upvote 0

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Look at this link and see if this helps you.

Hi Alan, is there another way you can send the link? it is giving me a 403 access denied error.
 
Upvote 0
It is just a web address: Try to google Excel Guru Blog and then search within the blog for "Number rows by group using Power Query" If you are at work, maybe your IT department is blocking your access. I was just on the site and had no issues.
 
Upvote 0
403 sounds like it has been blocked by a firewall. You may want to look here <--- for workarounds.
 
Upvote 0
Not the most elegant PQ coding but seems to work

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Name"}, {{"Name1", each _, type table [Name=nullable text, Weight=nullable number]}}),
    #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Weight1", each [Name1]{0}),
    #"Expanded Weight1" = Table.ExpandRecordColumn(#"Added Custom", "Weight1", {"Weight"}, {"Weight 1"}),
    #"Added Custom1" = Table.AddColumn(#"Expanded Weight1", "Weight2", each [Name1]{1}),
    #"Expanded Weight2" = Table.ExpandRecordColumn(#"Added Custom1", "Weight2", {"Weight"}, {"Weight 2"}),
    #"Added Custom2" = Table.AddColumn(#"Expanded Weight2", "Weight3", each [Name1]{2}),
    #"Expanded Weight3" = Table.ExpandRecordColumn(#"Added Custom2", "Weight3", {"Weight"}, {"Weight 3"}),
    #"Removed Columns" = Table.RemoveColumns(#"Expanded Weight3",{"Name1"}),
    #"Replaced Errors" = Table.ReplaceErrorValues(#"Removed Columns", {{"Weight 2", null}, {"Weight 3", null}})
in
    #"Replaced Errors"

AltSort.xlsm
ABCDEFGH
1NameWeightNameWeight 1Weight 2Weight 3
2Double Happy58.5Double Happy58.55354.5
3Double Happy53Twin Spinner6355
4Double Happy54.5Charred5463.565.5
5Twin Spinner63La Casa56.55867
6Twin Spinner55Timberlake57.558.557.5
7Charred54Maestro Blu65.559.5
8Charred63.5O'Susana55.555.556
9Charred65.5Elle D'Berry5466.555
10La Casa56.5Tunzagutz545454.5
11La Casa58Renegade Fighter5451
12La Casa67Zenntari665656
13Timberlake57.5Poacher54.556.557.5
14Timberlake58.5Maitland55.5
15Timberlake57.5Brookbourne57.557.557.5
16Maestro Blu65.5Youknowhatimean55.555.558.5
17Maestro Blu59.5The Twinkling56.553.557.5
18O'Susana55.5Beauty For Ashes56.554.554
19O'Susana55.5Kiki56.556.557.5
20O'Susana56Glad All Over53.556.554.5
21Elle D'Berry54Bouffant57.557.557.5
22Elle D'Berry66.5C'est Une Star5556.556.5
23Elle D'Berry55Donnstar64
24Tunzagutz54Jenny Kraig55.556.556.5
25Tunzagutz54Lofty58.554.556.5
26Tunzagutz54.5Captain Oumuamua57.5
27Renegade Fighter54Shockova666855.5
28Renegade Fighter51Shadow Man58.5
29Zenntari66Apatchee Power56.552.556.5
30Zenntari56Bang Bang56.5
31Zenntari56Cinnamon Star56.5
32Poacher54.5Stormy's Secret56.556.556.5
33Poacher56.5True North55.5
34Poacher57.5Half Of Nothing54.554.554.5
35Maitland55.5Perfectionist56.55554.5
36Brookbourne57.5She's Dashing57.555.556.5
37Brookbourne57.5Bendermerry55.554.5
38Brookbourne57.5
39Youknowhatimean55.5
40Youknowhatimean55.5
41Youknowhatimean58.5
42The Twinkling56.5
43The Twinkling53.5
44The Twinkling57.5
45Beauty For Ashes56.5
46Beauty For Ashes54.5
47Beauty For Ashes54
48Kiki56.5
49Kiki56.5
50Kiki57.5
51Glad All Over53.5
52Glad All Over56.5
53Glad All Over54.5
54Bouffant57.5
55Bouffant57.5
56Bouffant57.5
57C'est Une Star55
58C'est Une Star56.5
59C'est Une Star56.5
60Donnstar64
61Jenny Kraig55.5
62Jenny Kraig56.5
63Jenny Kraig56.5
64Lofty58.5
65Lofty54.5
66Lofty56.5
67Captain Oumuamua57.5
68Shockova66
69Shockova68
70Shockova55.5
71Shadow Man58.5
72Beauty For Ashes56.5
73Beauty For Ashes54.5
74Beauty For Ashes54
75Apatchee Power56.5
76Apatchee Power52.5
77Apatchee Power56.5
78Bang Bang56.5
79C'est Une Star55
80C'est Une Star56.5
81C'est Une Star56.5
82Cinnamon Star56.5
83Jenny Kraig55.5
84Jenny Kraig56.5
85Jenny Kraig56.5
86Stormy's Secret56.5
87Stormy's Secret56.5
88Stormy's Secret56.5
89True North55.5
90Half Of Nothing54.5
91Half Of Nothing54.5
92Half Of Nothing54.5
93Perfectionist56.5
94Perfectionist55
95Perfectionist54.5
96She's Dashing57.5
97She's Dashing55.5
98She's Dashing56.5
99Bendermerry55.5
100Bendermerry54.5
101
Sheet4
 
Upvote 0
Since you can't see the link I provided, I have made an attempt : Here is the Mcode

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table5"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Weight (kg)", type number}}),
    #"Grouped Rows" = Table.Group(#"Changed Type", {"Name"}, {{"Data", each _, type table [Name=nullable text, #"Weight (kg)"=nullable number]}}),
    #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Custom", each Table.AddIndexColumn([Data],"Index",1,1)),
    #"Removed Columns" = Table.RemoveColumns(#"Added Custom",{"Data"}),
    #"Expanded Custom" = Table.ExpandTableColumn(#"Removed Columns", "Custom", {"Weight (kg)", "Index"}, {"Custom.Weight (kg)", "Custom.Index"}),
    #"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Expanded Custom", {{"Custom.Index", type text}}, "en-US"), List.Distinct(Table.TransformColumnTypes(#"Expanded Custom", {{"Custom.Index", type text}}, "en-US")[Custom.Index]), "Custom.Index", "Custom.Weight (kg)"),
    #"Renamed Columns" = Table.RenameColumns(#"Pivoted Column",{{"1", "Weight1"}, {"2", "Weight2"}, {"3", "Weight3"}})
in
    #"Renamed Columns"

The key line from the unviewable web sit is the adding of a custom index column which needs to be written in Mcode and not part of the UI.

Power Query:
Table.AddIndexColumn([Data],"Index",1,1)
 
Upvote 0
Since you can't see the link I provided, I have made an attempt : Here is the Mcode

Power Query:
let
    Source = Excel.CurrentWorkbook(){[Name="Table5"]}[Content],
    #"Changed Type" = Table.TransformColumnTypes(Source,{{"Name", type text}, {"Weight (kg)", type number}}),
    #"Grouped Rows" = Table.Group(#"Changed Type", {"Name"}, {{"Data", each _, type table [Name=nullable text, #"Weight (kg)"=nullable number]}}),
    #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Custom", each Table.AddIndexColumn([Data],"Index",1,1)),
    #"Removed Columns" = Table.RemoveColumns(#"Added Custom",{"Data"}),
    #"Expanded Custom" = Table.ExpandTableColumn(#"Removed Columns", "Custom", {"Weight (kg)", "Index"}, {"Custom.Weight (kg)", "Custom.Index"}),
    #"Pivoted Column" = Table.Pivot(Table.TransformColumnTypes(#"Expanded Custom", {{"Custom.Index", type text}}, "en-US"), List.Distinct(Table.TransformColumnTypes(#"Expanded Custom", {{"Custom.Index", type text}}, "en-US")[Custom.Index]), "Custom.Index", "Custom.Weight (kg)"),
    #"Renamed Columns" = Table.RenameColumns(#"Pivoted Column",{{"1", "Weight1"}, {"2", "Weight2"}, {"3", "Weight3"}})
in
    #"Renamed Columns"

The key line from the unviewable web sit is the adding of a custom index column which needs to be written in Mcode and not part of the UI.

Power Query:
Table.AddIndexColumn([Data],"Index",1,1)
Thank you Mr Sidman. I have work commitments for a few days, so I will try your suggestions at the weekend. Much appreciated.
 
Upvote 0
Hi All, Just following on from this thread earlier in the week,

Pls: note I do have a similar thread :


Rather than add rows to end up with a total 3 or 6 records per name, I could go the other way and remove rows where the name count is not 3 or 6.

My question is:

How can I uses PQ to filter records where the name count is 3 or 6 before doing the transpose?

The steps Alan provided earlier are perfect for the transpose and will work quite happily if the name count is 3 or 6.

Thanks in advance

PQ3 Test.xlsx
AB
1horse nameform weight
2A Big Chance53.5
3A Big Chance53
4A Big Chance56
5A Fighting Fury61.5
6A Fighting Fury61
7A Fighting Fury61.5
8A Knight In Paris58
9A Knight In Paris54
10A Knight In Paris58
11A Krupt Pick58.5
12A Krupt Pick55
13A Krupt Pick55
14A Lone Hero58
15A Lone Hero60
16A Lone Hero58
17A Lone Hero58
18A Lone Hero60
19A Lone Hero58
20A Magic Zariz60
21A Magic Zariz63.5
22A Magic Zariz58.5
23A Midnight Shadow55.5
24A Pinch Of Luck56
25A Pinch Of Luck59.5
26A Pinch Of Luck60
27A Tender Lady58
28A Tender Lady57
29A Tender Lady59
30A Thousand Degrees54
31A Thousand Degrees59.5
32A Thousand Degrees55
33Aadelad54
34Aadelad57
35Aadelad54
36Abb Roy56.5
37Abb Roy55.5
38Abb Roy55
39Abbey Bridge55
40Abdicating57.5
41Abdicating58.5
42Abdicating54
43Abeldane53
44Abeldane51.5
45Abeldane54
46Aberdeen Queen60.5
47Aberdeen Queen54.5
48Aberdeen Queen57.5
49Aberlady59
50Aberlady55.5
51Aberlady55.5
52Aberlady57.5
53Aberlady59
54Aberlady55.5
55Ablestock66.5
56Ablestock66.5
57Ablestock69.5
58Above And Beyond54
59Above And Beyond58.5
60Above And Beyond59
61Above The Sky57
62Above The Sky54
63Above The Sky57.5
64Absconded56.5
65Absconded56
66Absconded56.5
67Absolvido52.5
68Absolvido53.5
69Absolvido54.5
70Accelerato57.5
71Accelerato59.5
72Accelerato55.5
73Accelerato57.5
74Accelerato59.5
75Accelerato55.5
76Accordingly53
77Accordingly57
78Accordingly56
79Accountability58.5
80Accountability58.5
81Accountability57
82Accountability58.5
83Accountability58.5
84Accountability57
85Accoy55
86Accoy56.5
87Accoy55
88Accumulated57
89Accumulated59.5
90Accumulated57.5
91Acrobatic54.5
92Acrobatic55
93Acrobatic57
94Adabeyaat60.5
95Adabeyaat56.5
96Adabeyaat55.5
97Adamas Prince57
98Adamas Prince57
99Adamas Prince54
100Adatto58.5
Sheet1
 
Upvote 0
Thank you Mr Sidman. I have work commitments for a few days, so I will try your suggestions at the weekend. Much appreciated.
Hi Alan,

I have tried copy/paste your query above and all I get is errors, I just don't know enough about PQ yet to understand what this is doing. I have tried editing table & Column names and thought everything else would line up, but alas, it didn't.
 
Upvote 0
Not the most elegant PQ coding but seems to work

Power Query:
[QUOTE="JGordon11, post: 5724749, member: 471747"]
Not the most elegant PQ coding but seems to work

[CODE=pq]
let
    Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content],
    #"Grouped Rows" = Table.Group(Source, {"Name"}, {{"Name1", each _, type table [Name=nullable text, Weight=nullable number]}}),
    #"Added Custom" = Table.AddColumn(#"Grouped Rows", "Weight1", each [Name1]{0}),
    #"Expanded Weight1" = Table.ExpandRecordColumn(#"Added Custom", "Weight1", {"Weight"}, {"Weight 1"}),
    #"Added Custom1" = Table.AddColumn(#"Expanded Weight1", "Weight2", each [Name1]{1}),
    #"Expanded Weight2" = Table.ExpandRecordColumn(#"Added Custom1", "Weight2", {"Weight"}, {"Weight 2"}),
    #"Added Custom2" = Table.AddColumn(#"Expanded Weight2", "Weight3", each [Name1]{2}),
    #"Expanded Weight3" = Table.ExpandRecordColumn(#"Added Custom2", "Weight3", {"Weight"}, {"Weight 3"}),
    #"Removed Columns" = Table.RemoveColumns(#"Expanded Weight3",{"Name1"}),
    #"Replaced Errors" = Table.ReplaceErrorValues(#"Removed Columns", {{"Weight 2", null}, {"Weight 3", null}})
in
    #"Replaced Errors"

AltSort.xlsm
ABCDEFGH
1NameWeightNameWeight 1Weight 2Weight 3
2Double Happy58.5Double Happy58.55354.5
3Double Happy53Twin Spinner6355
4Double Happy54.5Charred5463.565.5
5Twin Spinner63La Casa56.55867
6Twin Spinner55Timberlake57.558.557.5
7Charred54Maestro Blu65.559.5
8Charred63.5O'Susana55.555.556
9Charred65.5Elle D'Berry5466.555
10La Casa56.5Tunzagutz545454.5
11La Casa58Renegade Fighter5451
12La Casa67Zenntari665656
13Timberlake57.5Poacher54.556.557.5
14Timberlake58.5Maitland55.5
15Timberlake57.5Brookbourne57.557.557.5
16Maestro Blu65.5Youknowhatimean55.555.558.5
17Maestro Blu59.5The Twinkling56.553.557.5
18O'Susana55.5Beauty For Ashes56.554.554
19O'Susana55.5Kiki56.556.557.5
20O'Susana56Glad All Over53.556.554.5
21Elle D'Berry54Bouffant57.557.557.5
22Elle D'Berry66.5C'est Une Star5556.556.5
23Elle D'Berry55Donnstar64
24Tunzagutz54Jenny Kraig55.556.556.5
25Tunzagutz54Lofty58.554.556.5
26Tunzagutz54.5Captain Oumuamua57.5
27Renegade Fighter54Shockova666855.5
28Renegade Fighter51Shadow Man58.5
29Zenntari66Apatchee Power56.552.556.5
30Zenntari56Bang Bang56.5
31Zenntari56Cinnamon Star56.5
32Poacher54.5Stormy's Secret56.556.556.5
33Poacher56.5True North55.5
34Poacher57.5Half Of Nothing54.554.554.5
35Maitland55.5Perfectionist56.55554.5
36Brookbourne57.5She's Dashing57.555.556.5
37Brookbourne57.5Bendermerry55.554.5
38Brookbourne57.5
39Youknowhatimean55.5
40Youknowhatimean55.5
41Youknowhatimean58.5
42The Twinkling56.5
43The Twinkling53.5
44The Twinkling57.5
45Beauty For Ashes56.5
46Beauty For Ashes54.5
47Beauty For Ashes54
48Kiki56.5
49Kiki56.5
50Kiki57.5
51Glad All Over53.5
52Glad All Over56.5
53Glad All Over54.5
54Bouffant57.5
55Bouffant57.5
56Bouffant57.5
57C'est Une Star55
58C'est Une Star56.5
59C'est Une Star56.5
60Donnstar64
61Jenny Kraig55.5
62Jenny Kraig56.5
63Jenny Kraig56.5
64Lofty58.5
65Lofty54.5
66Lofty56.5
67Captain Oumuamua57.5
68Shockova66
69Shockova68
70Shockova55.5
71Shadow Man58.5
72Beauty For Ashes56.5
73Beauty For Ashes54.5
74Beauty For Ashes54
75Apatchee Power56.5
76Apatchee Power52.5
77Apatchee Power56.5
78Bang Bang56.5
79C'est Une Star55
80C'est Une Star56.5
81C'est Une Star56.5
82Cinnamon Star56.5
83Jenny Kraig55.5
84Jenny Kraig56.5
85Jenny Kraig56.5
86Stormy's Secret56.5
87Stormy's Secret56.5
88Stormy's Secret56.5
89True North55.5
90Half Of Nothing54.5
91Half Of Nothing54.5
92Half Of Nothing54.5
93Perfectionist56.5
94Perfectionist55
95Perfectionist54.5
96She's Dashing57.5
97She's Dashing55.5
98She's Dashing56.5
99Bendermerry55.5
100Bendermerry54.5
101
Sheet4

[/CODE]

AltSort.xlsm
ABCDEFGH
1NameWeightNameWeight 1Weight 2Weight 3
2Double Happy58.5Double Happy58.55354.5
3Double Happy53Twin Spinner6355
4Double Happy54.5Charred5463.565.5
5Twin Spinner63La Casa56.55867
6Twin Spinner55Timberlake57.558.557.5
7Charred54Maestro Blu65.559.5
8Charred63.5O'Susana55.555.556
9Charred65.5Elle D'Berry5466.555
10La Casa56.5Tunzagutz545454.5
11La Casa58Renegade Fighter5451
12La Casa67Zenntari665656
13Timberlake57.5Poacher54.556.557.5
14Timberlake58.5Maitland55.5
15Timberlake57.5Brookbourne57.557.557.5
16Maestro Blu65.5Youknowhatimean55.555.558.5
17Maestro Blu59.5The Twinkling56.553.557.5
18O'Susana55.5Beauty For Ashes56.554.554
19O'Susana55.5Kiki56.556.557.5
20O'Susana56Glad All Over53.556.554.5
21Elle D'Berry54Bouffant57.557.557.5
22Elle D'Berry66.5C'est Une Star5556.556.5
23Elle D'Berry55Donnstar64
24Tunzagutz54Jenny Kraig55.556.556.5
25Tunzagutz54Lofty58.554.556.5
26Tunzagutz54.5Captain Oumuamua57.5
27Renegade Fighter54Shockova666855.5
28Renegade Fighter51Shadow Man58.5
29Zenntari66Apatchee Power56.552.556.5
30Zenntari56Bang Bang56.5
31Zenntari56Cinnamon Star56.5
32Poacher54.5Stormy's Secret56.556.556.5
33Poacher56.5True North55.5
34Poacher57.5Half Of Nothing54.554.554.5
35Maitland55.5Perfectionist56.55554.5
36Brookbourne57.5She's Dashing57.555.556.5
37Brookbourne57.5Bendermerry55.554.5
38Brookbourne57.5
39Youknowhatimean55.5
40Youknowhatimean55.5
41Youknowhatimean58.5
42The Twinkling56.5
43The Twinkling53.5
44The Twinkling57.5
45Beauty For Ashes56.5
46Beauty For Ashes54.5
47Beauty For Ashes54
48Kiki56.5
49Kiki56.5
50Kiki57.5
51Glad All Over53.5
52Glad All Over56.5
53Glad All Over54.5
54Bouffant57.5
55Bouffant57.5
56Bouffant57.5
57C'est Une Star55
58C'est Une Star56.5
59C'est Une Star56.5
60Donnstar64
61Jenny Kraig55.5
62Jenny Kraig56.5
63Jenny Kraig56.5
64Lofty58.5
65Lofty54.5
66Lofty56.5
67Captain Oumuamua57.5
68Shockova66
69Shockova68
70Shockova55.5
71Shadow Man58.5
72Beauty For Ashes56.5
73Beauty For Ashes54.5
74Beauty For Ashes54
75Apatchee Power56.5
76Apatchee Power52.5
77Apatchee Power56.5
78Bang Bang56.5
79C'est Une Star55
80C'est Une Star56.5
81C'est Une Star56.5
82Cinnamon Star56.5
83Jenny Kraig55.5
84Jenny Kraig56.5
85Jenny Kraig56.5
86Stormy's Secret56.5
87Stormy's Secret56.5
88Stormy's Secret56.5
89True North55.5
90Half Of Nothing54.5
91Half Of Nothing54.5
92Half Of Nothing54.5
93Perfectionist56.5
94Perfectionist55
95Perfectionist54.5
96She's Dashing57.5
97She's Dashing55.5
98She's Dashing56.5
99Bendermerry55.5
100Bendermerry54.5
101
Sheet4

[/QUOTE]

Hi JGordon11,

I figured out where to paste the code -> The Advance Editor :), but when I paste it and make sure that the Table number is the same, I only get null figures for the weights,

Any ideas?
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top