
I have already tried these other options:
if(VitD_recoded==0 and iron_recoded==0, 1, 0),
IF(VitD_recoded==0 & iron_recoded==0, 1, 0),
Iif(VitD_recoded==0 AND iron_recoded==0, 1, 0).
Thank you so so much for your help,
Claire
Code: Select all
IF(VitD_recoded==0 and iron_recoded==0, 1, 0)