Search code examples
if-statementgoogle-sheetsgoogle-sheets-formulaarray-formulasgoogle-sheets-query

Combine data from different sheets BUT replace content with a given variable


Example

I have three schedules and want a merged view but content must not be displayed. Can I replace it somehow?


Solution

  • try:

    ={"Monday"\"Tuesday"\"Wednesday"\"Thursday"\"Friday"; 
     ARRAYFORMULA(REGEXREPLACE(
     IF(C2:G7<>""; B1&", "; )&
     IF(C10:G15<>""; B9&", "; )&
     IF(C18:G23<>""; B17; ); ", $"; ))}
    

    0