Hello everyone.
I'm trying to write a macro that will go to a cell in a specific column based on one of three values.
I have a column (L) with a formula in each cell, starting on L3, which compares values of six cells, in pairs on the same row.
The number of rows changes from time to time, growing or shrinking.
=IF(E402=M402,IF(F402=N402,IF(G402=O402,"","W"),"H"),"M")
The macro I want should find any one of these three values, W, H, or M, and go to that cell, regardless of which it finds first.
Basically, I want it to go to the next "error", since these values reflect differences in the comparisons.
I tried the following code, but it only works for one of the criteria; I don't want to write three separate macros
and I don't know how to make an "or" statement... "find W or H or M and go there"
Thank you, in advance, for any and all help, ideas, suggestions, etc. provided.Please Login or Register to view this content.
Cheers,
Alphonse
Moderators note: code tags added for you - this time
Bookmarks