I am curious what will happen if you change to this
Refresh('List Name');
Switch(
Sum(AddColumns(Filter('List Name',Title=BarcodeScanner1.Value),"redeemed",1),redeemed),
0, Notify("Location not found",NotificationType.Error),
Set(varScannedItem;LookUp('List Name';Title=BarcodeScanner1.Value));
ResetForm(SharePointForm1);
EditForm(SharePointForm1)
)
You will need to change the punctuation to your regional ones, I tried typing yours to start but not sure difference between single and double ; so figured better to type the way I am sure of and let you fix