+ Reply to Thread
Results 1 to 11 of 11

Identification of variances between cell values

  1. #1
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Identification of variances between cell values

    Good day,
    I'm looking for some assistance in identifying "spikes" on a spreadsheet. I'm attaching a basic sample, with the data the way I hope to see it if I can get this to work (with some help, of course).

    The user will have a form, into which a Spike value will be entered. That value will represent a tolerance percentage.
    Some other factors:
    There will be an unknown number of rows.
    The spikes can be a single data point, or more of a plateau.
    The pricing data can be negative (I have no idea how that works, but apparently, it's legit)

    If any of you have an opportunity to take a look, and have some suggestions, I'd certainly appreciate it.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,645

    Re: Identification of variances between cell values

    So is -100 a SPIKE or not?

    According to your example this could work:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    But this is very limited approach and I would like to see when it fail to adopt it.

  3. #3
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    ZBOR, yes, on the attached sheet, a -100 would be a spike (in my sad attempts to do this myself, I was using the absolute values, which may or may not be the appropriate approach).

    Thanks for your time!

  4. #4
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,645

    Re: Identification of variances between cell values

    Maybe this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    Also, the 100% is just an example - the users may chose to use 75%, 150%, or even 200%... Apologize if I wasn't too clear, and thank you again for any time or help!

  6. #6
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    I've also tried stuff like this, which basically divides the higher number by the lower number, then the lower by the higher and sees if either is greater than the spike - but it's not working:
    Please Login or Register  to view this content.

  7. #7
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    I've also tried stuff like this, which basically divides the higher number by the lower number, then the lower by the higher and sees if either is greater than the spike - but it's not working:
    Please Login or Register  to view this content.

  8. #8
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,645

    Re: Identification of variances between cell values

    Write only 100% (or whatever) in C1 and use this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    ZBOR - thank you so much - I'm going to give that a shot and see if it captures the bulk of the problems we're seeing with the data.
    I can see a situation where if the majority of the values in the range are bad this approach may not work, but I can't say for sure if that's a realistic expectation.
    I thank you again for your time and wonderful suggestions!

  10. #10
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    ZBOR - thank you so much - I'm going to give that a shot and see if it captures the bulk of the problems we're seeing with the data.
    I can see a situation where if the majority of the values in the range are bad this approach may not work, but I can't say for sure if that's a realistic expectation.
    I thank you again for your time and wonderful suggestions!

  11. #11
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    Okay, I hate to sound like a PITA, but one fairly common data problem is when two days have the same value, but one is negative and the other is positive.
    So if you were to change every value on my sample to 100, but one value to -99.23, the formula isn't catching it.
    I know, it's like I need to use the absolute value SOMETIMES, but not all the time... ugh.

  12. #12
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Re: Identification of variances between cell values

    Thank you again for your time - using your ideas of medians/averages, I ended up going with a solution that averaged the prior 5 and following 5 days, if those days were non negative and had a reasonable variance from the prior day.

+ 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