Excel Sort Question

Atif

New Member
Joined
Jan 29, 2008
Messages
15
Is it possible to Sort excel in multiple columns when there is a formula in each column's cell?

I was trying to Sort using Data >Sort and noticed that when I chose column Sort by - Column C it doesn't change other cells (ex. A, B, D & E) accordingly.

Please note - Cell A contains Name like "Morningside" and others cells contains formula based numbers.

When I remove formula using Paste values then my sorting works.

Any suggestion how can I sort keeping all formulas in each cell.

I am using Excel 2013.

Thanks.
 
Last edited by a moderator:

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
One option - use VBA to mirror whatever works manually

Do all this in VBA
- paste the required values into "NEW" temporary column immediately to the right of your data
- ensure sort includes original table and new column(s)
- sort data based on new column(s)
- delete temporary column(s)

Your formulas determine what needs to be done to make this work and whether it can be done in one step or a series of steps, but if you can do it manually, then I would expect VBA can be used to automate the process.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,818
Messages
6,181,152
Members
453,021
Latest member
Justyna P

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