Copy data if lookup exists

Hi, so what I’m trying to do is to lookup my “Name” column with the name i keyed into my input dialogue(Name variable), and if it exists, i want to then do something with the data. If it doesn’t, i want to skip the entire activity and move on to my next activity. There may be multiple records for me to lookup so i need to be able to deal with all the records that coincide with my Name variable. Can anyone guide me through this? I’ve only started uipath yesterday so I am really confused

Sorry if i missed out, but it’s to be referenced from an excel spreadsheet. Also, i have tried the if function, and placed the continue activity into else, but it just seems to load for a long time and end the process, even though there are records coinciding with my Name variable.