I'm trying to do a formula and it's not working. I have 31 columns, each representing 1 day of the calendar month. I want to be able to use number or preferably letter codes to represent numericals.
So, for example, cell A1 I input the number 6 or the code MA and in the total column (after day 31) I want it to total that if 6 is in cell A1, then it equals 1. and then add each day - for example if each day's code is a 6, then the total should be 31. I also want to be able to make it so other codes can represent ZERO instead of ONE.
I began my formula like this but it's not working (in this ex, day 1 begins in column 13:
=(SUMIF(F5:AJ5,6)/6)+(SUMIF(F5:AJ5,1)/1)+(SUMIF(F5:AJ5,9)/9)+(SUMIF(F5:AJ5,8)/8)+(SUMIF(F5:AJ5,2)/2)+(SUMIF(F5:AJ5,4)/4)+(SUMIF(F5:AJ5,7)/7)+(SUMIF(F5:AJ5,10)/10)+(SUMIF(F5:AJ5,5)/5)+(SUMIF(F5:AJ5,11)/11)+(SUMIF(F5:AJ5,15)/15)+(SUMIF(F5:AJ5,18)/18)+(SUMIF(F5:AJ5,3)/3)
I tried COUNTIF and in the totals column it added all my entries. Not what I'm looking for.
Say if A1 thru AE1 were all 6's, the total in column AF1 should be 31.
I know it's SUMIF because it worked on my Excel 2000 sheet. Converting to 2007 is the problem. I tried to open my old sheet and the calculations aren't working, as if it's not recognizing!
Bookmarks