Confused why sort will not work

ginotx

New Member
Joined
Dec 13, 2023
Messages
18
Office Version
  1. 365
Platform
  1. Windows
  2. MacOS
I have cut the following table down to size to show here. I have three different sets of data combined here prior to using a "=unique" code and "sumif" to combine the data onto a new tab. For some reason I am unable to sort this data by code or plant name.

Wholesale Sales Combined from SBI2 working 0304.xlsx
ABCDEFGHI
1CODEPLANT NAMESIZE# Sold '23 Land# Sold '23 WholSales # 2022Sales # 2023READYGROWING
253046502Amelanchier 'Autumn Brilliance' #15 Tree Form3
370004489Amelanchier 'Autumn Brilliance' #10 Multi-stem1
455110459Arctostaphylos uva-ursi 'Massachusetts' # 1202
553010146Berberis thunbergii 'Atropurpurea' # 53
653110276Berberis thunbergii 'Crimson Pygmy' # 3196
753143605Berberis thunbergii 'Helmond Pillar' # 33
853144919Berberis thunbergii 'Orange Rocket' # 35
953010148Berberis thunbergii 'Rose Glow' # 597
1053010149Berberis thunbergii 'Rose Glow' # 314
1153144734Berberis Thunbergii Concorde # 5158
1253144883Buddleia davidii 'Asian Moon' # 5130
1353145405Buddleia davidii 'Buzz Hot Raspberry' # 16
1453146436Buddleia davidii 'Buzz Hot Raspberry' # 517
1553046502Amelanchier 'Autumn Brilliance' #15 Tree Form25
1655110459Arctostaphylos uva-ursi 'Massachusetts' # 121
1753010146Berberis thunbergii 'Atropurpurea' # 55
1853110276Berberis thunbergii 'Crimson Pygmy' # 386
1953144919Berberis thunbergii 'Orange Rocket' # 3 / # 520
2053010149Berberis thunbergii 'Rose Glow' # 3 / # 5164
2153144733Berberis thunbergii Concorde # 3 / # 526
2253144883Buddleia davidii 'Asian Moon' # 598
2353145217Buddleia davidii 'Asian Moon' # 112
2453146436Buddleia davidii 'Buzz Hot Raspberry' # 529
2553145405Buddleia davidii 'Buzz Hot Raspberry' # 115
2653146057Buddleia davidii 'Buzz Magenta' # 110
2753046234Amelanchier 'Autumn Brilliance'# 7 Multi-stem17000
2870004970Amelanchier 'Autumn Brilliance'# 7 Multi-stem3000
2970004489Amelanchier 'Autumn Brilliance'#10 Multi-stem29000
3053046502Amelanchier 'Autumn Brilliance'#15 Tree Form57300
3155110459Arctostaphylos uva-ursi 'Massachusetts'# 1620933750
3253010146Berberis thunbergii 'Atropurpurea'# 52312360750
3353110276Berberis thunbergii 'Crimson Pygmy'# 384094622272
3470005166Berberis thunbergii 'Crimson Pygmy' 2 1/4" Rose Pot0001100
3553143605Berberis thunbergii 'Helmond Pillar'# 3760350
3670004805Berberis thunbergii 'Kobold'# 52505123
3770004266Berberis thunbergii 'Kobold'# 36801000
3853144919Berberis thunbergii 'Orange Rocket'# 3306413210
3953145151Berberis thunbergii 'Orange Rocket'# 5540074
4070005165Berberis thunbergii 'Orange Rocket' 2 1/4" Rose Pot000120
4153010148Berberis thunbergii 'Rose Glow'# 56258158714
4253010149Berberis thunbergii 'Rose Glow'# 310841158136
4353145232Berberis thunbergii 'Rose Glow' 2 1/4" Rose Pot000750
4453144733Berberis thunbergii Concorde# 35002540
4553144734Berberis Thunbergii Concorde# 54950040
4653144883Buddleia davidii 'Asian Moon'# 5806199155225
4753145217Buddleia davidii 'Asian Moon'# 116100
4853146436Buddleia davidii 'Buzz Hot Raspberry'# 525674177216
4953146927Buddleia davidii 'Buzz Hot Raspberry'2 1/4" Rose Pot001000
5053145405Buddleia davidii 'Buzz Hot Raspberry'# 125000
5153146440Buddleia davidii 'Buzz Magenta'# 5000225
5253146057Buddleia davidii 'Buzz Magenta'# 138400
5353146058Buddleia davidii 'Buzz Purple'# 11600244
5453146437Buddleia davidii 'Buzz Sky Blue'# 50200
combined raw partial
 

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
How are you trying to sort the data?
By formula or with the sort option on the data tab?
 
Upvote 0
How are you trying to sort the data?
By formula or with the sort option on the data tab?
I am trying to sort by the Data Sort Tab-Data>Sort>code and plant name.

I have used this method on other sales item categories, but for some reason this file is not working.
Whatever the problem is, it is also affecting following tabs where I use "unique" to narrow down rows of duplicate codes. Unique is not working. I am at the point of deleting the file and starting over because i suspect some sort of corruption in the file.
 
Upvote 0
You cannot use the sort option on the data tab to sort a spill range.
If you need it sorted you will have to use the SORT function.
 
Upvote 0
You cannot use the sort option on the data tab to sort a spill range.
If you need it sorted you will have to use the SORT function.
I believe I understand your response. I think I need to rephrase my answer then.

This is the sort I do before using the "unique" and "sumif" I sort here to do a visual check of all codes and names in the event someone created a new container size that did not conform to the format they should have used. (someone keeps adding #3/#5 rather than just one size). After the sort, I then use another tab for the formulas.
 
Upvote 0
In what way doesn't the sort work?
 
Upvote 0
In what way doesn't the sort work?
it will not sort in any way. The rows stay in the same order as shown.The same three groups stay separated as shown in the data uploaded.

I can not sort it by code or by name so that the same codes or names are together.
I would hope to sort it so that row 6,18 and 33 are all together as an example. They have the same code and name.
 
Upvote 0
Is the data you posted the result of a formula?
 
Upvote 0
Is the data you posted the result of a formula?
No, I cut and pasted from three other tabs of raw data.
I had to add columns to two of the sets of data to separate their unique data from being in the same column as other data from the last set. That is the blank spaces in some of the columns, these are true blanks rather than "Blank if zero" setting.
 
Upvote 0
In that case I can't think of any reason why you can't sort it.
Can you upload the workbook to a share site such as OneDrive, GoogleDrive, DropBox & mark for sharing. Then paste the link your given to the thread.
 
Upvote 0

Forum statistics

Threads
1,215,086
Messages
6,123,038
Members
449,092
Latest member
ikke

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