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 (RAMPUR) represents that it belongs to Rampur U P branch in district Rampur of Uttar Pradesh.
IFSC code (BARB0RAMPUR) 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.
Rampur U P branch of Bank of Baroda is in Uttar Pradesh state of India.
CIVIL LINES, RAMPUR, UP 244901