• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:29
CET 19:29
KST 03:29
  • 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
RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
ComeBackTV's documentary on Byun's Career !8Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win4Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump1Weekly Cups (Nov 24-30): MaxPax, Clem, herO win2BGE Stara Zagora 2026 announced15
StarCraft 2
General
When will we find out if there are more tournament ComeBackTV's documentary on Byun's Career ! Weekly Cups (Dec 8-14): MaxPax, Clem, Cure win RSL Revival - 2025 Season Finals Preview Weekly Cups (Dec 1-7): Clem doubles, Solar gets over the hump
Tourneys
$5,000+ WardiTV 2025 Championship RSL Offline Finals Info - Dec 13 and 14! Master Swan Open (Global Bronze-Master 2) Winter Warp Gate Amateur Showdown #1: Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 504 Retribution Mutation # 503 Fowl Play Mutation # 502 Negative Reinforcement Mutation # 501 Price of Progress
Brood War
General
How Rain Became ProGamer in Just 3 Months BGH Auto Balance -> http://bghmmr.eu/ FlaSh on: Biggest Problem With SnOw's Playstyle screp: Command line app to parse SC rep files [BSL21] RO8 Bracket & Prediction Contest
Tourneys
Small VOD Thread 2.0 [Megathread] Daily Proleagues [BSL21] WB SEMIFINALS - Saturday 21:00 CET [BSL21] RO8 - Day 2 - Sunday 21:00 CET
Strategy
Game Theory for Starcraft Current Meta Simple Questions, Simple Answers Fighting Spirit mining rates
Other Games
General Games
PC Games Sales Thread Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
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
Mafia Game Mode Feedback/Ideas Survivor II: The Amazon Sengoku Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI YouTube Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Movie Discussion!
Sports
2024 - 2026 Football Thread Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
TL+ Announced Where to ask questions and add stream?
Blogs
The (Hidden) Drug Problem in…
TrAiDoS
I decided to write a webnov…
DjKniteX
James Bond movies ranking - pa…
Topin
Thanks for the RSL
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1898 users

Excel Pros Please Help! - Page 2

Blogs > Golgotha
Post a Reply
Prev 1 2 3 Next All
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 19:37 GMT
#21
Macros are basically VBA code that are recorded through user interactions with Excel. If you find yourself repeating the same action multiple times, you can write a macro and loop through it to simplify the work.
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 19:39 GMT
#22
On December 16 2011 04:36 mrafaeldie12 wrote:
for(int i = 0;i<cells.length();i++){
for(int j=0;j<cells.length();j++){
if(name[i].trim() == name[j].trim() && phone[i].trim() == phone[j].trim()){
//delete the row corresponding to name[j]
}
}
}

I don't know how to make macros in excel but I hope that helps


Your inner loop should be for(int j = i+1;...) not j=0, using it as it is is gonna remove every entry.
OpticalShot
Profile Blog Joined October 2009
Canada6330 Posts
December 15 2011 19:41 GMT
#23
You can learn macros from just simply:
1) start recording
2) do the action you want to do
3) stop recording
4) check macro

Alternatively, you can google for similar macros and you'll find a few good ones.
[TLMS] REBOOT
MisterD
Profile Blog Joined June 2010
Germany1338 Posts
December 15 2011 19:45 GMT
#24
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
Gold isn't everything in life... you need wood, too!
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
Last Edited: 2011-12-15 19:55:11
December 15 2011 19:49 GMT
#25
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
Official Entusman #21
MoreFaSho
Profile Blog Joined May 2010
United States1427 Posts
Last Edited: 2011-12-15 20:00:52
December 15 2011 19:59 GMT
#26
Does it have to be in excel? I often combine excel with some really light python scripting and it's ridiculously to do things like this. Put the data in a text file:

file = open(filename)
people = {}

for line in file:
person, number = line.split()
if person not in people.keys():
people[person] = {}
people[person][number] = 0 # I'm just being lazy with sets

for person in people.keys():
res = "person"
for number in person[people].keys():
res += "\t%s" % number
print res


