+ Reply to Thread
Results 1 to 6 of 6

Another skip if false question

Hybrid View

johnsilverside Another skip if false question 04-15-2015, 03:11 PM
TMS Re: Another skip if false... 04-15-2015, 03:49 PM
6StringJazzer Re: Another skip if false... 04-16-2015, 09:41 AM
TMS Re: Another skip if false... 04-16-2015, 09:56 AM
6StringJazzer Re: Another skip if false... 04-16-2015, 11:02 AM
johnsilverside Re: Another skip if false... 04-17-2015, 12:00 PM
  1. #1
    Registered User
    Join Date
    04-15-2015
    Location
    az
    MS-Off Ver
    07
    Posts
    2

    Another skip if false question

    Hello guys,

    Just ran into another typical skip if false questions. Ive found solutions for similar questions in the forum but guess am not smart enough to apply them onto my current project. So I thought might open another thread.

    Here's what I have:
    On first sheet, I will have all policy records since created,
    Then, i want to transfer let's say everything in Jan 2015 to the "January chart" in second sheet, and all policy in Feb 2015 to the "Feb Chart" so on and so forth for years.

    So I have two questions here,
    first, when I put in

    =IF('Policy Input'!K2= "JAN", 'Policy Input'!A2) - Returns to False

    How can I make it ignore false and transfer the ones meet criteria only.

    second, I wonder if I can insert specific date range i.e.: 1/1/2015-1/31/2015 in the logical test instead of me manually input "Jan" in an extra column solely for the logical test purpose


    Thanks in advance for any insight and comments
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Another skip if false question

    You need to look at the structure of the IF function.
    Formula: copy to clipboard
    =IF("condition", "result if condition is TRUE", "result if condition is FALSE")


    You only have the result if condition is TRUE" part. Hence if the condition is not met, you just get FALSE rather than an output of your choosing.


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Another skip if false question

    The OP has a formula that either references desired data from another sheet, or shows FALSE. What he wants to do is to compress out the FALSE results so the destination just shows the desired data. (The fact that the result itself is FALSE is not the problem.)

    I see that you have posted to a VBA forum but have no VBA in your file and have not asked for a VBA solution. I have attached a solution that requires no VBA but does add a "helper" column in column G of "Total Page".

    You need to define what you want in the Month column of "Total Page". For example, for January the month should always be January so why do you need a column to show that for every transaction? I think you don't need this column at all.

    As for your date question, the solution for that is quite straightforward but what date do you need to consider? Submission Date or Issue Date? (Your column K doesn't really match your date data. Some rows have a Month shown but the dates are blank.)

    If you want a VBA solution then that is a different task, and I am more inclined to help solve problems in VBA solutions than to develop them from scratch.
    Attached Files Attached Files
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,494

    Re: Another skip if false question

    The OP has a formula that either references desired data from another sheet, or shows FALSE. What he wants to do is to compress out the FALSE results so the destination just shows the desired data. (The fact that the result itself is FALSE is not the problem.)
    Not sure who this is addressed to or what is meant. The IF formula is not complete. I was suggesting that the OP looks at the structure of an IF function and add whatever the FALSE part of it needs to be. I could have suggested
    Formula: copy to clipboard
    =IF('Policy Input'!K2= "JAN", 'Policy Input'!A2, "")
    but that may not be what is required.

    Regards, TMS

  5. #5
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Another skip if false question

    TMS, you are correct that the IF formula is missing the third parameter and that's why it returns FALSE, but I don't think he's asking how to suppress a FALSE result and show a blank instead. The problem is that if the condition in the IF evaluates to FALSE, he does not want that row to appear at all. My interpretation will be clearer if you see the example I attached. I am getting this interpretation from the thread title using the word "skip" and also "How can I make it ignore false and transfer the ones meet criteria only."

    Hopefully the OP will be back to clarify.

  6. #6
    Registered User
    Join Date
    04-15-2015
    Location
    az
    MS-Off Ver
    07
    Posts
    2

    Re: Another skip if false question

    Hi 6StringJazzer and TMS,

    Thank you so much for the Input.

    To TMS's question:

    The third part was intentionally left out b/c I tried "-", "", neither returned to my desired action. So I wanted to see if it will omit the answers that returned false if I just don't put anything, apparently it will return false.

    To Jazzer:
    Your interpretation was totally correct! And sorry for posting in the wrong section since I am not as inclined to an VBA solution due to the lack of my background knowledge. '

    The "Month" column in "Total Page" was originally designed as a helper where it will copy all the entry from the "Month" column locates in "Policy Input" sheet.
    Then the first column in "Total" sheet will copy all entries which passed logical test where it will copy name/policy/all that if the logical test for Jan return true.
    But all charts for different month in "Total Page" sheet will have all the entries because those returned false will be transferred as well, hence the obstacle I was inquiring in OP.

    In addition, I would love to go by Issue date for specific date range criteria.


    Some additional info I think would help clarify the problem I am facing:

    I was creating this excel for my boss and he wants to have a big excel spreadsheet where he can input all the policy and related information for record keeping. And because we are kind of a marketing firm and have different monthly promotion sent out (often based on the face amount of the written policy), so he wants the spreadsheet to be able to track policies by the writing agent or by the time frame (b/c every month we send out different promotion I guess), or whichever other way he wants it (this part I don't see big issue, just filter and advance filter).

    Further, because every month the promotion eligible criteria is different and he wants the spread sheet to automatically judge if any policy/agent is eligible for the promotion of that month/quarter/year, also he wants it to evolve and be tailored as the business keep going over a long course.

    Current structure is my optimal attempt so far with my very limited knowledge. If anyone feel like to chime in and is willing to shed some light in my immature project - deeply appreciated!


    Sorry for the ramble lol.

    Cheers!
    Last edited by johnsilverside; 04-17-2015 at 12:11 PM.

+ 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] If statement is false skip to next row
    By jmack549 in forum Excel General
    Replies: 13
    Last Post: 04-16-2015, 07:32 AM
  2. 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
  3. [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
  4. 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
  5. 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