Hi all!
Really stuck with something on a project we're putting together and hoping you guys can help, i'm by no means an excel/VBA expert and if this can be done using formula then i apologise for the post in this area.
So the sheet we have has a ton of columns, we're interested in having 2 search cells on a sheet away from our raw data sheet(same workbook) where 2 strings can be entered and if found, have the entire matched rows copied from the raw sheet to a new sheet.
It seems simple enough at first but whats getting me stuck is that the data from either user input can be found in either column.
So for example, the user may input "Water" in one search box and "Bottle" in the other. I need to find a way to search through columns A and B in the entire data sheet and find rows where Water AND Bottle are found on the same row in either column and either order (Water | Bottle or Bottle | Water) and return the rows onto a new sheet. Moving the data to make it easier isn't an option unfortunately
The extracted data rows would look like:
Water | Bottle | Other Data
Bottle | Water | Other Data
Bottle | Water | Other Data
Water | Bottle | Other Data
Im absolutely stuck, my google skills have failed me and im hoping you ladies and gents may have a solution. I've looked (briefly) to see if this has been asked before and couldn't find anything.
Any help is much appreciated.
Thanks,
Matt.
*Edited to clarify certain points
Bookmarks