A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Calculate cost according to date (problem with January)

Thread Tools Display Modes
Old November 7th, 2010, 07: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


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


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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

All times are GMT +1. The time now is 03:44 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
Copyright 2004-2019 OfficeFrustration.
The comments are property of their posters.