I have attached a workbook that has some data in AS5 the number 2 currently occupies that cell. I need a way to have whatever number is in AS5 be compared to D5,E5 and F5. If in this example the number 2 (AS5) is also in either D5, E5 or F5, then vba needs to look down thru row 14 of D:F and if there are additional 2's found in any row, then extract the numbers next to (in this example) the number 2 and deliver the results back over to column AS where the number 2 (AS5) is currently occupying and display in AS8 and below, (AS9, AS10, AS11,etc). You hopefully will be clear on my expected result when you review the attached spread sheet. If that function can be accomplished, i would love for it to be able to perform the same analysis and extracted results across the entire column range of AR5:Bi5 and AR6:Bi6. You may ask why did I point direction to AS5 (#2)? simply because it has a number in the cell and the ones next to it are blank so just thought it would be easier to get a positive result.
Another anticipated question from you might be what is the status of D5:F14? those numbers will be changing every day.... Also the numbers in AR5:Bi5 & AR6:Bi6 will change daily as well. So at some point soon, the AS5 (#2) might be blank tomorrow so if the vba sees the cell does not have a number in it, then just ignore it until a number finally does occupy that cell again.
Gosh I hope at least some of that made a little sense.... I sure appreciate any help or suggestions!
Bookmarks