Hello all,
I've been searching around on this forum and others all afternoon and I can't seem to find a solution to my Excel woes.
I am trying to setup a column that will auto-populate with the cell address of any cells that match the given value within a set of rows and columns. These addresses will then (hopefully) be used to fill in some portions of existing and new formulas used in other parts of the document.
So, here's the basic layout of what I'm working with: C19:AB65 are filled out with one of the following four values: "Yes", "No", "Sometimes" and "N/A". I want to fill column D with the cell address of each instance of "Yes" (e.g. D1 would return "$A$5", D2 would return "$L$13", etc until all instances of "Yes" are accounted for). Column D will be printed as a reference to which instances were marked as "Yes" and (if I can work it out) to populate portions of other formulas on separate pages of the workbook. The former condition is actually more important in the short run and the latter would only be a handy addition down the road.
First and foremost, I know there are probably better ways to approach my goals, but I am inheriting the .xls from someone else and would prefer not to redo everything from the ground up.
I have been seeing a lot of examples combining ADDRESS and MATCH, but these all seem to only return the first instance, min instances or max instances. I need to catch all instances of the given value.
Anyway, I hope that I have made my issue clear (a day of excel tends to make my head feel a little mushy). I can create an example .xls, but the setup is actually pretty straight-forward, so I'll leave it with my example unless specifically requested.
Thanks much for any advice!
I'm using Windows XP and Excel 2007
Bookmarks