10 lists to select from only populated data

Tsinja

New Member
Joined
May 5, 2020
Messages
3
Office Version
  1. 365
Platform
  1. Windows
I have a problem that I don't know if its possible or not. so im a big Gamer and trying to see if i can build a spreadsheet to see the best things to equip.
so my values that i want to populate my spread sheet is from: 10 different lists each list contains
10 rows
5 columns
so based upon 3 criteria(level 1-10, where to put item on body, type of item) that is selected to tell which list to use, row and column.
then retrieve info(not all cells contain data) and populate the spreadsheet for said criteria.

The problem I have using If/And formulas is there are too many in-bedded. Also not sure how to keep using same cells in spread sheet
for the different queries i do.
 

Attachments

  • Data.gif
    Data.gif
    14 KB · Views: 9
  • speadsheet.gif
    speadsheet.gif
    32.8 KB · Views: 7

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
Welcome to the Forum!

Have at look at the INDEX/MATCH construction ...

You'll need your formula to MATCH:

1. The column headers: Cloth Hood, Leather Cap, Steel Helmet ...
2. The row headers 1, 2, 3 ... for the levels.

If your MATCH() on row headers for level 2, say, returns row R, then
- Health for Level 2 will also be on Row R
- Damage for Level 2 will be on Row R+1
- Armor% for Level 2 will be on row R+2
... etc

I recommend you install the XL2BB add-in: XL2BB - Excel Range to BBCode
This will allow you to post screenshots that others can easily copy, i.e. rather than pictures.
 
Upvote 0
I have never used those before and when looking them up just confused me more.
I have used the XL2BB this time hope it helps


