Finance/Compliance Consultant
75870 Points
Posted on 06 November 2026
The 4th character of a PAN identifies the holder type. A formula covering all types (PAN in A2):
=IFERROR(INDEX({"Individual","Company","HUF","Firm/LLP","AOP","Trust","BOI","Local Authority","Artificial Juridical Person","Government"},MATCH(MID(UPPER(A2),4,1),{"P","C","H","F","A","T","B","L","J","G"},0)),"Invalid PAN")
For only the two types asked:
=IF(MID(A2,4,1)="P","Person",IF(MID(A2,4,1)="C","Company","Other"))
To validate the PAN format (5 letters, 4 digits, 1 letter) as well, in Excel 365:
=AND(LEN(A2)=10,ISNUMBER(--MID(A2,6,4)),SUMPRODUCT(--ISNUMBER(--MID(A2,{1,2,3,4,5,10},1)))=0)
Practical use: the type drives TDS rates (194C 1% for P/H, 2% for others) and the Sec 206AB/206AA checks.