Dear Excel Gurus,
I had created a simple macro with looping in columns C,D,E by formulas. In column H it returns "0" or "1" depends on 2 conditions in columns F,G. I tried my best here
Please help me to find value in column C, which is closest to "1" always IF in column H also "1". On next step just return corresponding value from column B.
Any optimizations and improvements to my code are only welcome. For me the best is to avoid additional columns F, G, H and have all calcs inside the code. (my file is attached)
I would be appreciate for any input. Thx.
Code:
![]()
Please Login or Register to view this content.
Bookmarks