Identify asset class by looking at ISIN

Can holdings in demat accounts be classified by asset class such as Equity, MF, Debt, Sovereign Gold Bond etc. in Excel using ISIN pattern matching?

I thought INE meant Equity but it doesn’t seem to be always so.