+ Reply to Thread
Results 1 to 5 of 5

IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

  1. #1
    Registered User
    Join Date
    06-24-2015
    Location
    Florida
    MS-Off Ver
    MS 13
    Posts
    3

    IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

    Hello, I'm trying to figure out how to use the IF function or any function for that matter to grab info from a row if its true, but then if the next one is false, instead of giving me a blank line, it would skip to the next TRUE row. I do not want this to be done by creating filters. I need a formula for this.


    See attached


    Also, I do not know very intricate formulas so when you post one please tell me exactly what the formula is telling me to do please

    Something like: "The formula is telling excel to do this while doing that because of this part of the formula...and then it's saying to do this because of this part..."

    Thank you! please help!
    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
    28,146

    Re: IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

    See attached ....
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    02-22-2013
    Location
    London, UK
    MS-Off Ver
    Office 365
    Posts
    1,218

    Re: IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

    Can't get the date for credit to work, but as an example try this in the following cells:

    S7: =IFERROR(INDEX($B$3:$F$20,AGGREGATE(15,6,(ROW($B$3:$F$20)-ROW($B$2))/(LOWER($C$3:$C$20)="cash"),ROWS($B$3:B3)),COLUMNS($B$3:B3)),"")

    T8: =IFERROR(INDEX($B$3:$F$20,AGGREGATE(15,6,(ROW($B$3:$F$20)-ROW($B$2))/(LOWER($C$3:$C$20)="cash"),ROWS($B$3:E3)),COLUMNS($B$3:E3)),"")

    U8: =IFERROR(INDEX($B$3:$F$20,AGGREGATE(15,6,(ROW($B$3:$F$20)-ROW($B$2))/(LOWER($D$3:$D$20)="cash"),ROWS($B$3:F3)),COLUMNS($B$3:F3)),"")

    any copy down.

    Hope this helps.

    //berlan

  4. #4
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Re: IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

    I can't post workbooks from my job...
    But

    Using your posted workbook.
    Debit Date formula
    Please Login or Register  to view this content.
    Debit Amount formula
    Please Login or Register  to view this content.
    Credit Amount formula
    Please Login or Register  to view this content.
    Credit Date formula
    Please Login or Register  to view this content.
    Adjust range references to match your situation.
    Copy those formulas down as far as you need.

    Those formulas allow for other accounts to have posting activity mixed in with the Cash and Inventory.

    Is that something you can work with?
    Last edited by Ron Coderre; 06-25-2015 at 04:10 PM.
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  5. #5
    Registered User
    Join Date
    06-24-2015
    Location
    Florida
    MS-Off Ver
    MS 13
    Posts
    3

    Re: IF FALSE, SKIP TO NEXT TRUE ROW - Need formula, not filters

    thank you guys! I will try this as soon as I get a chance. Won't mark as solved yet

+ 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] Skip "False" in IF and continue numbering in cell until True match, then move down cell
    By simonfinnerty in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2015, 06:06 PM
  2. Help with TRUE/FALSE formula
    By mikkelno in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-28-2014, 12:31 PM
  3. What is best to use for helper cells 0 or 1, typed true or false or =true =false
    By Gingermuppet in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-20-2014, 10:41 PM
  4. [SOLVED] in this TRUE OR FALSE function, i want desired name instead of display true or false
    By vengatvj in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-15-2013, 06:44 PM
  5. Replies: 3
    Last Post: 03-15-2006, 11:00 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