Urgent: need help with VBA

I have a list of about 5000 investors and need to create a new sheet with the names, contact info and description of the investors who have the keyword 'debt' in their description. How would I go about doing this?

18 Comments
 

My apologies, I should have been more specific...

These are the columns in the list I have: Column A (Firm Name) Column B (Location) Column C (Contacts) Column E (Phone) Column G (Email) Column J (Strategies)

I need to cut this list down based on two pieces of criteria 1) Column J must contain 'debt' and 2) Column B must contain specific (city name, country)...

My MD made it clear that he wanted a macro.

 

I don't even understand what you're asking anymore. You first asked about the word debt and now you're introducing another constraint about location. What is your constraint on location?

 

It will, but I imagine the point of the macro is to recreate this for similar reports. In which case, after you record, you need to edit the code any place you see VBA call out specific cells (such as vlookup down to B152). You would need to use something like this:

Dim LR As Long LR = ActiveSheet.UsedRange.Rows.Count Range("B2").AutoFill Destination:=Range("B2:B" & LR) End Sub

This will allow the code to work for any size spreadsheet, instead of whatever number of rows you record. If your MD doesn't need this work repeated, then he is a moron for asking for VBA

 

Eius a blanditiis laborum asperiores exercitationem quia velit. Provident quo explicabo ipsam beatae cupiditate.

Aliquam consequatur saepe repellat quia culpa deserunt corporis dolorem. Dignissimos error repudiandae quas quas velit ea. Est quaerat quis ut ex repellendus aliquam blanditiis. Eum magnam aspernatur consectetur omnis nulla assumenda sint voluptatem.

Officia a ipsum non et. Reiciendis est unde dolore maiores in pariatur. Eligendi aut aperiam placeat quae qui et unde. Quae eveniet voluptatem est ducimus aut debitis autem.

Dolor modi vitae voluptatem voluptas. Numquam voluptatem porro possimus. Architecto nostrum voluptatum sed iste nihil non.

Career Advancement Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • JPMorgan 01 98.4%
  • Guggenheim Partners 02 97.9%
  • Morgan Stanley 06 97.4%

Overall Employee Satisfaction

November 2026 Investment Banking

  • Moelis & Company No 99.5%
  • Morgan Stanley 02 99.0%
  • Evercore 01 98.4%
  • Banco Santander 02 97.9%
  • BMO Capital Markets 13 97.4%

Professional Growth Opportunities

November 2026 Investment Banking

  • Evercore 01 99.5%
  • Moelis & Company 01 99.0%
  • Morgan Stanley 05 98.4%
  • Goldman Sachs 01 97.9%
  • JPMorgan No 97.4%

Total Avg Compensation

November 2026 Investment Banking

  • Vice President (16) $429
  • Associates (57) $264
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (28) $184
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (84) $151
  • Intern/Summer Analyst (76) $101
notes
16 IB Interviews Notes

“... there’s no excuse to not take advantage of the resources out there available to you. Best value for your $ are the...”

Leaderboard

1
redever's picture
redever
99.2
2
BankonBanking's picture
BankonBanking
99.0
3
kanon's picture
kanon
99.0
4
Secyh62's picture
Secyh62
99.0
5
GameTheory's picture
GameTheory
98.9
6
DrApeman's picture
DrApeman
98.9
7
Betsy Massar's picture
Betsy Massar
98.9
8
dosk17's picture
dosk17
98.9
9
CompBanker's picture
CompBanker
98.9
10
bolo up's picture
bolo up
98.8
success
From 10 rejections to 1 dream investment banking internship

“... I believe it was the single biggest reason why I ended up with an offer...”