I am trying to get an output of Zodiac sign using date of birth field. Here is my code using IF ()
please help me frequently getting syntax error of expected 3, received 1. Wh could me the mistake?
IF(
(
(
NOT(ISBLANK( date_of_Birth__c )),
(
IF((Month(date_of_Birth__c) = 12) && (day(date_of_Birth__c) <22 )), ' ♐sagittarius', "NULL",
IF((Month(date_of_Birth__c)= 12) && (day(date_of_Birth__c) >=22 )), ' ♑ Capricorn', "NULL",
IF((Month(date_of_Birth__c)= 11) && (day(date_of_Birth__c) <23 )), 'Scorpio', "NULL",
IF((Month(date_of_Birth__c)= 11) && (day(date_of_Birth__c) >=23 )), 'sagittarius', "NULL",
IF((Month(date_of_Birth__c)= 10) && (day(date_of_Birth__c) <23 )), 'Libra', "NULL",
IF((Month(date_of_Birth__c)= 10) && (day(date_of_Birth__c) >=23 )), 'Scorpio', "NULL",
IF((Month(date_of_Birth__c)= 9 )&& (day(date_of_Birth__c) <23 )), 'Virgo', "NULL",
IF((Month(date_of_Birth__c)= 9 )&& (day(date_of_Birth__c) >=23 )), 'Libra', "NULL",
IF((Month(date_of_Birth__c)= 8 )&& (day(date_of_Birth__c) <23 )), 'Leo', "NULL",
IF((Month(date_of_Birth__c)= 8 )&& (day(date_of_Birth__c) >=23 )), 'Virgo', "NULL",
IF((Month(date_of_Birth__c)= 7 )&& (day(date_of_Birth__c) <23 )), 'Cancer', "NULL",
IF((Month(date_of_Birth__c)= 7 )&& (day(date_of_Birth__c) >=23 )), 'Leo', "NULL",
IF((Month(date_of_Birth__c)= 6 )&& (day(date_of_Birth__c) <22 )), 'Gemini', "NULL",
IF((Month(date_of_Birth__c)= 6 )&& (day(date_of_Birth__c) >=22 )), 'Cancer', "NULL",
IF((Month(date_of_Birth__c)= 5 )&& (day(date_of_Birth__c) <21 )), 'Taurus', "NULL",
IF((Month(date_of_Birth__c)= 5 )&& (day(date_of_Birth__c) >=21 )), 'Gemini', "NULL",
IF((Month(date_of_Birth__c)= 4 )&& (day(date_of_Birth__c) <21 )), 'Aries', "NULL",
IF((Month(date_of_Birth__c)= 4 )&& (day(date_of_Birth__c) >=21 )), 'Taurus', "NULL",
IF((Month(date_of_Birth__c)= 3 )&& (day(date_of_Birth__c) <21 )), 'Pisces', "NULL",
IF((Month(date_of_Birth__c)= 3 )&& (day(date_of_Birth__c) >=21 )), 'Aries', "NULL",
IF((Month(date_of_Birth__c)= 2 )&& (day(date_of_Birth__c) <19 )), 'Aquarius', "NULL",
IF((Month(date_of_Birth__c)= 2 )&& (day(date_of_Birth__c) >=19 )), 'Pisces', "NULL" ,
IF((Month(date_of_Birth__c)= 1 )&& (day(date_of_Birth__c) <21 )), 'Capricorn', "NULL",
IF((Month(date_of_Birth__c)= 1 )&& (day(date_of_Birth__c) >=21 )), 'Aquarius', "NULL",
)
),"NULL"
)
)