Thread: If Function
View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DHM DHM is offline
external usenet poster
 
Posts: 13
Default If Function

Is ther a liimit to the number of conditions using the if function.
This works
=IF(Master!B23="Brandon",Rate!$J$2,IF(Master!B23=" Don",Rate!$J$3,IF(Master!B23="Donny",Rate!$J$4,IF( Master!B23="Jimmy",Rate!$J$5,IF(Master!B23="Neil", Rate!$J$6,IF(Master!B23="Razz",Rate!$J$7,IF(Master !B23="Scott",Rate!$J$8,IF(Master!B23="Seth",Rate!$ J$9,""))))))))

but when I add one more I get an error

=IF(Master!B23="Brandon",Rate!$J$2,IF(Master!B23=" Don",Rate!$J$3,IF(Master!B23="Donny",Rate!$J$4,IF( Master!B23="Jimmy",Rate!$J$5,IF(Master!B23="Neil", Rate!$J$6,IF(Master!B23="Razz",Rate!$J$7,IF(Master !B23="Scott",Rate!$J$8,IF(Master!B23="Seth",Rate!$ J$9,IF(Master!B2="Shane",Rate!$J$10,"")))))))))