Just pipe that out into a csv and you can copy right back into excel, ezpz.

edit: damnit, it's not preserving my spacing, but if you quote my post it shows the spacing.
I always try to shield slam face, just to make sure it doesnt work
zeks
Profile Blog Joined September 2007
Canada1068 Posts
December 15 2011 19:59 GMT
#27
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


Me until this work term bahaha
- Richie
"Two roads diverged in a wood, and I-- I took the one less traveled by, And that has made all the difference."
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 20:00 GMT
#28
I'd also read this:
http://en.wikipedia.org/wiki/Pivot_table
Golgotha
Profile Blog Joined January 2011
Korea (South)8418 Posts
Last Edited: 2011-12-15 20:06:38
December 15 2011 20:03 GMT
#29
Thanks guys, I feel like I have a direction now. If I uploaded the same file but with fake information (I cannot upload actual contact information), could you guys write a macro for it so I can see what you guys did for this specific problem? I can write macros for other simple functions but the ones listed here are over my head.

edit: it will just be a small part of the info, to keep things simple.
Chill
Profile Blog Joined January 2005
Calgary25990 Posts
December 15 2011 20:08 GMT
#30
Your best bet is to use "Record Macro". Do something basic that you need to know the code for. Stop the macro. Press alt 11. Open the macro you just recorded. Steal the code. Put it into your code.

Repeat.
Moderator
infinity21 *
Profile Blog Joined October 2006
Canada6683 Posts
December 15 2011 20:10 GMT
#31
On December 16 2011 04:59 zeks 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


Me until this work term bahaha
- Richie

haha <3

On December 16 2011 05:03 Golgotha wrote:
Thanks guys, I feel like I have a direction now. If I uploaded the same file but with fake information (I cannot upload actual contact information), could you guys write a macro for it so I can see what you guys did for this specific problem? I can write macros for other simple functions but the ones listed here are over my head.

edit: it will just be a small part of the info, to keep things simple.

Try what I wrote and if you get a reasonable number of rows (~100?) with 2+ phone numbers, I suggest just doing it manually.
If it turns out that there's 500+, post a fake file here and I'll help you out after I'm done with my exam tonight. I'm strangely helpful during exam times...
Official Entusman #21
goldrush
Profile Blog Joined June 2004
Canada709 Posts
Last Edited: 2011-12-15 20:38:05
December 15 2011 20:36 GMT
#32
edit: nevermind, you need it done a different way
Golgotha
Profile Blog Joined January 2011
Korea (South)8418 Posts
Last Edited: 2011-12-15 21:01:42
December 15 2011 20:56 GMT
#33
Excel File:
http://www.mediafire.com/?jzzta80m4t973fg

I took the original file and cut it down a bunch and changed all the names. But the template we used to map the fields are all the same!

Some of the fields have nothing in them but that is how it really is; the whole project was a bit messy.

In this example there is only one person who is a duplicate. Before I delete the duplicate, I must combine all the other information listed under his name from both rows into one. For example: We can see that he works for two different companies, University of Polo and The Jukebox. I want to combine them both into one field before I delete the duplicate. So in the end the finished part should look something like this:
http://i.imgur.com/uT1Qr.png

I hope this more clearly presents what I am trying to do. Thank you! I am hoping I can learn how to automate this process, otherwise I will just do everything manually. But please I don't fancy going over a 6,000 person list
myzael
Profile Blog Joined November 2008
Poland605 Posts
December 15 2011 21:00 GMT
#34
On December 16 2011 04:59 MoreFaSho wrote:
file = open(filename)
people = {}

for line in file:
person, number = line.split()
if person not in people.keys():
people[person] = {}
people[person][number] = 0 # I'm just being lazy with sets

for person in people.keys():
res = "person"
for number in person[people].keys():
res += "\t%s" % number
print res


