Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 88054

Looping a formula VBS

$
0
0

Sorry if this has been posted before but really scratching my head on this one.

I have an excel formula such as below which is in cell O14, which I want to loop down until the text in the cell in the column prior (Column "N") is blank.

"=IF(RC[-10]=""AUCKLAND"",VLOOKUP(RC[-7]&RC[-6]&RC[-10],export!R2C1:R500C14,14,FALSE),VLOOKUP(RC[-7]&RC[-6]&RC[-10],export!R2C1:R500C13,13,FALSE))"

Does that make sense? So as an example I want this formula to keep going down until the cell to the left of it is blank.

Please let me know if there is any solution on this.

Cheers Joey


Viewing all articles
Browse latest Browse all 88054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>