I apologize in advanced if this has been asked before. I cannot find an answer no matter how hard I try.
I have a spread sheet with multiple sheets that contain columns pertaining to staff names and payroll numbers.
I have tried VLOOKUP with no success as the data is based off may unsorted lists and have formulas in place which make it impossible to continually sort and resort the data.
I am searching for a Marco/VBA code that will allow me to input either a name or payroll number from one sheet called (Lookup) and find this data in the sheet called (From Adobe) from either column B (Payroll Number) or C (Name). Each column has formulas to accurately retrieve the data from another sheet which I do not want to break. When the data is found I would like the entire row corresponding to either the Payroll Number or Name to be copied back onto the sheet (Lookup) in another row (row 10) so that it does not corrupt the search data. It needs to overwrite any data that is already there. Effectively giving the appearance of a VLOOKUP process.
The names are stored in one column as First Name then Surname with one space separating them, not multiple columns. If I could search via surname or first name or even a partial search rather than an exact search that would be ideal.
Either having a pop up screen asking for the data I am looking for or entering the search criteria into a cell (B4) on sheet (Lookup) is acceptable.
Thanks ahead of time.
Bookmarks