I was going to recommend python too, but you were faster. Also, [ code] tag is available on TL
MaRiNe23
Profile Blog Joined December 2006
United States747 Posts
Last Edited: 2011-12-15 21:02:29
December 15 2011 21:01 GMT
#35
It's SO ironic that I was going to create a thread about Excel yesterday but thought it would get closed so I hope the OP doesn't mind me asking this question here but I just finished a course in VBA programming this semester and was wondering if I could put on my resume that I am proficient in excel or is the "programming" side of excel different from what they need in an office. I see so many times in job descriptions of clerical jobs that they want someone who is proficient in word,excel blah blah but for excel I'm guessing they are stricly talking about working with spreadsheets and not the coding aspect of it?
We have competitive ladder, strong community, progaming in Korea going strong, perfectly balanced game..why do we need sc2? #1 ANTI-SC2 fan
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 21:10 GMT
#36
On December 16 2011 06:01 MaRiNe23 wrote:
It's SO ironic that I was going to create a thread about Excel yesterday but thought it would get closed so I hope the OP doesn't mind me asking this question here but I just finished a course in VBA programming this semester and was wondering if I could put on my resume that I am proficient in excel or is the "programming" side of excel different from what they need in an office. I see so many times in job descriptions of clerical jobs that they want someone who is proficient in word,excel blah blah but for excel I'm guessing they are stricly talking about working with spreadsheets and not the coding aspect of it?


Proficiency in excel does not mean VBA. If you know how to work a pivot table you should be able to put both Excel and VBA on your resume with no problem.
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 21:11 GMT
#37
I always wondered what it means to be proficient in Word though...
MaRiNe23
Profile Blog Joined December 2006
United States747 Posts
December 15 2011 21:20 GMT
#38
On December 16 2011 06:10 Glacierz wrote:
Show nested quote +
On December 16 2011 06:01 MaRiNe23 wrote:
It's SO ironic that I was going to create a thread about Excel yesterday but thought it would get closed so I hope the OP doesn't mind me asking this question here but I just finished a course in VBA programming this semester and was wondering if I could put on my resume that I am proficient in excel or is the "programming" side of excel different from what they need in an office. I see so many times in job descriptions of clerical jobs that they want someone who is proficient in word,excel blah blah but for excel I'm guessing they are stricly talking about working with spreadsheets and not the coding aspect of it?


Proficiency in excel does not mean VBA. If you know how to work a pivot table you should be able to put both Excel and VBA on your resume with no problem.

If I learn that through google or youtube do you think I'll be okay to put it on my resume then? Because I know this guy on youtube "excelisfun" who has like 10 billion youtube videos about excel. I think I can find out how to work a pivot table from one of those vids and worth it to learn if it'll allow me to put those two on my resume..
We have competitive ladder, strong community, progaming in Korea going strong, perfectly balanced game..why do we need sc2? #1 ANTI-SC2 fan
Bauzzy
Profile Blog Joined January 2011
Canada72 Posts
December 15 2011 21:20 GMT
#39
On December 16 2011 06:10 Glacierz wrote:
Show nested quote +
On December 16 2011 06:01 MaRiNe23 wrote:
It's SO ironic that I was going to create a thread about Excel yesterday but thought it would get closed so I hope the OP doesn't mind me asking this question here but I just finished a course in VBA programming this semester and was wondering if I could put on my resume that I am proficient in excel or is the "programming" side of excel different from what they need in an office. I see so many times in job descriptions of clerical jobs that they want someone who is proficient in word,excel blah blah but for excel I'm guessing they are stricly talking about working with spreadsheets and not the coding aspect of it?


Proficiency in excel does not mean VBA. If you know how to work a pivot table you should be able to put both Excel and VBA on your resume with no problem.



