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

I have a named range on google sheet and I want to access the informations in it from a different sheet with if condition

$
0
0

Let's say I have 2 sheets. One with character stats and one with the tables for the character data.

One sheet is called "Character" and it has 4 columns of data: Level, Class, HP and Mana.

IJKL
 1 LevelClassHPMana
21Warrior(depending on the level, it select the appropriate row)(depending on the level, it select the appropriate row)
32Rogue(depending on the level, it select the appropriate row)(depending on the level, it select the appropriate row)
48Mage(depending on the level, it select the appropriate row)(depending on the level, it select the appropriate row)

The Class is manually specified, but then I want to access the data from another sheet, depending on the chosen Class.

The other sheet is called "Stats". The data is laid out as follows:

ABC
1
2LevelHPMana
32040
43050
5etcetcetc

In Stats I have created named ranges for HP and Mana.

I want to use Level from Character to return the correct HP or Mana value that is listed for that level in Stats


Viewing all articles
Browse latest Browse all 9782

Trending Articles



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