View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
egarcia egarcia is offline
external usenet poster
 
Posts: 13
Default Multiple if statements with multiple conditions

a b
1 TRUE 10
2 TRUE 8
3 2
4 4
5 TRUE 5
I'm trying to get an if function to work with multiple conditions. For
example if(a1=true,a2=true,a5=true,sum(b3:b4), if
(a1=true,a2=true,a5=false,sum(b3:b5), if
a1=false,a2=false,a5=true,sum(b1:b4). First condition should =6, second=11, &
third should be 24.