Sector

Returns the sector classification for a company. Sectors are broad categories that group similar businesses together.

Common Sectors

Sector Examples
Technology AAPL, MSFT, GOOGL
Healthcare JNJ, UNH, PFE
Financial Services JPM, BAC, V
Consumer Cyclical AMZN, TSLA, HD
Consumer Defensive PG, KO, WMT
Communication Services META, NFLX, DIS
Industrials CAT, UPS, HON
Energy XOM, CVX, COP
Utilities NEE, DUK, SO
Real Estate AMT, PLD, SPG
Basic Materials LIN, APD, NEM

Sector vs Industry

  • Sector: Broad classification (e.g., Technology)
  • Industry: More specific (e.g., Consumer Electronics)

Syntax

=Sector(Symbol)
Excel Desktop (Windows)

Returns

string

Sector name (e.g., Technology, Healthcare)

Examples

=Sector("AAPL")
Returns "Technology"
=Sector("JPM")
Returns "Financial Services"
=Sector("JNJ")
Returns "Healthcare"
=Sector(A1)
Symbol from cell reference

When to Use

  • Categorizing stocks by sector
  • Building sector-weighted portfolios
  • Sector rotation strategies
  • Comparing companies in the same sector
  • Portfolio diversification analysis

When NOT to Use

Scenario Use Instead
Need specific industry Industry()
Need sub-industry sub_industry()
Need SIC classification SIC_code()
Need full company profile CompanyProfile()

Common Issues & FAQ

Why might Sector return "NA"?

This can happen for:

  • ETFs (use ETF-specific functions)
  • ADRs and foreign stocks
  • Very new listings
  • Invalid symbols

What classification system is used?

MarketXLS uses GICS (Global Industry Classification Standard) sectors, which is the most widely used system by institutional investors.

Can I get all stocks in a sector?

Use the MarketXLS Screener to filter by sector. Example: Screen for all Technology stocks.

Excel Templates Using Sector

Market data in your Excel sheets

1 billion usable data points on stocks, options, ETFs, and fundamentals, with simple Excel formulas.

See plans
MarketXLS Excel Add-in Tutorial - How to Use Sector and Other Financial Formulas
▶
How does MarketXLS work?

Related Functions