Hello all,
I've been trying to figure out this problem for some time. I have a workbook, with a worksheet that theoretically would look like this:
Capture.JPG
On the other worksheets, I would like each sheet to be for a particular division and list all the rows for that particular division. For example, there would be a sheet for 'Finance' that would automatically search for finance division cells and enter all the data for those rows
First row: 1, Bob, Finance;
Second Row: 3, Adam, Finance
This document would be a fluid document, where names can be removed and changed, and regardless of what names are entered, or how many, the code will still search for the entries listed with the correct division.
I first assumed I could use VLOOKUP for this, but because there will be repeat values I would not be able to use that since it would only look for the first value in the list and stop there. I found a tutorial that allows me to use the INDEX, SMALL, IF and ROW functions to find the value within a particular cell in the same range, but I'm not sure how to make it give me the whole row and not a corresponding cell within the same one. (https://fiveminutelessons.com/learn-...le-values-list).
I think I can even figure out how to get rid of null values, but I can't figure out what the basic code would be for pulling information. Any suggestions?
Thank you
Bookmarks