Forum Discussion

Ashley Tanay's avatar
Ashley Tanay
Copper Contributor
Dec 06, 2017
Solved

Need help with very complex formula (conditional/if/find/lookup/sum?)

Hello excel Gurus,    I'm looking for help with writing a formula in a current workbook.  I need a formula that will look up information in multiple tabs, and return one or multiple values into...
  • Detlef_Lewin's avatar
    Dec 07, 2017

    Ashley,

     

    I made the formula almost completely dynamic but it still depends on the order of customers and the order of columns in the "Display" sheets. It also depends on the current layout in sheet "summarytemplate".

    =TEXTJOIN(" and ",TRUE,IF(T(INDIRECT("'Display "&{"A";"B";"C";"E";"F";"G";"H"}&"'!J"&MOD(ROW()-1,8)))=SUBSTITUTE(INDEX(B:B,LOOKUP(ROW(),{2;10;18;26}))," Ship",""),"Display "&{"A";"B";"C";"E";"F";"G";"H"},""))
    

    I advise you to change your model and put all the data in one "Display" sheet. That will reduce the complexity of the formula.

Resources