Forum Discussion

leightob's avatar
leightob
Copper Contributor
Mar 04, 2022

Consolidating Data

Can someone help me with a formula or macro to consolidate the following data into one column (K)? I need it to say the frequency with the first letter of the week day to follow. "Weekly T"  I am doing this manually right now for 200+ rows and I need an easier way. Any help is appreciated! 

 

7 Replies

  • leightob 

    =INDEX(A2:I2,MATCH(1,N(NOT(ISBLANK(A2:I2))),0))

     

    Is this what you are looking for? It works in my spreadsheet if the columns B, D, F, H and J are empty. Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

    • leightob's avatar
      leightob
      Copper Contributor
      That definitely helps! Do you think there is a way to get the week day in there somehow?
      I am very grateful for your help with this!
      • OliverScheurich's avatar
        OliverScheurich
        Gold Contributor

        leightob 

        =INDEX(A2:I2,MATCH(1,N(NOT(ISBLANK(A2:I2))),0))&" "&LEFT(INDEX($A$1:$I$1,MATCH(1,N(NOT(ISBLANK(A2:I2))),0)),1)

         

        Maybe with this formula if you want to return e.g. "monthly W ". Enter the formula with ctrl+shift+enter if you don't work with Office365 or 2021.

Resources