@KuriousKatie asked: "Will this work if I add more things to that group, as in the grey box and the description below?"
Hi @KuriousKatie ,
you did another thread where you asked a similar question:
Show/Hide a group of items based on whether a word from a data merge is present in that group.
KuriousKatie, Aug 16, 2022
https://community.adobe.com/t5/indesign-discussions/show-hide-a-group-of-items-based-on-whether-a-word-from-a-data-merge-is-present-in-that-group/td-p/13138760
From your posted csv file there I can see that the first entry of e.g. Oestradiol is simply none.
So Brian's first[*] script will not work on a merged document with that data. The problem is to find a sufficient algorithm that could react on e.g. a group with that entry set and turn the whole group to invisible.
Also related is this thread you started in Aug 01, 2022:
Conditional Formatting to shapes from CSV text
KuriousKatie, Aug 01, 2022
https://community.adobe.com/t5/indesign-discussions/conditional-formatting-to-shapes-from-csv-text/td-p/13108461
Here the link to my post where I am presenting a solution based on the "Conditional Formatting" thread:
https://community.adobe.com/t5/indesign-discussions/show-hide-a-group-of-items-based-on-whether-a-word-from-a-data-merge-is-present-in-that-group/m-p/13140217#M488700
Regards,
Uwe Laubender
( Adobe Community Professional )
[*] Edited. Did not see all the answers that were posted the last two hours.
Forum notification via mail failed.