Urgent: MS Excel question
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
I have an excel document with about 16,000 lines of data. The problem is that the data is on every other line. Is there a fast way to get rid of all the blank lines?
Originally Posted by GIBSON6594
sort it?
but other than that
I know of no quick way in excel to do that.
I would convert it to csv file and then use grep -v to get rid of the blank lines.
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
Originally Posted by Beelzebub
Might work
but other than that
I know of no quick way in excel to do that.
I would convert it to csv file and then use grep -v to get rid of the blank lines.
but other than that
I know of no quick way in excel to do that.
I would convert it to csv file and then use grep -v to get rid of the blank lines.
Well
You need to have unix tools on your machine, or there might be a freeware grep utility out there.
convert to CSV as long as there isn't special formatting in the file you will be ok
grep , filename.csc > newfilename.csv
re-import back into excel.
You need to have unix tools on your machine, or there might be a freeware grep utility out there.
convert to CSV as long as there isn't special formatting in the file you will be ok
grep , filename.csc > newfilename.csv
re-import back into excel.
Trending Topics
Joined: May 2000
Posts: 27,921
Likes: 1,080
From: where the weather suits my clothes
If you want to keep the rows in the order they are in now (without the blank rows)
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
Originally Posted by NSXNEXT
If you want to keep the rows in the order they are in now (without the blank rows)
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
Originally Posted by NSXNEXT
If you want to keep the rows in the order they are in now (without the blank rows)
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
Add a new column A
Number it sequentially (1 - n)
Sort on column B
Now the the blank rows will be at the bottom (depending if you choose ascending or descending - doesn't really matter either way)
Delete blank rows
Resort by column A
Delete column A
Done
this method worked, thank you very much
but now I have another dilema...
I'm in MS Word, I imported that excel doc into mail merge, everything came out fine, and I have 291 pages of labels. Now my dilema is that I gotta insert "Queens, NY" into each label right before the zip code. Any fast way of doing that?
Joined: May 2000
Posts: 27,921
Likes: 1,080
From: where the weather suits my clothes
Originally Posted by AcuraKidd
AMAZING
this method worked, thank you very much
but now I have another dilema...
I'm in MS Word, I imported that excel doc into mail merge, everything came out fine, and I have 291 pages of labels. Now my dilema is that I gotta insert "Queens, NY" into each label right before the zip code. Any fast way of doing that?
this method worked, thank you very much
but now I have another dilema...
I'm in MS Word, I imported that excel doc into mail merge, everything came out fine, and I have 291 pages of labels. Now my dilema is that I gotta insert "Queens, NY" into each label right before the zip code. Any fast way of doing that?
Insert a new column?
You'll have to rerun the mail merge to grab the new column.
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
Originally Posted by #1 DOUCHER
find and replace zip code with queens ny + zip code?
Joined: May 2000
Posts: 27,921
Likes: 1,080
From: where the weather suits my clothes
Originally Posted by AcuraKidd
problem is that the zip code is on the same line with the address, cause in excel the zip was in the same column with the address
Redo the mail merge so the address is on one line and Queens and the zip is on the other.
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
what I did do far was go back to he excel doc and added a new column with Queens ,NY.
now when I crest a new mail merge, I insert all the fields, but when I try to insert the queens ny field between the address and zip, I hit the button to update all labels, and it doesnt include the queens ny field
what now??
now when I crest a new mail merge, I insert all the fields, but when I try to insert the queens ny field between the address and zip, I hit the button to update all labels, and it doesnt include the queens ny field
what now??
Originally Posted by AcuraKidd
right now thats not an option
Are you familiar with TEXTPAD (freeware, though if you look you can register it...)?
Using textpad you could do it 1 of 2 ways:
1) Block copy.
2) Find and Replace using Regular Expressions.
Split the current address into two cells:
That should give you the stree address in column B and the zip code in column C
Code:
A B C 1234 Main Street 01101 =(LEFT($A1,(LEN($A1)-6))) =(RIGHT($A1,5))
Thread Starter
The Talk of New York
iTrader: (1)
Joined: Jul 2006
Posts: 687
Likes: 0
From: Queens, NYC
Originally Posted by moeronn
Split the current address into two cells:
That should give you the stree address in column B and the zip code in column C
Code:
A B C 1234 Main Street 01101 =(LEFT($A1,(LEN($A1)-6))) =(RIGHT($A1,5))
thanks alot for all your help guys, you're the best
Originally Posted by #1 DOUCHER
Do people actually use access? I thought it wasn't that popular of a database program.
It handles much larger data sets than Excel, is consistent with types, and can of course do the relational database things that Excel can't.
Well I know it's better than excel but I mean compared to other db programs, is access the most popular? If so is that cause it's actually the best or because it comes with some versions of Office?
Originally Posted by #1 DOUCHER
Well I know it's better than excel but I mean compared to other db programs, is access the most popular? If so is that cause it's actually the best or because it comes with some versions of Office?
I don't know of another desktop relational database that is as easy to use, much less one that offers the integration with Office that Access has.
Note that I use it on my desktop for the relational engine, and never implement a GUI front end or any kind of multiuser access / security.
Originally Posted by AcuraKidd
I have an excel document with about 16,000 lines of data. The problem is that the data is on every other line. Is there a fast way to get rid of all the blank lines?
1. Highlight the affected area only
2. Click Edit > Go To
3. Click "Special" button
4. Tick "Blanks" and hit OK
5. You should see all the blank row highlighted now.
6. Edit > Delete > Shift cells up
7. Done. Blanks gone! Used this many times.
Thread
Thread Starter
Forum
Replies
Last Post
navtool.com
5G TLX Audio, Bluetooth, Electronics & Navigation
31
Nov 16, 2015 08:30 PM
navtool.com
1G RDX Audio, Bluetooth, Electronics & Navigation
1
Sep 25, 2015 05:15 PM
rboller
3G TL Audio, Bluetooth, Electronics & Navigation
0
Sep 23, 2015 02:49 PM











