You would use the following query:
Select VoucherNo, Transaction,Amount
From Sheet1
Create a report based on the above query. Set up a group on VoucherNo, include both the header and footer for the group and include the sum of the amount field in the footer.
Now to show the report for only 1 voucherNo that you choose, create an unbound form with a combo box. Base the combo box's rowsource on the following query:
SELECT DISTINCT VoucherNo
FROM Sheet1
Include a button on the form. In the code behind the button, you can filter the report as follows (you will have to substitute your particular names below):
Code:
DoCmd.OpenReport "YourReportName", acViewPreview, , "[VoucherNo]=" & Me.comboboxname