I agree with Glacierz. - put both and put more than proficient. That is such a resume buzz word that someone may just assume you know how to use excel, but not know VBA or more. If you get an interview definitely describe how progaming (gramming) can help their department. I work in accounting and in the first year here took a lot of the tasks they gave me and halved the time previously spent on it. Office environments need excel programmers, they just don't know they do (maybe not full time, but they should be talking to consultants). Good luck
Glacierz
Profile Blog Joined May 2010
United States1245 Posts
December 15 2011 21:23 GMT
#40
On December 16 2011 06:20 MaRiNe23 wrote:
Show nested quote +
On December 16 2011 06:10 Glacierz wrote:
On December 16 2011 06:01 MaRiNe23 wrote:
It's SO ironic that I was going to create a thread about Excel yesterday but thought it would get closed so I hope the OP doesn't mind me asking this question here but I just finished a course in VBA programming this semester and was wondering if I could put on my resume that I am proficient in excel or is the "programming" side of excel different from what they need in an office. I see so many times in job descriptions of clerical jobs that they want someone who is proficient in word,excel blah blah but for excel I'm guessing they are stricly talking about working with spreadsheets and not the coding aspect of it?


Proficiency in excel does not mean VBA. If you know how to work a pivot table you should be able to put both Excel and VBA on your resume with no problem.

If I learn that through google or youtube do you think I'll be okay to put it on my resume then? Because I know this guy on youtube "excelisfun" who has like 10 billion youtube videos about excel. I think I can find out how to work a pivot table from one of those vids and worth it to learn if it'll allow me to put those two on my resume..


That's fine. MS office products do not require actual courses to master (maybe VBA would be the only exception). Just google whatever you need to learn. I put pivot table out there because that's as far as any job would require when Excel is listed as a pre-req. I'd look through a curriculum, and stop after pivot tables.
Prev 1 2 3 Next All
Please log in or register to reply.
Live Events Refresh
Big Brain Bouts
17:00
#102
YoungYakov vs JumyLIVE!
TriGGeR vs Spirit
RotterdaM711
IndyStarCraft 298
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 703
Lowko465
IndyStarCraft 295
SteadfastSC 140
mouzStarbuck 61
BRAT_OK 51
ProTech40
MindelVK 28
DivinesiaTV 17
StarCraft: Brood War
Britney 17606
Rain 1978
Bisu 1869
Shuttle 347
Larva 184
Mini 110
firebathero 108
Dewaltoss 104
BeSt 91
Hyun 87
[ Show more ]
Mind 85
Zeus 65
Killer 62
Aegong 51
ggaemo 45
JYJ 42
Mong 28
910 26
sorry 20
GoRush 15
soO 15
ajuk12(nOOB) 14
Shinee 14
SilentControl 13
JulyZerg 12
Sacsri 12
Dota 2
Gorgc6122
singsing3724
qojqva3020
LuMiX0
Counter-Strike
fl0m295
byalli179
Foxcn118
Other Games
FrodaN1126
KnowMe101
C9.Mang089
Trikslyr57
Chillindude33
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota245
League of Legends
• Nemesis3658
• TFBlade307
Other Games
• imaqtpie586
• Shiphtur112
• tFFMrPink 17
Upcoming Events
The PiG Daily
2h 31m
SHIN vs ByuN
Reynor vs Classic
TBD vs herO
Maru vs SHIN
TBD vs Classic
CranKy Ducklings
15h 31m
WardiTV 2025
16h 31m
Reynor vs MaxPax
SHIN vs TBD
Solar vs herO
Classic vs TBD
SC Evo League
18h 1m
Ladder Legends
1d
BSL 21
1d 1h
Sziky vs Dewalt
eOnzErG vs Cross
Sparkling Tuna Cup
1d 15h
Ladder Legends
1d 22h
BSL 21
2 days
StRyKeR vs TBD
Bonyth vs TBD
Replay Cast
2 days
[ Show More ]
Wardi Open
2 days
Monday Night Weeklies
2 days
WardiTV Invitational
4 days
Replay Cast
5 days
WardiTV Invitational
5 days
ByuN vs Solar
Clem vs Classic
Cure vs herO
Reynor vs MaxPax
Liquipedia Results

Completed

Acropolis #4 - TS3
RSL Offline Finals
Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
Slon Tour Season 2
CSL Season 19: Qualifier 1
WardiTV 2025
META Madness #9
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22

Upcoming

CSL Season 19: Qualifier 2
CSL 2025 WINTER (S19)
BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Big Gabe Cup #3
OSC Championship Season 13
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
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 © 2025 TLnet. All Rights Reserved.