Auto-Sorting Based on New Input

CJoshuav

New Member
Joined
Jul 13, 2015
Messages
6
I have daisy-chained three spreadsheets together: Data Entry / Data Sorting / Data Crunching

In Data Entry someone enters date, time, and event information

In Data Sorting the event is assigned a number and then sorted, Descending, by date and then time.

In Data Crunching, all sorts of fun and creative things happen to the sorted data.

I'm using three sheets because I want to keep the data entry sheet unlocked for entry, and when I tried pulling it directly into the data crunching sheet and sorting I ended up shuffling all the formulas around. (If I were to hard-reference the formulas using $'s, I wouldn't be able to auto-populate the thousands of cells with click-dragging.) Sorting on one sheet and then pulling into the next for crunching has worked fine.

I have a two questions, that I'll number below.

1. I'd like to sort by one of two means:

- Every time new data is entered into 'Data Entry', have columns B through M on 'Data Sorting' sort by column B, descending. If possible, it would be great if they could then sort by Column C, but - as the numbers currently crunch - it shouldn't matter.

or

- Give the user a button they can push and sort everything, as above.

I would be enormously grateful for code for either scenario.


2. My next problem is that my 'Data Sorting' sheet for column B has the following for each cell:

=IF(ISBLANK('Data Entry'!B2),"",'Data Entry'!B2)

This was necessary because otherwise I ended up with a long list of January 1, 1900 because of the default 0 value in the cell.

All of my "" 's are getting sorted above the actual dates as a result. Is there a way to shove all the ""''s to the bottom of a Descending sort?

Thanks very much for your patience and help.
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying

Forum statistics

Threads
1,216,068
Messages
6,128,592
Members
449,460
Latest member
jgharbawi

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