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

Expanding reference range of formulas which operate on a "database" when more items (rows, columns) are added to the database (tricks?, no VBA)

$
0
0

I included possible solutions to this problem below, however I'm hoping that perhaps somebody knows other ways and/or some neat tricks to achieve this.

1) Say we have a simple "database" in excel (as in the screenshot below).

2) Say we have formulas which operate on this entire range, like for example the VLOOKUP function in the screenshot.

3)Now obviously, if we added more rows to this "database" the existing VLOOKUP function will NOT include them - it will still operate only on the previously declared range.

enter image description here

Possible solutions:

1) One could obviously solve this problem with a VBA macro, however I would like to consider solving this with just the Excel formulas/features

2) One could use the range for the entire sheet in the original VLOOKUP i.e. $B$2:$D$1048576 and include a function not to take blank cells into consideration

Do you know any other solutions or neat tricks?

Thank you in Advance!

Danny


Viewing all articles
Browse latest Browse all 88054

Trending Articles



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