Results 1 to 6 of 6

Excel 2007 : Recognising increases and decreases with a zero figure

Threaded View

  1. #1
    Registered User
    Join Date
    01-08-2010
    Location
    Wales
    MS-Off Ver
    Excel 2007
    Posts
    20

    Recognising increases and decreases with a zero figure

    Hi all, I'm hoping someone can help me.

    I have a spreadsheet to record outcomes of a monthly review. There is one worksheet every month with the same table on it, and an analysis sheet at the end.

    On the monthly sheets, I will fill in a range of numbers where appropriate, and then calculate an average. This is the formula I am using to calculate the average:

    =IF(N4=0,"0",AVERAGE(C4:M4))

    I am using this because there may be times when there are no numbers to fill in and N4 counts this. If there are no numbers, I want to avoid the DIV! error that would result from simply using an average formula. So far so good.

    The problem comes with the analysis sheet at the end. I have set up a table that monitors whether the average figure changes from month to month. Here is the formula I'm using (modified for each month):

    =IF(February!O4>January!O4,"Increase","Decrease")

    This is where the problem lies. This formula won't recognise that anything above zero is an increase, and that zero is usually a decrease. As a result, my spreadsheet tells me that zero is an increase on 13.

    The other problem is that this is too simplistic, since there will, very rarely, be months where the average remains the same. Ideally, this is what I would like a formula to do:
    Increase- "Increase"
    Decrease- "Decrease"
    The same- "Nil change"

    However, this problem isn't so pressing as I think it will happen rarely. I'm more interested in getting the increase/decrease formula to recognise zero. Can anyone help?

    Thanks in advance!
    Last edited by rachelar; 02-10-2010 at 09:16 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1