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
-
Flash Drive Eject Error for Still In Use
by
J9438
27 minutes ago -
Windows 11 Insider Preview build 27863 released to Canary
by
joep517
16 hours, 57 minutes ago -
Windows 11 Insider Preview build 26120.4161 (24H2) released to BETA
by
joep517
16 hours, 59 minutes ago -
AI model turns to blackmail when engineers try to take it offline
by
Cybertooth
9 hours, 43 minutes ago -
Migrate off MS365 to Apple Products
by
dmt_3904
1 hour, 9 minutes ago -
Login screen icon
by
CWBillow
4 minutes ago -
AI coming to everything
by
Susan Bradley
17 hours, 8 minutes ago -
Mozilla : Pocket shuts down July 8, 2025, Fakespot shuts down on July 1, 2025
by
Alex5723
1 day, 8 hours ago -
No Screen TurnOff???
by
CWBillow
1 day, 8 hours ago -
Identify a dynamic range to then be used in another formula
by
BigDaddy07
1 day, 9 hours ago -
InfoStealer Malware Data Breach Exposed 184 Million Logins and Passwords
by
Alex5723
1 day, 21 hours ago -
How well does your browser block trackers?
by
n0ads
1 day, 7 hours ago -
You can’t handle me
by
Susan Bradley
7 hours, 24 minutes ago -
Chrome Can Now Change Your Weak Passwords for You
by
Alex5723
1 day ago -
Microsoft: Over 394,000 Windows PCs infected by Lumma malware, affects Chrome..
by
Alex5723
2 days, 8 hours ago -
Signal vs Microsoft’s Recall ; By Default, Signal Doesn’t Recall
by
Alex5723
1 day, 12 hours ago -
Internet Archive : This is where all of The Internet is stored
by
Alex5723
2 days, 8 hours ago -
iPhone 7 Plus and the iPhone 8 on Vantage list
by
Alex5723
2 days, 9 hours ago -
Lumma malware takedown
by
EyesOnWindows
1 day, 21 hours ago -
“kill switches” found in Chinese made power inverters
by
Alex5723
2 days, 17 hours ago -
Windows 11 – InControl vs pausing Windows updates
by
Kathy Stevens
2 days, 17 hours ago -
Meet Gemini in Chrome
by
Alex5723
2 days, 21 hours ago -
DuckDuckGo’s Duck.ai added GPT-4o mini
by
Alex5723
2 days, 21 hours ago -
Trump signs Take It Down Act
by
Alex5723
3 days, 5 hours ago -
Do you have a maintenance window?
by
Susan Bradley
1 day, 10 hours ago -
Freshly discovered bug in OpenPGP.js undermines whole point of encrypted comms
by
Nibbled To Death By Ducks
2 days, 8 hours ago -
Cox Communications and Charter Communications to merge
by
not so anon
3 days, 9 hours ago -
Help with WD usb driver on Windows 11
by
Tex265
20 hours, 24 minutes ago -
hibernate activation
by
e_belmont
3 days, 18 hours ago -
Red Hat Enterprise Linux 10 with AI assistant
by
Alex5723
3 days, 21 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.