In Excel, if Sheet1 A1 contains B2
then in Sheet1 =INDIRECT("Sheet2!"&A1)
will return the contents of Sheet2!B2.
In Google Docs spreadsheet, if Sheet1 E1 contains 4
then in Sheet1 =Indirect("Sheet2!E"&E1)
will return the contents of Sheet2 Cell E4.