Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Issues with Excel file sorting

I'm having an issue with Excel. I have an excel file which I failed to add
an "as entered" column to. Then I handed off the file to another user to
edit one of the columns (and fields in the column). Somehow various
sorts/filters done on the file ultimately changed the order of the file and I
can't get it back to the orginal order as entered.

Is there a way I can compare the initial file (which I saved off) and the
second file and get the second file reordered to the initial entered sequence?

Any help would be SOOOOO appreciated.

Thanks!

Jules
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Issues with Excel file sorting

Do you have a unique key that will appear in a single column in both worksheets?

If yes, then maybe...

You could add that column in the new file and put a formula like:

=match(x1,sheet2!x:x,0)

Where x holds the unique key in the new worksheet and sheet2 column X holds the
unique key in the old worksheet.

Then drag it down as far as you need.

The formula will return a number (the row number) of the first match (that's why
the matching value needs to be unique). If there is no match (new records???),
then you'll get an error returned.

Then sort by this column (and move the error rows to where you want them)


JulesB wrote:

I'm having an issue with Excel. I have an excel file which I failed to add
an "as entered" column to. Then I handed off the file to another user to
edit one of the columns (and fields in the column). Somehow various
sorts/filters done on the file ultimately changed the order of the file and I
can't get it back to the orginal order as entered.

Is there a way I can compare the initial file (which I saved off) and the
second file and get the second file reordered to the initial entered sequence?

Any help would be SOOOOO appreciated.

Thanks!

Jules


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5
Default Issues with Excel file sorting

Thanks Dave, I'll give this a try!

"Dave Peterson" wrote:

Do you have a unique key that will appear in a single column in both worksheets?

If yes, then maybe...

You could add that column in the new file and put a formula like:

=match(x1,sheet2!x:x,0)

Where x holds the unique key in the new worksheet and sheet2 column X holds the
unique key in the old worksheet.

Then drag it down as far as you need.

The formula will return a number (the row number) of the first match (that's why
the matching value needs to be unique). If there is no match (new records???),
then you'll get an error returned.

Then sort by this column (and move the error rows to where you want them)


JulesB wrote:

I'm having an issue with Excel. I have an excel file which I failed to add
an "as entered" column to. Then I handed off the file to another user to
edit one of the columns (and fields in the column). Somehow various
sorts/filters done on the file ultimately changed the order of the file and I
can't get it back to the orginal order as entered.

Is there a way I can compare the initial file (which I saved off) and the
second file and get the second file reordered to the initial entered sequence?

Any help would be SOOOOO appreciated.

Thanks!

Jules


--

Dave Peterson

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting Issues Blissfully Ignorant Excel Discussion (Misc queries) 3 October 27th 08 06:44 PM
Sorting issues Wereman Excel Discussion (Misc queries) 2 September 4th 08 04:10 PM
Sorting issues KKT Excel Worksheet Functions 2 June 16th 08 01:36 PM
Issues with opening DBF (dBase) file in Excel EuroMaverick Excel Discussion (Misc queries) 1 February 15th 06 04:15 PM
Issues with sorting Matthew McManus Excel Discussion (Misc queries) 1 June 29th 05 12:34 PM


All times are GMT +1. The time now is 10:32 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"