WORLD SEED.xlsx
ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1LEVELArmorItemLevelsStatsCloth HoodLeather CapSteel HelmetTribal Head GearBerards Helmet
21HeadCloth Hood1Health
3HEADDamage
4Armor%3.0%6.0%10.0%5.0%8.0%
5HealthDamage Armor %3.0%Block Chance % Dodge Chance %5.0%Initiative5.0Durability Crit Chance % Crit Damage % Armor Penetration Block Chance %-2.0%1.0%
6CHESTDodge Chance %5.0%-2.0%
7Initiative5.0-5.0
8HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationDurability10.0
9HANDCrit Chance %
10Crit Damage %
11HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationArmor Penitration
12BOOTSCloth Hood 2
132Health
14HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationDamage
15SHIELDSarmor%3.5%6.5%10.5%5.5%8.5%
16Block Chance %-2.0%1.0%
17HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurability Crit Chance %Crit Damage %Armor PenetrationDodge Chance %5.0%-2.0%
18TROPHYinitiative5-5.0
19Durability10.0
20HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationCrit Chance %
21Weopon 1Crit Damage %
22Armor Penitration
23HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationCloth Hood 3
24Weopon 23Health
25Damage
26HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor Penetrationarmor%4.0%7.0%11.0%6.0%9.0%
27Total Health0.0%Total DamageTotal Armor %3.0%Total Block Chance Total Dodge Chance5.0%Initiative5.0Durability Total Crit Chance Total Crit Damage Total Penitration Block Chance %-2.0%1.0%
28Dodge Chance %5.0%-2.0%
29initiative5-5.0
30Durability10
311HeadChestHandBootsShieldsGemsOrbsTrophyCrit Chance %
322Bernards HelmetChestCloth MittensCloth BootsAegisAmarineCrushingBerryCrit Damage %
333Cloth HoodCloth RobeIngas GlovesLeather BootsBloks ShellAmethystDrainingBoneArmor Penitration
344Leather CapIshans CurseLeather GlovesSteel GreavesIdolinaDiamondFreezingCollarCloth Hood 4
355Steel HelmetLeather HarnessSteel GauntletsTribal StompersMoon ShieldEmeraldScorchingDeadwood4Health
366Tribal HeadgearSteel CuriassTribal WristbandsWyns WalkersShieldsOnyxFrost ScaleDamage
377Tidens KappaOpalGinsingarmor%4.5%7.5%11.5%6.5%9.5%
388Tribal ChestguardPearlHideBlock Chance %-2.0%1.0%
399RubyHornDodge Chance %5.0%-2.0%
4010SaphireIce Cubeinitiative5-5.0
41TopazJawDurability10
42PeltCrit Chance %
43PincerCrit Damage %
44ScaleArmor Penitration
45Shard5Cloth Hood 5
46SkinHealth
47SkullDamage
48Stingarmor%5.0%8.0%12.0%7.0%10.0%
49SulfurBlock Chance %-2.0%1.0%
50TailDodge Chance %5.0%-2.0%
51Taloninitiative5-5.0
52ThornDurability10.0%
53TongueCrit Chance %
54TuskCrit Damage %
55TwigArmor Penitration
56Void Globe6Cloth Hood 6
World Seed
Cell Formulas
RangeFormula
E5E5=IF(AND(B2=1,D2="Head",F2="Cloth Hood"),IF(Y3=0,"",Y3))
G5G5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y4=0,"",Y4))
I5I5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y5=0,"",Y5))
K5K5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y6=0,"",Y6))
M5M5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y7=0,"",Y7))
O5O5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y8=0,"",Y8))
Q5Q5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y9=0,"",Y9))
S5S5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y10=0,"",Y10))
U5U5=IF(AND(B2=1,D2="HEAD",F2="Cloth Hood"),IF(Y11=0,"",Y11))
O17O17=IF(H1=1,#REF!,IF(H1=2,#REF!,IF(H1=3,#REF!,IF(H1=4,#REF!,IF(H1=5,#REF!,IF(H1=6,#REF!,IF(H1=7,#REF!,IF(H1=8,#REF!,IF(H1=9,#REF!,IF(H1=10,#REF!, ""))))))))))
C27C27=SUM(C8,C11,C14,C17,C20,C23,C26)
G27,K27,I27G27=IF(SUM(G8,G11,G14,G5,G20,G23,G26)=0,"",SUM(G8,G11,G14,G5,G20,G23,G26))
M27,O27M27=IF(SUM(M5,M8,M11,M14,M17,M20,M23,M26)=0,"",SUM(M5,M8,M11,M14,M17,M20,M23,M26))
Q27,U27,S27Q27=IF(SUM(Q8,Q11,Q14,Q17,Q20,Q23,Q26)=0,"",SUM(Q8,Q11,Q14,Q17,Q20,Q23,Q26))
Cells with Data Validation
CellAllowCriteria
B2List=$A$31:$A$40
D2List=$B$31:$I$31
F2List=$B$32:$B$40
 
Upvote 0
Here's one way you could do this. I have used helper cells for the row and column match, but these could be rolled into one formula.

The approach can easily be extended to include other tables, i.e. for Chest, Hand, Boots, ...

ABCDEFGHIJKLMNOPQRSTUVWXYZAAABAC
1LEVELArmorItemMyRowMyColLevelsStatsCloth HoodLeather CapSteel HelmetTribal Head GearBerards Helmet
21HeadCloth Hood231Health
3HEADDamage
4Armor%0.030.060.10.050.08
5Health Damage Armor %0.03Block Chance % Dodge Chance %0.05Initiative5Durability Crit Chance % Crit Damage % Armor Penetration Block Chance %-0.020.01
6CHESTDodge Chance %0.05-0.02
7Initiative5-5
8HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationDurability10
9HANDCrit Chance %
10Crit Damage %
11HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationArmor Penitration
12BOOTSCloth Hood 2
132Health
14HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationDamage
15SHIELDSarmor%0.0350.0650.1050.0550.085
16Block Chance %-0.020.01
17HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationDodge Chance %0.05-0.02
18TROPHYinitiative5-5
19Durability10
20HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationCrit Chance %
21Weopon 1Crit Damage %
22Armor Penitration
23HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor PenetrationCloth Hood 3
24Weopon 23Health
25Damage
26HealthDamageArmor %Block Chance %Dodge Chance %InitiativeDurabilityCrit Chance %Crit Damage %Armor Penetrationarmor%0.040.070.110.060.09
27Total HealthTotal DamageTotal Armor %Total Block ChanceTotal Dodge ChanceInitiativeDurabilityTotal Crit ChanceTotal Crit DamageTotal PenitrationBlock Chance %-0.020.01
28Dodge Chance %0.05-0.02
29initiative5-5
30Durability10
311HeadChestHandBootsShieldsGemsOrbsTrophyCrit Chance %
322Bernards HelmetChestCloth MittensCloth BootsAegisAmarineCrushingBerryCrit Damage %
333Cloth HoodCloth RobeIngas GlovesLeather BootsBloks ShellAmethystDrainingBoneArmor Penitration
344Leather CapIshans CurseLeather GlovesSteel GreavesIdolinaDiamondFreezingCollarCloth Hood 4
355Steel HelmetLeather HarnessSteel GauntletsTribal StompersMoon ShieldEmeraldScorchingDeadwood4Health
366Tribal HeadgearSteel CuriassTribal WristbandsWyns WalkersShieldsOnyxFrost ScaleDamage
377Tidens KappaOpalGinsingarmor%0.0450.0750.1150.0650.095
388Tribal ChestguardPearlHideBlock Chance %-0.020.01
399RubyHornDodge Chance %0.05-0.02
4010SaphireIce Cubeinitiative5-5
41TopazJawDurability10
42PeltCrit Chance %
43PincerCrit Damage %
44ScaleArmor Penitration
45Shard5Cloth Hood 5
46SkinHealth
47SkullDamage
48Stingarmor%0.050.080.120.070.1
49SulfurBlock Chance %-0.020.01
50TailDodge Chance %0.05-0.02
51Taloninitiative5-5
52ThornDurability0.1
53TongueCrit Chance %
54TuskCrit Damage %
55TwigArmor Penitration
56Void Globe6Cloth Hood 6
Sheet1
Cell Formulas
RangeFormula
H2H2=MATCH(Level,INDEX(TableHead,,1),)
I2I2=MATCH(Item,INDEX(TableHead,1,),)
C5,U5,S5,Q5,O5,M5,K5,I5,G5,E5C5=IFERROR(1/(1/INDEX(TableHead,MyRow+COLUMNS($B5:B5)/2,MyCol)),"")
Named Ranges
NameRefers ToCells
Item=Sheet1!$F$2I2
Level=Sheet1!$B$2H2
MyCol=Sheet1!$I$2U5, S5, Q5, O5, M5, K5, I5, G5, E5, C5
MyRow=Sheet1!$H$2U5, S5, Q5, O5, M5, K5, I5, G5, E5, C5
TableHead=Sheet1!$W$1:$AC$55U5, S5, Q5, O5, M5, K5, I5, H2:I2, G5, E5, C5
 
Upvote 0
THANK YOU SO MUCH FOR THIS. I would not have figured this out.
Looks like I got a lot more to lean in EXCEL.
Thanks Again
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,208
Members
448,874
Latest member
b1step2far

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top