• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:28
CEST 03:28
KST 10:28
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S Season 1 - RO8 Preview3[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event11Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced9
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
GSL Code S Season 1 (2026) Sparkling Tuna Cup - Weekly Open Tournament RSL Revival: Season 5 - Qualifiers and Main Event StarCraft Evolution League (SC Evo Biweekly) 2026 GSL Season 2 Qualifiers
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ (Spoiler) Asl ro8 D winner interview BW General Discussion Do we have a pimpest plays list? AI Question
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Stormgate/Frost Giant Megathread OutLive 25 (RTS Game) Daigo vs Menard Best of 10
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1799 users

Excel Pros Please Help! - Page 3

Blogs > Golgotha
Post a Reply
Prev 1 2 3 All
josemb40
Profile Blog Joined March 2009
Peru611 Posts
December 15 2011 21:23 GMT
#41
Concatenate the values with '&' and then check if there are any duplicates
wiiiiiiiiiiiiiiiii
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 21:25 GMT
#42
and make sure you read through this:

http://www.wallst-training.com/WST_Excel_Shortcuts.pdf

It will make you look like a pro if you ever do a live demo of anything excel related. The goal here is to do everything without using a mouse.
bellweather
Profile Blog Joined April 2009
United States404 Posts
Last Edited: 2011-12-16 02:57:36
December 16 2011 02:56 GMT
#43
Not testing this code, but you said you have some experience with VBA so I'm assuming you can edit appropriately. Sort first, then run.

Sub combineDuplicates()

For i = 2 to ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastCell).Row
If Cells(i,2).Value = Cells(i-1,2).Value And Cells(i,3).Value = Cells(i-1,3).Value And Cells(i,4).Value=Cells(i-1,4).Value Then

For j = 4 to ActiveSheet.UsedRange.SpecialCells(xlCellTypeLastCell).Column
Cells(i-1,j) = Cells(i-1,j).Value & ";" & Cells(i,j).Value
Next j

Cells(i,j).EntireRow.Delete
i = i-1
Next i

End Sub

This is assuming column 2,3,4 are your name identifiers and anything after are things that should be concatenated.

edit: and yes I know this code is weak super lame for you VBA'ers out there, but deal with it
A mathematician is a blind man in a dark room looking for a black cat which isnt' there. -Charles Darwin
endy
Profile Blog Joined May 2009
Switzerland8970 Posts
December 16 2011 03:08 GMT
#44
You don't even need VBA. There is a built-in function called "remove duplicates" that does exactly what you need.

Select your 6000 as well as the columns name, cell, address. Click on the Excel tab "Data". Then click on the icon "Remove Duplicates". And voilà.
ॐ
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
Last Edited: 2011-12-16 03:41:52
December 16 2011 03:40 GMT
#45
If you have that many columns, I don't think you can take any shortcuts...
Only way I can think of right now is
1) sort
2) concatenate the first and last name into a column at the end, say Z
3) for row i, declare a dynamic array of size (countif(Z: Z ,Zi), original # of columns)
4) have a function that looks at each entry starting from row i to row i + countif(Z: Z, Zi) -1 and appends to the dynamic array if it isn't in the array already
5) paste the dynamic array with a function that automatically inserts a separator between each entry and doesn't put in blanks
6) i=i+countif(Z: Z, Zi) and repeat
Official Entusman #21
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
Last Edited: 2011-12-16 17:34:09
December 16 2011 17:32 GMT
#46
On December 16 2011 04:49 infinity21 wrote:
1) Sort
2) Remove duplicates
3) Add a column with the function =COUNTIF(A:A,A2) where 2 is the row number
4) Filter for the new column for values >=2
If there's entries for 3+ phone numbers, you're going to have to append the numbers to a different column
If you're lucky and there's only a few rows with >=2 phone #s, then you can do it manually without having to code in VBA.

