Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2012, 07:48 PM
Spideriffic's Avatar
Spideriffic Spideriffic is offline Simple Excel sort did not work correctly Windows 7 32bit Simple Excel sort did not work correctly Office 2010 32bit
Novice
Simple Excel sort did not work correctly
 
Join Date: Dec 2011
Location: Plainview, NY
Posts: 4
Spideriffic is on a distinguished road
Default Simple Excel sort did not work correctly

Hello,

I am using Microsoft Office Home and Student 2010 version 14.0.6123.5001 (32 bit Dell computer running Windows 7). I have a simple worksheet with data about my customers - first name, last name, phone, email, amount paid, etc. Each line represents one customer and all of his or her information. I entered data in no particular order, and then attempted to sort the data by last name. I did this by clicking on the top cell in the last name column, then I clicked on "Sort and Filter", then "Sort A to Z". I have successfully used this technique in the past to sort a worksheet successfully. It would cause the entire line to move to a different order, and each customer's data stayed together. However, recently I tried to do this, and only some of the columns sorted correctly. In other words, data from one customer ended up on a different customer's line. What a mess! This is taking me hours to manually straighten it out. I realize that I could have hit undo and straightened it out in one second, but I didn't notice the problem until much later after lots of new data had been entered.

I'm trying to determine what I did wrong so that the error will never happen again. I'm wondering if it has something to do with column filters being used during the sort. If my data was filtered, for example, only showing customers from a particular area code, would that mess up the sort? Or, does having some merged cells in the worksheet, or hidden columns, affect the sorting process? Does the correct technique to sort the entire sheet involve highlighting an entire column, or the entire sheet?

I realize that this is "Excel 101", but I've never had this problem before and I hope that someone here can advise me.



Thanks very much!
Reply With Quote
  #2  
Old 09-06-2012, 04:40 AM
OTPM OTPM is offline Simple Excel sort did not work correctly Windows 7 32bit Simple Excel sort did not work correctly Office 2010 32bit
Expert
 
Join Date: Apr 2011
Location: West Midlands
Posts: 981
OTPM is on a distinguished road
Default Data Sorting

Hi
Your issue may be something to do with where you got your data from.
You may have "white spaces" at the beginning of your fields etc.
Try copying your data into a Word table first and turn on the "Show/Hide" button. This will show you whether you have strange characters wrapped around your data, which you can then remove before copying it back to Excel.
Hope this helps.
If not and you can post a sample I will take a look for you and advise further.
Good luck.
Tony
Reply With Quote
Reply

Tags
hidden, sort



Similar Threads
Thread Thread Starter Forum Replies Last Post
Simple Excel sort did not work correctly Is this sort of pivot possible in the Excel? Jamal NUMAN Excel 4 02-14-2012 02:48 PM
Simple Excel sort did not work correctly Excel not entering numbers correctly weety Excel 2 06-29-2011 01:07 AM
simple code doesn't work help piper7971 PowerPoint 2 08-19-2010 08:15 AM
Why wont my simple formulae work? Florish Excel 4 02-17-2009 07:33 AM
Office2003 won't work correctly for non-admin when logged on ob Office 1 08-16-2006 02:41 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:39 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft