Hi all,
1)I have a question about the $ used in cell references. I understand that $C$1 refers to cell C1 regardless of where the cell with the active forumla is located but what exactly would $C1 refer to??
2)Also, what exactly does this reference BE$1 mean?
3)How does the YEAR and Month functions work exactly? I looked at the MS Help file for excel and it says in an example "MONTH(366) = 12 and MONTH(367) = 1", how does that work?
Here is the formula that I'm trying to figure out. The questions above relate directly to this formula:
=IF(AND(ISBLANK($AI2),ISBLANK($AJ2)),$AH2/12,0)
+IF(AND($AC2>=BE$1,$AB2<=BE$1),$AA2/(12*(YEAR($AC2)-YEAR($AB2))+MONTH($AC2)-MONTH($AB2)+1),0)
+IF(AND($AJ2>=BE$1,$AI2<=BE$1),$AH2/(12*(YEAR($AJ2)-YEAR($AI2))+MONTH($AJ2)-MONTH($AI2)+1),0)
+IF(AND($AS2>BE$1,$AR2<=BE$1), $AQ2/(12*(YEAR($AS2)-YEAR($AR2))+MONTH($AS2)-MONTH($AR2)+1),0)
I understand the IF and AND functions but I'm lost as to what $AI2 and BE$1 is referencing and how YEAR and MONTH is used in this formula? Can anyone help???
Thanks thanks so much!
Chad
1)I have a question about the $ used in cell references. I understand that $C$1 refers to cell C1 regardless of where the cell with the active forumla is located but what exactly would $C1 refer to??
2)Also, what exactly does this reference BE$1 mean?
3)How does the YEAR and Month functions work exactly? I looked at the MS Help file for excel and it says in an example "MONTH(366) = 12 and MONTH(367) = 1", how does that work?
Here is the formula that I'm trying to figure out. The questions above relate directly to this formula:
=IF(AND(ISBLANK($AI2),ISBLANK($AJ2)),$AH2/12,0)
+IF(AND($AC2>=BE$1,$AB2<=BE$1),$AA2/(12*(YEAR($AC2)-YEAR($AB2))+MONTH($AC2)-MONTH($AB2)+1),0)
+IF(AND($AJ2>=BE$1,$AI2<=BE$1),$AH2/(12*(YEAR($AJ2)-YEAR($AI2))+MONTH($AJ2)-MONTH($AI2)+1),0)
+IF(AND($AS2>BE$1,$AR2<=BE$1), $AQ2/(12*(YEAR($AS2)-YEAR($AR2))+MONTH($AS2)-MONTH($AR2)+1),0)
I understand the IF and AND functions but I'm lost as to what $AI2 and BE$1 is referencing and how YEAR and MONTH is used in this formula? Can anyone help???
Thanks thanks so much!
Chad