Forum Discussion

srikanth diddy's avatar
srikanth diddy
Copper Contributor
Jun 18, 2018

Is it possible to get the combinations using some lookup or any other functions

One Master table should look in 3 other tables. When selected thru a drop down it shud bring down the below outputs:

 

Scen: AC       //Should be dropdown

Month: Jan   //Should be dropdown

Org: Org1    //Should be dropdown

 

Should return concatenation = $AB$1

 

Scen:AC

Month:Feb

Org: Org1

 

Should return = $AB$1:$AC$1

 

 Qtr1Qtr1Qtr1Qtr2Qtr2Qtr2Qtr3Qtr3Qtr3Qtr4Qtr4Qtr4
 JanFebMarAprMayJunJulAugSepOctNovDec
AC$AB$AC$AD$AE$AF$AG$AH$AI$AJ$AK$AL$AM
CV$AA$BB$CC$DD$EE$FF$GG$HH$II$JJ$KK$LL
PY$A$B$X$Y$Z$N$M$L$O$P$Q$R
             
             
ACOrg11 CVOrg14 PYOrg17  
ACOrg22 CVOrg25 PYOrg28  
ACOrg33 CVOrg36 PYOrg39  
             
             
Ouput1ACJanOrg1 $AB$1       
 ACFebOrg1 $AB$1:$AC$1      
 ACMarOrg1 $AB$1:$AC$1:$AD$1      
Output2            
 CVJanOrg1 $AA$4       
 CVFebOrg1 $AA$4:$BB4       
 CVMarOrg1 $AA$4:$BB$4:$CC$4      
  • If you are on Office365 subscription you may use TEXTJOIN. For the first of highlighted cells

    the array (Ctrl+Shift+Enter) formula could be

    =TEXTJOIN(":",TRUE,OFFSET($B$4,MATCH(B15,$A$5:$A$7,0),0,,MATCH(C15,$B$4:$F$4,0))&"$"&INDEX($C$10:$C$12,MATCH(D15,$B$10:$B$12,0)))

    Please see attached.

Resources