Thread: 7+ Nest If's
View Single Post
  #2   Report Post  
Jimbola
 
Posts: n/a
Default

INsteda of using IF statements you may want to consider a sumif function. Eg.

a b c d e f
1 Month June
2 January February March April May June
3 100 200 300 400 500 600

=SUMIF(A2:F2,"<="&B1,A3:F3)

The formula totals all the figures if the months in row 2 equals or is less
than June in B1. But you need to use full month names. If your set-up is
different or you are using names, re-post with more details.

Hope that helps.

Jimbola


"Channing" wrote:

I need to nest over 7 IF statements and didn't find the answer I needed in
the other posts. I need to check the month in cell a1 for the month to
determine the YTD Budget. IE if a1= "May", sum(Jan:May),if a1="June",
sum(Jan:June).

Thanks for the help.