Expression for column that lists empty columns

I have two tables: Table 1 & Table 2.

Table 2 has 4 columns :

Column: A 

Column: B

Column: C

Column: D

Id like to create an expression in Table 1 that lists that name of the columns in table 2 that are empty within that row.

In the example table below, “XXXX” represents the data. The column in table 1 shows the names of the columns in table 2 with no data in that row. 

 02BEECEE-E3CB-46C9-B3E9-A67FB55817D2.jpeg

I am a novice and haven it a good crack with the following expression:

LIST(
IF(
AND(
CONTAINS(
Table2[ROW ID],[_THISROW].[ROW ID]), TRUE,
ISBLANK(
Table1[A]), TRUE), “ A”, “”),

IF( 

AND(
CONTAINS(
Table2[ROW ID],[_THISROW].[ROW ID]), TRUE,
ISBLANK(
Table1[B]), TRUE), “ B”, “”),

IF(
AND(
CONTAINS(
Table2[ROW ID],[_THISROW].[ROW ID]), TRUE,
ISBLANK(
Table1[C]), TRUE), “ C”, “”),

IF(
AND(
CONTAINS(
Table2[ROW ID],[_THISROW].[ROW ID]), TRUE,
ISBLANK(
Table1[D]), TRUE), “ D”, “”))

Any help would be much appreciated!

Solved Solved
0 6 252
1 ACCEPTED SOLUTION

LIST(
IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Paraphrase Lecture notes])), “ Paraphrase Lecture notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Lecture notes reference source])), “ Lecture notes reference source”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Lecture notes Condensed point])), “ Lecture notes Condensed point”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]), TRUE,
ISNOTBLANK(
Index[My notes]),
ISBLANK(
Index[Personal Notes Reference source])),“ Personal Notes Reference source”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]), TRUE,
ISNOTBLANK(
Index[My notes]),
ISBLANK(
Index[Personal Notes Condensed point])),“ Personal Notes Condensed point”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Research notes])), “ Research notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Paraphrase Research notes])), “ Paraphrase Research notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Research notes Reference source])), “ Research notes Reference source”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Research notes Condensed point])), “ Research notes Condensed point”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Statistics notes])), “ Statistics notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Statistics notes])), “ Statistics notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Paraphrase Statistics notes])), “Paraphrase Statistics notes”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Statistics notes Reference source])), “ Statistics notes Reference source”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Statistics notes Condensed point])), “ Statistics notes Condensed point”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Informed opinion])), “ Informed opinion”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Informed opinion reference source])), “ Informed opinion reference source”, “”),

IF(
AND(
CONTAINS(
Index[Lecture ID],[_THISROW].[Lecture ID]),
ISBLANK(
Index[Informed opinion Condensed point])), “ Informed opinion Condensed point”, “”),

)

View solution in original post

6 REPLIES 6
Top Labels in this Space