Forum Discussion
leightob
Mar 04, 2022Copper Contributor
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
- OliverScheurichGold Contributor
=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.
- leightobCopper ContributorThat 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!- OliverScheurichGold Contributor
=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.