Forum Discussion

Blogpapa's avatar
Blogpapa
Copper Contributor
Sep 09, 2019
Solved

In desperate need of a formula for a -basically- simple task

I am building a test file in which to store test results but I am at a total loss. This is my problem:  - Our products are sold in combination with 1, 2 or 3 accessories. - Products are manufacture...
  • Subodh_Tiwari_sktneer's avatar
    Sep 11, 2019

    Blogpapa 

    Here is the tweaked formula...

     

    =INDEX(Table1[[accessory 1]:[accessory 3]],MATCH([@product],Table1[product],0),IF(MOD(COUNTIF(F$3:F3,F3),COUNTA(INDEX(Table1[[accessory 1]:[accessory 3]],MATCH([@product],Table1[product],0),)))=0,COUNTA(INDEX(Table1[[accessory 1]:[accessory 3]],MATCH([@product],Table1[product],0),)),MOD(COUNTIF(F$3:F3,F3),COUNTA(INDEX(Table1[[accessory 1]:[accessory 3]],MATCH([@product],Table1[product],0),)))))

Resources