Using a range of cells or numbers
I got frustrated working on the Palladium supernatural character stats setup, and figured the AD&D stat block may be simpler. More straight forward.
No.
I started with the Strength attribute. Here’s the table I worked up for that.
Same table, just pulled out of the book for contrast. As you can see, up until 18 it is in fact very straight forward. I was able to get the following to work just fine:
=IF($A$3,LOOKUP($A$3,Strength::A2:C11,Strength::D2:D11),"ERROR")
”ERROR” is there because I wasn’t sure if not having an “IF FALSE” reaction would gum up the works. However, if you roll an 18 for Strength there’s a chance to roll percentile dice to gain a higher strength score.
”…Furthermore, fighters with an 18strength are entitled to roll percentile dice in order to generate a random number between 01 and 00 (100) to determine exceptional strength; …” (TSR AD&D PH pg 9)
I’m trying to get it to display the EXCEPTIONAL STRENGTH bonuses if a second cell has a number in it. I’ve tried using LOOKUP, AND, OR and NOT. None worked.
By itself, this worked:=IF(B3<50,Strength::D12,"nil") but I can’t add it to the main cell. It also precludes the scores from 51 - 00.
As you can probably see, this one didn’t work at all: =IF(B3>50,LOOKUP(B3,Strength::A12:A15,OR(Strength::C12:C15),Strength::D13:D16),"nil")
I know I’ve already asked a lot here but I just can’t find anything online that has helped me figure this out for myself, and I’m still learning Numbers.
If you can help me out again, I’d appreciate it.