+ Reply to Thread
Results 1 to 2 of 2

Skip cell if it does not meet the criteria

  1. #1
    Registered User
    Join Date
    02-17-2023
    Location
    Australia
    MS-Off Ver
    2016
    Posts
    1

    Skip cell if it does not meet the criteria

    Hi,

    I am currently working on a Gantt chart in excel.

    I am after a formula that skips over cells that do not meet the criteria which end up being blank.

    The current formula I am using is:

    =if(and(GanttChart!D:D>=DATE(2023,1,1),GanttChart!D:D<=DATE(2023,1,31)),GanttChart!D:D,"")

    The idea for this formula is to grab dates from column D in the "GanttChart" sheet and only display the ones that fall in January in the "January" sheet, disregarding all of the other ones.

    But when I drag the formula down it displays blank cells for the cells that don't meet the criteria (dates that are in February). This can be seen in cells D12 and D14.

    How do I remove these blank cells?

    I believe the formula I am looking for is =iferror(index... and so on but I can not wrap my head around it and get it working

    I am using google sheets as the formulas do not work on excel 2019 for some reason, but does on excel 2016 which I have on my work computer.

    Any help is appreciated.

    Screenshots included.

    January Sheet.PNGMain Sheet.PNG

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Skip cell if it does not meet the criteria

    1. screenshots can't be edited. No-one will want to retype your stuff. Please read the yellow banner (top) and attach a sample file.

    2. Confusion. Excel 2016, 2019 or GS. What Platfrom/product do you want this to work with? If it's GS, I will MOVE your thread to the GS sub-forum.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help 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. To skip specific cells if criteria does not meet
    By sparkerk5 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-06-2019, 02:28 AM
  2. IF formula - Skip rows that dont meet criteria
    By AusBec in forum Excel General
    Replies: 7
    Last Post: 09-03-2014, 09:52 PM
  3. Replies: 7
    Last Post: 07-07-2014, 09:48 AM
  4. [SOLVED] Skip cells and move onto next cell that don't meet criteria using IF fucntion in Excel
    By sprewett in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 07-06-2014, 07:49 AM
  5. Skip field if it doesn't meet FIND criteria
    By SWMagic in forum Excel General
    Replies: 3
    Last Post: 04-13-2014, 07:47 PM
  6. Formula to skip a cell if it does not meet criteria
    By viciann in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-07-2013, 12:17 AM
  7. VBA- deleting rows which contain cells that meet criteria, but skip alpha rows
    By cheapkid1 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2012, 08:49 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