Quantcast
Channel: Hot Weekly Questions - Web Applications Stack Exchange
Viewing all articles
Browse latest Browse all 9782

Grabbing all values in certain column and row all the way down to end of a certain column and row

$
0
0

What I'm having trouble is grabbing all values in certain column and row all the way down to end of a certain column and row. I set up a drop-down list that I'm working with to incorporate with my tables.

Below is how sheet 1 looks like. Drop-down list is setup from range using data validation from sheet2

Drop-Down List1Drop-Down List2
name1name1
name2name2
name3name3
name4name4
GoldSilver
This will show the sum of drop-down list 1 and drop-down list 2This will show the sum of drop-down list 1 and drop-down list 2

I have two drop-down list that has value assigned in it which is referred to an array on another sheet.

Below is sheet 2 that has my data stored for sheet 1

NameSilverGoldIron
name1131190
name21133111
name342143
name4556299

This is very similar to what I have set up. So to explain what I want. What I want is to grab ALL data in each cell in a column between and with drop-down list 1 and drop-down list 2 value. For example under drop-down list 1, I select name2 and for drop-down list 2 I select name4. On sheet 1, Under GOLD header I want the sum of gold that get all data from name2 through name4, Which comes out to 60. 33 + 21 + 6. Should look something similar to this

Example 1: The top of this is drop down list value

name2name4
GoldSilverIron
6070453

Example 2: The top of this is drop down list value

name1name3
GoldSilverIron
6528244

What would be the best way to achieve this?


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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