I am trying to modify a formula for use in VBA. The below worked great when all the values where on one sheet.
Original:
Now the values are one 2 sheets and need to be run using VBA.
The code above produces "No" values in all the cells that get the calculations and that should not be. In the attached spreadsheet after the classify macro is run and case 1 is selected in A2, the homopolymer column is populated with values (currently "No").
Using 43394861 (R6) should be 7G, but it is not.
The way it should work is Q6 or 1 is searched in the desired range of panel, then 43394861 (R6) is searched in the desired range of panel. Finally a vlookup is done on R6 and the result of that is what is outputted to cell AQ6.
Im not sure if the correct formula is being used in the VBA as it worked before. Thank you for any help.
Bookmarks