+ Reply to Thread
Results 1 to 3 of 3

Seperating Open and Closed Status

  1. #1
    Forum Contributor
    Join Date
    04-09-2013
    Location
    Philippines, Manila
    MS-Off Ver
    Excel 2010
    Posts
    141

    Seperating Open and Closed Status

    Hi Everyone,

    I have a list of items which is identified as OPEN or CLOSED with corresponding Task No. per item. Is there a formula to choose only the task no. of OPEN items?

    EX.
    1 OPEN
    2 OPEN
    3 CLOSED
    4 CLOSED
    5 OPEN
    6 CLOSED

    The result should be 1,2 and 5

    Hope somebody could help me.

    Thank you in advance
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Seperating Open and Closed Status

    You can use this arrayed formula

    =IFERROR(INDEX($A$2:$A$7, SMALL(IF($B$2:$B$7="Open", ROW($B$2:$B$7)-ROW($B$2)+1),ROWS($A$1:$A1))),"") copied down
    ...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.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Forum Contributor
    Join Date
    04-09-2013
    Location
    Philippines, Manila
    MS-Off Ver
    Excel 2010
    Posts
    141

    Re: Seperating Open and Closed Status

    Got It Buddy... I will always remember this formula.. This will surely help me on my future problems

    Thanks again

+ 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. [SOLVED] VBA pull data from closed workbook depends upon header status !!! need help of experts
    By johnodys in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2013, 07:06 AM
  2. Open Workbook if closed, keep open if open, insert password
    By jwahl16 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-09-2013, 04:09 PM
  3. Make a Cell show the status of a contract - Active - Follow Up - Closed
    By excelmabel2013 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2013, 04:00 PM
  4. Replies: 4
    Last Post: 04-08-2012, 09:43 PM
  5. How make Module remember closed status in VBE?
    By Dan Williams in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-15-2006, 02:55 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