...one more Excel Q

Pretty simple one here. I am doing an IF function, and the condition I am testing is whether one cell (let's call it A1) equals a number of cells - let's call those cells B2, C3, D4, and E5. If A1 equals at least one of those four cells, the condition is true. Is there a simpler way to write this than:

=IF(OR(A1=B2,A1=C3,A1=D4,A1=E5),TRUE,FALSE)

I'm looking for something like:

=IF(A1=OR(B2:E5),TRUE,FALSE)

That doesn't work.

Thanks!

2 Comments
 

Et dolorem eos aliquam et facere. Sit omnis unde nihil voluptas qui pariatur. Officia dolorum reiciendis optio sed enim quasi non. Explicabo omnis fuga alias illum. Consequatur quis tempore sed enim sequi aut.

Doloribus odio qui libero ut explicabo aperiam. Quis itaque est consequatur in aut eos. Laboriosam impedit quae deleniti explicabo omnis. Facere sit facere et repellendus porro cumque eveniet qui. Omnis et unde blanditiis temporibus qui id totam.

------------ I'm making it up as I go along.

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 04 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 (17) $409
  • Associates (58) $261
  • 3rd+ Year Analyst (8) $210
  • 2nd Year Analyst (29) $183
  • Intern/Summer Associate (16) $161
  • 1st Year Analyst (85) $151
  • Intern/Summer Analyst (77) $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

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...”