Need help combining IndexMatch, Concatenate, & Indirect

accountfornada

New Member
Joined
Nov 30, 2021
Messages
5
Platform
  1. Windows
Hi, so basically I have an excel assessment as a starting point for a job interview, and I'm trying to pull data from a sheet called "stats for test" to figure out many things. In the Unit 1 & Unit 2 are dropdown menus that can change the level from 1-60, rarity from A-C, and Class between Pistol, Grenade, and Bazooka. As the values in the units change the results below are supposed to change as well. As stated in the blue box, the goal is to use all functions I've learned up to this point - Meaning Index Match, Concatenate, and Indirect. Any help at all is truly appreciated. Thank you.

Design Assessment.xlsx
BCDEFG
3Using all that you have learned, create a Kill/Death model with hits to kill for two units fighting each other using the following combat model parameters: • Pistol does 50% bonus damage against Grenade • Grenade does 50% bonus damage against Bazoooka • Bazooke does 50% bonus damage against Pistol • Crit rate is the unit's CRT rating divided by the function of the highest CRT rating in the game times 4 • If a unit crits, their CRD is added to their attack damage • Damage dealt is a simple attack - defense calculation The goal is to use all the functions you have learned as well as using spreadsheet deisgn best practices. It will be helpful to create a parameters table for the combat model. The three input fields (Winner, Hits to Kill, and Winner health remaining) will require a long formula comprising of multiple parts. A tip is to construct the formula in parts, and then assemble the parts into the final formula.
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19Tutorial #3: Using concatenate with indirect
20
21Unit 1Unit 2
22Level50Level27
23RarityCRarityA
24Class:BazookaClass:Bazooka
25
26
27Winner:
28Hits to kill:
29Winner health remaining:
30
Test
Cells with Data Validation
CellAllowCriteria
C22List1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60
C23ListA,B,C
C24ListPistol,Grenade,Bazooka
G22List1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60
G23ListA,B,C
G24ListPistol,Grenade,Bazooka


Design Assessment.xlsx
ABCDEFGH
1levelrarityclassattackdefensehealthcrtcrd
21CPistol100100100100100
32CPistol109106104109104
43CPistol119113108119108
54CPistol128119113128113
65CPistol137126117137117
76CPistol146132121146121
87CPistol156139126156126
98CPistol165146131165131
109CPistol174153136174136
1110CPistol184160141184141
1211CPistol193167146193146
1312CPistol202174151202151
1413CPistol211181156211156
1514CPistol221188162221162
1615CPistol230196168230168
1716CPistol239203173239173
1817CPistol249211179249179
1918CPistol258219185258185
2019CPistol267227192267192
2120CPistol277235198277198
2221CPistol286243205286205
2322CPistol295251211295211
2423CPistol304259218304218
2524CPistol314267226314226
2625CPistol323276233323233
2726CPistol332284240332240
2827CPistol342293248342248
2928CPistol351302256351256
3029CPistol360311264360264
3130CPistol370319272370272
3231CPistol379329281379281
3332CPistol388338289388289
3433CPistol398347298398298
3534CPistol407357308407308
3635CPistol416366317416317
3736CPistol426376327426327
3837CPistol435386337435337
3938CPistol444396347444347
4039CPistol454406357454357
4140CPistol463416368463368
4241CPistol472426379472379
4342CPistol482437390482390
4443CPistol491447402491402
4544CPistol500458413500413
4645CPistol510469426510426
4746CPistol519480438519438
4847CPistol528491451528451
4948CPistol538503464538464
5049CPistol547514477547477
5150CPistol556526491556491
5251CPistol566537505566505
5352CPistol575549520575520
5453CPistol584561535584535
5554CPistol594573550594550
5655CPistol603586565603565
5756CPistol613598582613582
5857CPistol622611598622598
5958CPistol631624615631615
6059CPistol641637632641632
6160CPistol650650650650650
621BPistol100100100100100
632BPistol114110106114106
Stats For Test
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
That's an awesome question!
I imagine for the "stats for test" tabblad all the levels, rarity and classes their stats are given? Not only for Pistol rairity C?
 
Upvote 0
Welcome to the MrExcel Message Board!

Cross-posting (posting the same question in more than one forum) is not against our rules, but the method of doing so is covered by #13 of the Forum Rules.

Be sure to follow & read the link at the end of the rule too!

Cross posted at: Advanced Concatenate help
If you have posted the question at more places, please provide links to those as well.

If you do cross-post in the future and also provide links, then there shouldn’t be a problem.
 
Upvote 0
I have an excel assessment as a starting point for a job interview
Please do not ask us to help you with an interview test. IMO it would be totally unethical & if we help you get the job it would be unfair on the other candidates.
 
Upvote 0
That's an awesome question!
I imagine for the "stats for test" tabblad all the levels, rarity and classes their stats are given? Not only for Pistol rairity C?
Yes, that's correct. It totals to just over 500 rows, so I was unsure if I should have copied the entire thing or not.
 
Upvote 0
Please do not ask us to help you with an interview test. IMO it would be totally unethical & if we help you get the job it would be unfair on the other candidates.
I understand.

Can I ask for assistance with one specific part of the question rather than the question as a whole then? I have gotten everything set up pulling data correctly from the "Stats for test" sheet, however, I don't exactly understand how to go about with calculating the critical rate, and how to figure the *chance* of it happening, and then how to plug that chance into the calculations already made.

Thanks
 
Upvote 0
You would need to explain exactly what you are trying to do & what you have already tried. Members here give tips & advice, but don't expect them to give you a formula, for the reasons already outlined.
 
Upvote 0
After figuring out most everything last night, I have everything figured as far as pulling data from the other sheet, and calculating it all to get the 3 answers requested except for one part of the question.
The problem wants to figure "Crt rate" of units (Row 10 + Row 11) and if the unit does Crt it doubles the damage of the unit before taking into account the other units defense.

As the units Level, Rarity, and Class are all dynamic and changeable via drop down menus I have created a table off to the side that pulls data from the Stats sheet, and have Crt chance of each unit figured into the table as well. However I have no idea how I would begin to plug a chance of something happening into the damage formulas

Test
Using all that you have learned, create a Kill/Death model with hits to kill for two units fighting each other using the following combat model parameters: • Pistol does 50% bonus damage against Grenade • Grenade does 50% bonus damage against Bazoooka • Bazooke does 50% bonus damage against Pistol • Crit rate is the unit's CRT rating divided by the function of the highest CRT rating in the game times 4 • If a unit crits, their CRD is added to their attack damage • Damage dealt is a simple attack - defense calculation The goal is to use all the functions you have learned as well as using spreadsheet deisgn best practices. It will be helpful to create a parameters table for the combat model. The three input fields (Winner, Hits to Kill, and Winner health remaining) will require a long formula comprising of multiple parts. A tip is to construct the formula in parts, and then assemble the parts into the final formula.
Tutorial #3: Using concatenate with indirectStatsUnit 1Unit 2
Unit 1Unit 2Atk188993
Level6Level54Def161949
RarityARarityAHP140993
Class:PistolClass:Grenade
Bonus1.51
Dmg Dealt-479.49561832
Winner:Unit 2Crt188993
Hits to kill:0.168269231Crd140993
Winner health remaining:993Crit Rate0.010325130.054536
Hits req'ed-2.07092620.168269
WinnerUnit 2Unit 2
Remaining HP993
 
Upvote 0
I believe I'm making progress, after looking into it some more I believe it would just be a simple IF statement, if critical occurs, add crit_dmg.

However, how would I go about converting that into a formula?
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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