The first four characters (BARB) represents that it belongs to Bank of Baroda. The fifth character (0) is reserved for future use. The last 6 characters (SAMOGA) represents that it belongs to Smaogara Up branch in district Samner of Uttar Pradesh.
IFSC code (BARB0SAMOGA) can be found on the front page of the account holder's passbook or in cheque leaf. You can also verify the same by contacting bank authority of Bank of Baroda since data here could be outdated.
Smaogara Up branch of Bank of Baroda is in Uttar Pradesh state of India.
SAMOGARA, PO - SIRSA, TEHSIL - MEJA, DIST ALLAHABAD, UTTAR PRADESH - 212305