Hello claire15.
Thank you for joining us on the UK Community page for QuickBooks.
The best way to get this prior data - is to download a .csv of the transactions from your Online Banking; and upload this spreadsheet into the banking section using our upload function.
When you have downloaded the file from your bank, follow the instructions in this link to upload them to QuickBooks Online: https://quickbooks.intuit.com/learn-support/en-uk/banking/import-bank-transactions-using-excel-csv-f...
Please do not hesitate to comment if you have any problems with doing this.