Good day, userkristiet048.
Yes, you can definitely use the Exclude function to remove the duplicate transactions in your bank feed. Here's how:
Just in case there's a transaction that was accidentally excluded, you can proceed to the Excluded tab. Then, click the Undo button under the Action column.
Let me also share this article with you just in case you will run into an error while uploading banking transactions: Fix Bank Upload Errors In QuickBooks Online.
Let me know if you need anything else.