Show nested quote +
On December 16 2011 04:45 MisterD wrote:
set up a mysql database with phpmyadmin, export table as csv, import table in phpmyadmin, do your modifications through SQL queries, export as csv, import to excel sheet. If you are familiar with mysql/phpmyadmin, that's probably the easiest way if it's just a one time deal. If either of these conditions is false though, ignore this post

I don't think someone who doesn't know VBA would know SQL lol


well -- i do? the "new gen" university software developers around here are all java grown. with the advancement of mac and linux on personal use computers, there's no point in even trying to use a microsoft language during education. SQL however is pretty much the first thing in any database lecture. so there's a whole bunch of people who are this way.

though you are probably correct with your assumption "out in the market", where microsoft languages are a lot more popular due to their legacy.
Gold isn't everything in life... you need wood, too!
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
December 16 2011 18:44 GMT
#47
On December 17 2011 02:32 MisterD wrote:
Show nested quote +
On December 16 2011 04:49 infinity21 wrote:
1) Sort
2) Remove duplicates
3) Add a column with the function =COUNTIF(A:A,A2) where 2 is the row number
4) Filter for the new column for values >=2
If there's entries for 3+ phone numbers, you're going to have to append the numbers to a different column
If you're lucky and there's only a few rows with >=2 phone #s, then you can do it manually without having to code in VBA.

On December 16 2011 04:45 MisterD wrote:
set up a mysql database with phpmyadmin, export table as csv, import table in phpmyadmin, do your modifications through SQL queries, export as csv, import to excel sheet. If you are familiar with mysql/phpmyadmin, that's probably the easiest way if it's just a one time deal. If either of these conditions is false though, ignore this post

I don't think someone who doesn't know VBA would know SQL lol


well -- i do? the "new gen" university software developers around here are all java grown. with the advancement of mac and linux on personal use computers, there's no point in even trying to use a microsoft language during education. SQL however is pretty much the first thing in any database lecture. so there's a whole bunch of people who are this way.

though you are probably correct with your assumption "out in the market", where microsoft languages are a lot more popular due to their legacy.

Yeah I was referring more to the workplace. People who knows SQL are business analysts or database administrators (generalizing here obv) so they usually have some programming skills like Java, C++, etc. And imo if you know how to program in either one of those two, you can pick up VBA in a couple of hours which has been the case for me at least. Not to say that there are zero jobs that require SQL and no VBA, but those are more of the exceptions.
Official Entusman #21
Prev 1 2 3 All
Please log in or register to reply.
Live Events Refresh
Next event in 8h 3m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft409
SpeCial 74
Temp0 26
RuFF_SC2 15
StarCraft: Brood War
GuemChi 6001
Artosis 650
Dota 2
monkeys_forever553
Counter-Strike
tarik_tv4951
taco 656
Super Smash Bros
hungrybox525
Other Games
summit1g7748
Liquid`RaSZi1560
C9.Mang0635
shahzam451
ViBE98
Maynarde91
Organizations
Other Games
gamesdonequick1053
BasetradeTV483
Dota 2
PGL Dota 2 - Main Stream34
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 10 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
GSL
8h 3m
SHIN vs Zoun
ByuN vs herO
OSC
9h 33m
OSC
11h 33m
Replay Cast
22h 33m
Escore
1d 8h
The PondCast
1d 8h
WardiTV Invitational
1d 9h
Zoun vs Ryung
Lambo vs ShoWTimE
Big Brain Bouts
1d 14h
Fjant vs Bly
Serral vs Shameless
OSC
1d 20h
Replay Cast
1d 22h
[ Show More ]
CranKy Ducklings
2 days
RSL Revival
2 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
2 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
2 days
BSL
2 days
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
2 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
3 days
BSL
3 days
Dewalt vs DragOn
Aether vs Jimin
GSL
4 days
Afreeca Starleague
4 days
Soma vs Leta
Monday Night Weeklies
4 days
CranKy Ducklings
5 days
Afreeca Starleague
5 days
Light vs Flash
Replay Cast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-05-05
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.