I’ve put together a table to track the success of some SEO efforts. For each row I’d like to compare the starting value with the most recent value. We update this table each week, so it’d be great if it could dynamically reference the last non-blank space.
I tried this with Vlookup and Hlookup, but they both seem to only want to work vertically down the column.
This is what I’ve got now, but again, it’s looking up values in the column instead of the row.
=VLOOKUP(C3+99,C5:C99,1)-C5
I’m new to this, so I’m feeling pretty lost.
2
Answers
Try VBA. It is good to learn, especially if you are doing any technical work (SEO results can be tricky to interpret).
Here is an idea of the logic you could use for your first relatively simple VBA program:
Try this:
CountA counts the number of non-empty spaces and offset retrieves a value from a specified number of cells away.