Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default merging information from partial duplicate rows

I have a spreadsheet with over 100,000 rows and need to condense this data.
I have multiple spellings of the same town, but the locatioin is identical.
What I have is this:

name / type / province/ country / lat / long / elev / pop /

belks / city / berg / afg / 36.25 / 72.45/ 1400 / 2300
belds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bolds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bends/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300

etc.
I would like to keep the different spellings but put that into one row in
excel. so that i had something like:

belks / belds / bolds / bends / city / berg / afg / 36.25 /
72.45/ 1400 / 2300

Thanks in advance for the help.

Todd
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default merging information from partial duplicate rows

Assuming that you had all the cities grouped together in adjacent rows, you
could enter a column at the end and have a formula that started each city
(there're a few ways to use filters to make this easier, but it's not a great
thing to have to copy this formula) with the following formula:

Assuming A1-A3 were the following:

Berg
Bergen
Bergensta

B1
B2 formula =B1&" / "&A2
B3 formula (drag down from B2) = B2&" / "&A3

This would give you a building list of cities, as you dragged it down. With
each break in city, however (which you'd have to use some human logic to be
able to determine, but this is where sorting/filtering, if you're good with
it, can help greatly), you'd have to start with the blank, and then use the
formula on the 2nd cell and down to the end of that city. Otherwise, you'd
have each city running onto the next, and building a long list of names.

Hope that makes sense.

--
Boris


"Todd" wrote:

I have a spreadsheet with over 100,000 rows and need to condense this data.
I have multiple spellings of the same town, but the locatioin is identical.
What I have is this:

name / type / province/ country / lat / long / elev / pop /

belks / city / berg / afg / 36.25 / 72.45/ 1400 / 2300
belds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bolds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bends/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300

etc.
I would like to keep the different spellings but put that into one row in
excel. so that i had something like:

belks / belds / bolds / bends / city / berg / afg / 36.25 /
72.45/ 1400 / 2300

Thanks in advance for the help.

Todd

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 177
Default merging information from partial duplicate rows

Boris, thanks for the reply.

That is the time intensive thing I was hoping to avoid, but it looks like I
might end up doing that anyways.

The real problem is that I have some records with 1 name, some with 2 some
with as many as 10 names.

And I was hoping that I could figure out a way to delete the duplicate
records once I've got them in a single row.


Todd
"BorisS" wrote:

Assuming that you had all the cities grouped together in adjacent rows, you
could enter a column at the end and have a formula that started each city
(there're a few ways to use filters to make this easier, but it's not a great
thing to have to copy this formula) with the following formula:

Assuming A1-A3 were the following:

Berg
Bergen
Bergensta

B1
B2 formula =B1&" / "&A2
B3 formula (drag down from B2) = B2&" / "&A3

This would give you a building list of cities, as you dragged it down. With
each break in city, however (which you'd have to use some human logic to be
able to determine, but this is where sorting/filtering, if you're good with
it, can help greatly), you'd have to start with the blank, and then use the
formula on the 2nd cell and down to the end of that city. Otherwise, you'd
have each city running onto the next, and building a long list of names.

Hope that makes sense.

--
Boris


"Todd" wrote:

I have a spreadsheet with over 100,000 rows and need to condense this data.
I have multiple spellings of the same town, but the locatioin is identical.
What I have is this:

name / type / province/ country / lat / long / elev / pop /

belks / city / berg / afg / 36.25 / 72.45/ 1400 / 2300
belds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bolds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bends/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300

etc.
I would like to keep the different spellings but put that into one row in
excel. so that i had something like:

belks / belds / bolds / bends / city / berg / afg / 36.25 /
72.45/ 1400 / 2300

Thanks in advance for the help.

Todd

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 191
Default merging information from partial duplicate rows

Sorry. Would likely require a bit of time put in. Happy to discuss doing
it, but hard to describe the different steps to go through that I'd consider
trying.
--
Boris


"Todd" wrote:

Boris, thanks for the reply.

That is the time intensive thing I was hoping to avoid, but it looks like I
might end up doing that anyways.

The real problem is that I have some records with 1 name, some with 2 some
with as many as 10 names.

And I was hoping that I could figure out a way to delete the duplicate
records once I've got them in a single row.


Todd
"BorisS" wrote:

Assuming that you had all the cities grouped together in adjacent rows, you
could enter a column at the end and have a formula that started each city
(there're a few ways to use filters to make this easier, but it's not a great
thing to have to copy this formula) with the following formula:

Assuming A1-A3 were the following:

Berg
Bergen
Bergensta

B1
B2 formula =B1&" / "&A2
B3 formula (drag down from B2) = B2&" / "&A3

This would give you a building list of cities, as you dragged it down. With
each break in city, however (which you'd have to use some human logic to be
able to determine, but this is where sorting/filtering, if you're good with
it, can help greatly), you'd have to start with the blank, and then use the
formula on the 2nd cell and down to the end of that city. Otherwise, you'd
have each city running onto the next, and building a long list of names.

Hope that makes sense.

--
Boris


"Todd" wrote:

I have a spreadsheet with over 100,000 rows and need to condense this data.
I have multiple spellings of the same town, but the locatioin is identical.
What I have is this:

name / type / province/ country / lat / long / elev / pop /

belks / city / berg / afg / 36.25 / 72.45/ 1400 / 2300
belds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bolds/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300
bends/ city / berg / afg / 36.25 / 72.45/ 1400 / 2300

etc.
I would like to keep the different spellings but put that into one row in
excel. so that i had something like:

belks / belds / bolds / bends / city / berg / afg / 36.25 /
72.45/ 1400 / 2300

Thanks in advance for the help.

Todd

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
Automate deleting duplicate rows CMIConnie Excel Discussion (Misc queries) 3 June 19th 06 04:51 PM
Eliminate Duplicate Rows - Add columns Accordingly meendar Excel Discussion (Misc queries) 1 April 11th 06 05:15 PM
resetting last cell jagdish.eashwar Excel Discussion (Misc queries) 11 March 31st 06 02:06 AM
Duplicate information Stephanie Excel Discussion (Misc queries) 1 March 31st 05 10:44 PM
Merging Two Rows Into One Ourania Excel Worksheet Functions 1 March 18th 05 10:07 AM


All times are GMT +1. The time now is 05:09 AM.

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

About Us

"It's about Microsoft Excel"