+ Reply to Thread
Results 1 to 3 of 3

Showing a trend for a received figure against an average

  1. #1
    Registered User
    Join Date
    10-03-2009
    Location
    uk
    MS-Off Ver
    MS365 v, 2402.
    Posts
    11

    Showing a trend for a received figure against an average

    Hi

    I'm creating a workflow management spreadsheet which shows volumes received, cleared etc.

    I also want to compare the volume received against the average received over the past 5 weeks. I have 5 columns for the previous weeks data and a colume to calculate the average.

    I then have another column to compare the average to what was received this week. The column will contain a series of arrows to show if the volume received is above, below or the same as the average, the forumla I've used is:-

    =IF(D8=K8,"è",IF(D8<K8,"ê","é"))

    D8 = Volume received this week

    K8 = Average of previous 5 weeks - =AVERAGE(L8:P8)

    the different "e"s appear as arrows in the Windings font.

    The problem I have is that the average for the past 5 weeks is 133.8, but i'm not showing any decimal places so excel rounds it up to 134.

    The received volume for this week is 134, so the arrow should show the volumes are the same BUT an up arrows is appearing because the actual average is 133.8 not 134.

    Is there a change I can make so excel will recognise these as the same??

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Showing a trend for a received figure against an average

    You can use the ROUND function to round all values to the same level of significance (formatting the cells does not alter the underlying value unless using precision as displayed (ill advised))

    =IF(ROUND(D8,0)=ROUND(K8,0),"è",IF(ROUND(D8,0)<ROUND(K8,0),"ê","é"))

    (you could obviously amend K8 to ROUND at that point rather than rounding in the above - whether or not viable for you will depend upon any other requirements you may have)

  3. #3
    Registered User
    Join Date
    10-03-2009
    Location
    uk
    MS-Off Ver
    MS365 v, 2402.
    Posts
    11

    Re: Showing a trend for a received figure against an average

    Thanks!!! It works!!

+ Reply to Thread

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