I have data I need to manipulate. It comes from MaintenceMate V5.1 is converted to a .csv file then a routine run to make it a .xls file (in Excel 2k). Back when I was first assigned the task, I was to order things by column A in alphabetical order. I did and it only moved column A leaving B through G as imported. There are over 625 rows of data. I need to get column A back in line with the rest of the data then re alphabetize.
Help!
I will attach both files if requested.
Thanks a Million.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
MisAligned .CSV conversion
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » MisAligned .CSV conversion
- This topic has 18 replies, 4 voices, and was last updated 23 years, 11 months ago.
AuthorTopicWSKentWard
AskWoody LoungerJune 12, 2001 at 3:55 pm #356932Viewing 0 reply threadsAuthorReplies-
WSHans Pottel
AskWoody Lounger -
WSKentWard
AskWoody LoungerJune 12, 2001 at 4:14 pm #529227 -
WSHans Pottel
AskWoody Lounger -
WSKentWard
AskWoody LoungerJune 12, 2001 at 5:11 pm #529232I have re-imported. Apparently when I saved the file, whatever VB code that organized it in the first place was altered. The code is in the XLS file, it somehow does a import from .csv conversion. I know no VB (strange that I have been in computers sine ’82 and still know no VB [ I am a hardware guy]).
-
H. Legare Coleman
AskWoody PlusJune 12, 2001 at 5:27 pm #529235Did you by any chance save the sorted file back to the .CSV file so that now the .CSV file has the incorrect data in it?
Sorting and then saving the .XLS file would not have changed the VBA code. If it is not doing things correctly, then you have incorrect data comming in, the code is operating incorrectly because of the data that is in the sheet, or something else has modified the code.
If you sorted the data and then saved the file, there really is no way to get the original order back if you don’t have a backup.
-
WSKentWard
AskWoody LoungerJune 12, 2001 at 5:51 pm #529237When I open the .CSV file it appears in order. The way I can tell the data is messed up is the reference in the .XLT file. The .CSV data is “Pure” the .XLS data in column A looks like this {=IF (NOT(ISBLANK(mold_loc.csv!I47)),TEXT(Mold_loc.csv!I47,””),””)} and the data in column B looks like this {=mold_loc.csv!J82} column D through G are similar to A but have the location as _82 where _ is K to O accordingly. I have added the {} for you.
-
H. Legare Coleman
AskWoody PlusJune 12, 2001 at 6:15 pm #529243OK, if you sorted a column with formulas, there is no way I know of to get that column back in the original order except to manually recreate it. In addition, it looks like those formulas reference cells on another sheet and probably in another workbook. The last time I tried sorting data that contained relative formulas referencing cells on other sheets, I ended up with a mess. I am not sure what Excel did with the formulas, but I did not get what I expected.
-
WSKentWard
AskWoody Lounger
-
-
WSWebGenii
AskWoody Lounger -
WSHans Pottel
AskWoody Lounger -
WSKentWard
AskWoody Lounger -
WSKentWard
AskWoody LoungerJune 12, 2001 at 5:56 pm #529238The formulas in the .XLT that convert from the .CSV
Column A’s formula =IF(NOT(ISBLANK(mold_loc.csvI47)),TEXT(Mold_loc.csv!I47,””),””)
Columm B’s formula =mold_loc.csv!J82
Column C’s formula =IF(NOT(ISBLANK(mold_loc.csvK82)),TEXT(Mold_loc.csv!K82,””),””)
Column D’s Formula =IF(NOT(ISBLANK(mold_loc.csvL82)),TEXT(Mold_loc.csv!L82,””),””)
with columns E to G being the same sequence.
-
WSKentWard
AskWoody Lounger -
WSHans Pottel
AskWoody LoungerJune 12, 2001 at 6:22 pm #529245Maybe there is no code. Therefore, you have to see if there is a module in the VBAproject – Mod_Loc.csv or Mod_loc.xls – and then select ‘code’. If there is no code, the formulas in the template are doing the job. This looks as a real puzzle: what is special about the cells A47 and A82?
-
WSKentWard
AskWoody LoungerJune 12, 2001 at 6:29 pm #529247I could find no module so the formulas must be doing the work. As to why they dont line up? As Redmond! the formulas and Data are not so special they are the ‘rack location’ of molds so the mold changers know wher to look for them. the next columns are ‘mold number’, ‘customer’, ‘customer part number’, ‘propery part number, and ‘description’.
-
WSKentWard
AskWoody Lounger -
WSHans Pottel
AskWoody LoungerJune 12, 2001 at 6:42 pm #529249Did you ever try to copy the contents (only the values, using paste special >> values) of the cells and then reorder them? Or did you reorder the original formulas (not the values or content of the cells) in the template and saved it as a template, that is, did you overwrite the original template after ordering it in the wrong way? In that case, Legare is right, there is no way to get the original order back in place.
-
WSKentWard
AskWoody LoungerJune 12, 2001 at 7:15 pm #529257
-
-
-
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Convert PowerPoint presentation to Impress
by
RetiredGeek
2 hours, 3 minutes ago -
Debian 12.11 released
by
Alex5723
6 hours, 47 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
10 hours, 28 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
7 hours, 58 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
6 hours, 56 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
1 day, 3 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
17 hours, 48 minutes ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 6 hours ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
22 hours, 19 minutes ago -
Some advice for managing my wireless internet gateway
by
LHiggins
5 hours, 52 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
1 day ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
1 day, 15 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
1 day, 11 hours ago -
Does windows update component store “self heal”?
by
Mike Cross
1 day, 1 hour ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days, 5 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
13 hours, 27 minutes ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
2 hours, 5 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days, 8 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days, 8 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
1 day, 20 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
2 days, 16 hours ago -
0Patch, where to begin
by
cassel23
2 days, 10 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 days, 5 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
2 days, 17 hours ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 days, 14 hours ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 days, 5 hours ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
7 hours, 41 minutes ago -
Installer program can’t read my registry
by
Peobody
1 hour, 8 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
3 days, 3 hours ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
3 days, 10 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.