Share via

Displaying Column Name from missing row data - Array Formula not working

Anonymous
2025-01-20T13:56:46+00:00

Hi,

I have a table that has missing/ empty cells in rows that I want to identify the column headings that have the missing cells.

I have used the formula =ARRAYFORMULA(TEXTJOIN(", ",1,IF((E8:DO8="",E$5:DO$5,)))

If just provides an error saying #NAME?

I have also tried just TEXTJOIN without the ARRAYFORMULA and it then gives me lots of 0's?

I have also used Shift+Control+Enter

The Picture below shows the headings in row 5, and in E8 is where the names start, I put the array formula column at the end of the table.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

Answer accepted by question author

Rory Archibald 18,965 Reputation points Volunteer Moderator
2025-01-20T14:05:35+00:00

ARRAYFORMULA is a Google Sheets function. If you are using Excel, remove that.

Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

4 additional answers

Sort by: Most helpful
  1. Ashish Mathur 102K Reputation points Volunteer Moderator
    2025-01-20T23:27:00+00:00

    Hi,

    Why are there 2 ( after IF. Remove one and also the last one. Remove the last comma as well.

    Was this answer helpful?

    0 comments No comments
  2. Rory Archibald 18,965 Reputation points Volunteer Moderator
    2025-01-20T15:16:30+00:00

    I don't really see how your formula references relate to your image? Row 8 appears to be part of merged cells in all those columns. Also, your formula as posted is actually invalid.

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2025-01-20T15:10:43+00:00

    My guess is that you merged the cells, and that is why you are getting 0's. There is no longer a cell E5, ...etc

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2025-01-20T14:23:16+00:00

    Thanks Rory,

    I have removed it and just used =TEXTJOIN(", ",1,IF((E8:DO8="",E$5:DO$5,)))

    And I just get a bunch of 0's and not the column headings?

    Was this answer helpful?

    0 comments No comments