Sorting data column wise

chiswickbridge

Board Regular
Joined
Feb 2, 2013
Messages
127
I have a database with the following...


Total Rows 101 and columns as dynamic...


Cells A1 and B1 is Text ( as header ), C1 to Z1 is date in dd-mm-yyyy format


Data in ColA is Text
Data in ColB is Text
Data in ColC is Numerals


The database is as follows...


A2 to B101 is Static and never changes...


The input starts with date in C1 and numerals in C2:C101.
Next day it starts in D1 and so on till Z1 and further.


The problem is that the input is not always in chronological order.


I need to streamline the project....by sorting C1 to about BZ1..in ascending order...with the subsequent data below...


That is, C1 will be the oldest date and and BZ1 or later will be the latest date ( say today )..


Thanks
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Finding it difficult to visualise what the data looks like and also how it should end up :confused:
- please provide some sample values

Before sorting
Q1 What is in C1:G1
Q2 What is in each cell
C2:G2
C3:G3
C4:G4

After sorting
Q3 What is in C1:G1
Q4 What is in each cell
C2:G2
C3:G3
C4:G4

Excel 2016 (Windows) 32 bit
A
B
C
D
E
F
G
1
Text AText BNumeralsDate1Date2Date3Date4
2
Text A-1Text B-1
3
Text A-2Text B-2
4
Text A-3Text B-3
Sheet: Sheet1
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,585
Messages
6,120,391
Members
448,957
Latest member
Hat4Life

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