Hi bright heads
I am trying to learn using the excel addin for tracking stocks of raw materials needed for higher tier factories. For this I want to sum up stored amounts of the materials, using one formula in one cell for each material (calling the specific materials from others cells with the ECUs, and calling the pins of a specific planet).
However, I keep bumping my head against what seems to be a wall, accessing the array within the array that is .contents (wherefrom I want the .amount of selected .type), within the array of .pins (wherefrom I want the storage and launchpads, or failing that just all of them).
Has anybody tried a similar thing?
I have tried using FILTER, INDEX, SUM, SUMIF, but they seem not to work as normal with the Addin “arrays” (as opposed to normal dynamic arrays in excel). Maybe I’m using them wrong. Maybe someone has made it work using a better syntax?
Any help or suggestions is greatly appreciated!
Edit: I can access the materials and amounts just fine if setting up the planets pins manualle in sheets, but I want to make a template that will work for any new planetary setup, hence the need for a universal formula where pins of the planet can be in any order etc.