Forum Discussion

Tove_L's avatar
Tove_L
Copper Contributor
Dec 21, 2020
Solved

Repeat data based on other rows

I am trying to find a function which will repeat a specific function so that I can display only the relevant cells in a spreadsheet when applying a filter function.

 

companyRepeatsrepeat?
per aa as3yes
per aa as3 
per aa as3 
kolbu as2 
kolbu as2 
skreia as3yes
skreia as3 

skreia as

3 
jci invest1 

This is what the list looks like before applying the function

 

This is what the list should look like after applying the function

companyRepeatsrepeat?
per aa as3yes
per aa as3yes
per aa as3yes
kolbu as2 
kolbu as2 
skreia as3yes
skreia as3yes

skreia as

3yes
jci invest1 

2 Replies

  • Tove_L 

    Let's say your data are in columns A to C, with the headers in row 1.

    Select column C.

    Press Ctrl+G or F5 to display the Go To dialog.

    Click Special...

    Select Blanks, then click OK.

    Note which cell is the active cell - in your example it would be C3.

    Enter the following formula, then confirm it with Ctrl+Enter to populate the entire selection.

     

    =IF(A3=A2,C2,"")

Resources