+ Reply to Thread
Results 1 to 4 of 4

how to perform 2 consecutive conditional formulas for same row

  1. #1
    Registered User
    Join Date
    12-21-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    how to perform 2 consecutive conditional formulas for same row

    I am new to the forum but I am trying to learn how to set some conditions for identifying trends. there are two trends I am trying to track, one if there are any 3 consecutive months where the score was >0, and the other was if there two occurrences of 2 consecutive months (tracking area 1 has that example), tracking area 2 shows the three months in a row, and tracking area 3 did not meet either. It doesn't mater if meets both in same row I only need to identify if yes or no. You guys would be life saves id you can come up with this, potentially if cannot combine two, maybe have another column after cond met for the second trend pattern I am looking for.
    Attached Files Attached Files
    Last edited by Curt108; 12-21-2013 at 03:07 PM. Reason: formating isssues

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: how to perform 2 consecutive conditional formulas for same row

    welcome to the forum, Curt. you can try this array formula in P4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you mentioned 3 consecutive months & 2 occurrences of 2 consecutive months. so i did exactly that. if you want 3/2 or more, then add in the > sign like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    a merry Christmas to you in advance!

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    12-21-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: how to perform 2 consecutive conditional formulas for same row

    Quote Originally Posted by benishiryo View Post
    welcome to the forum, Curt. you can try this array formula in P4:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    you mentioned 3 consecutive months & 2 occurrences of 2 consecutive months. so i did exactly that. if you want 3/2 or more, then add in the > sign like this:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Press F2 on that cell and try again.

    a merry Christmas to you in advance!
    This is awesome Benishiryo, I tested both versions and it seemed your second one worked like a dream, this means a lot, Merry Christmas to you and yours you sure made mine

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: how to perform 2 consecutive conditional formulas for same row

    Don't quote whole posts -- it's just clutter. If you are responding to a post out of sequence, limit quoted content to a few relevant lines that makes clear to whom and what you are responding.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 6
    Last Post: 04-28-2012, 08:50 AM
  2. Fill columns with formulas containing non-consecutive numbers
    By dmva in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 12-09-2010, 05:20 PM
  3. Replies: 0
    Last Post: 08-14-2006, 05:00 AM
  4. Update Formulas on Consecutive Sheets in a Range
    By David in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2005, 07:00 PM
  5. Consecutive Date Formulas
    By Codye in forum Excel General
    Replies: 1
    Last Post: 04-14-2005, 12:06 PM

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