SOLVED

Formula to spill an array a certain # of times?

Copper Contributor

Wondering if there is a Formula to spill an array a certain # of times?  Any formulas to make this process easier would be awesome!

 

I'm creating a lookup template file, and I need to have every combination of two arrays for my rows.  My process is very tedious and wondering if some formulas would help.  If I could spill Array1 a certain number of times, that'd be nice.  Then I need to have each unique value of Array2 copied down to each set of Array1.  

 

Example:

     
 Array1Array2  
 ColorSizeCount Color:3
 redsmallCount Size:3
 bluemediumTotal combinations9
 greenlarge  
   Lookup based on Color and Size 
#ColorSize 
1redsmall  
2bluesmall  
3greensmall  
4redmedium  
5bluemedium  
6greenmedium  
7redlarge  
8bluelarge  
9greenlarge  
2 Replies
best response confirmed by DobeJR (Copper Contributor)
Solution

Hi @DobeJR 

 

Please see the attached workbook with your desired results

 

2020-05-02_05-10-10.png

 

Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

If you find the above solution resolved your query don't forget mark as Official Answer to help the other members find it more

@Faraz Shaikh Thanks for this.  This is hurting my brain trying to understand how it's working with the MOD formula, but I think I get it.... lol 

 

CHEERS!

1 best response

Accepted Solutions
best response confirmed by DobeJR (Copper Contributor)
Solution

Hi @DobeJR 

 

Please see the attached workbook with your desired results

 

2020-05-02_05-10-10.png

 

Regards, Faraz Shaikh | MCT, MIE, MOS Master, Excel Expert

If you find the above solution resolved your query don't forget mark as Official Answer to help the other members find it more

View solution in original post