View Single Post
  #1  
Old November 7th, 2010, 08:22 PM
shirl shirl is offline
Experienced Member
 
First recorded activity by OfficeFrustration: Mar 2005
Posts: 39
Default Calculate cost according to date (problem with January)

Ignore my message, below I have managed to solve the problem

8/11/10

I have a spreadsheet which will be used to calculate printing costs for each person each month. Column A is formatted as a date, then the following columns contain information such as department, name of person then cells containing price etc.

I then have coloumns labelled months September - August (this is an academic year) to automatically calculate the amounts for each person each mong, the formula I am using is =IF(MONTH(A5)=9,E5*F5*G5,"") the formula is then copied down the column.

This puts the total amount in the September column, but if the month in column A is January =IF(MONTH(A5)=1,E5*F5*G5,"") the formula works but when copied down it displays N/A (copies down fine on all other columns even though there is no date in column A) it is only the January column which shows this error?

Any help gratefully received

Shirl

Last edited by shirl : November 8th, 2010 at 08:13 PM. Reason: I have now solved this problem