+ Reply to Thread
Results 1 to 5 of 5

False value, then skip to next line, etc.

Hybrid View

  1. #1
    Registered User
    Join Date
    04-19-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    16

    False value, then skip to next line, etc.

    I am trying to create a formula that will go to a column on another tab, determine if it matches a value, and if it does not match that value, instead of leaving the cell blank I would like it to skip to the next line down and determine if that cell has the value. I am not sure how to go about this, but I have attached an example workbook to make specific references.

    In the example attached:

    On the Measure Model tab, I would like for cell A2 (under Application Type) to enter the application type (A2 on the Data Dump tab) if the Status is 'Invoice Sent' from the Status column (B2 on the Data Dump tab). However, if the status is something other than Invoice Sent, instead of leaving cell A2 blank (on the Measure Model tab), I would like for it to skip to the next line on the Data Dump tab until it finds a line where Invoice Sent is the value in the Status column. Then skip to the next line until Invoice Sent is found again.

    I am not sure if I am explaining this well, feel free to follow up with questions. I appreciate all of your help. Thank you.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,882

    Re: False value, then skip to next line, etc.

    Do you want all "Invoice Sent" for a given Application listed?

    E.g. In your file for "Prescriptive" there are 5 "Invoice Sent" in the Status column.


    Updated


    Post a set of sample results ...
    Last edited by JohnTopley; 03-24-2016 at 12:02 PM.

  3. #3
    Registered User
    Join Date
    04-19-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: False value, then skip to next line, etc.

    I put in the results that would occur if I could get it to work with another explanation. I hope this helps!
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    30,882

    Re: False value, then skip to next line, etc.

    put this in A2

    =IFERROR(INDEX('Data Dump'!$A$2:$A$357,SMALL(IF('Data Dump'!$B$2:$B$357="Invoice Sent",ROW($A$2:$A$357)-ROW($A$2)+1,""),ROWS($A$2:A2))),"")

    Enter with Ctrl+Shift+Enter (Array formula)

    Copy down until you get blank cells

    This will list all applications with status of "Invoice Sent"

  5. #5
    Registered User
    Join Date
    04-19-2012
    Location
    Texas
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: False value, then skip to next line, etc.

    Yes! This is perfect, thank you.

+ 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] All in one line of code: ScreenUpdating=False, Calculation=Manua, DisplayAlerts=False
    By luv2glyd in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-13-2016, 03:10 PM
  2. Another skip if false question
    By johnsilverside in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-17-2015, 12:00 PM
  3. [SOLVED] If statement is false skip to next row
    By jmack549 in forum Excel General
    Replies: 13
    Last Post: 04-16-2015, 07:32 AM
  4. If statement is false skip to next row
    By jmmaldonadobruin in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-25-2014, 03:04 PM
  5. [SOLVED] How do I Skip a Row if the Value is False
    By coconnor in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-28-2012, 10:26 AM
  6. Skip the row if the logical test is false?
    By ridgelyiv in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-23-2011, 03:37 PM
  7. If false skip to next
    By irresistible007 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-17-2005, 07:10 AM

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