+ Reply to Thread
Results 1 to 14 of 14

Create a list on a new sheet excluding dates

  1. #1
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Question Create a list on a new sheet excluding dates

    Hi There,

    Attached is my sample workbook.

    I am trying to create a list from my follow up tracker on a new sheet.

    On the new sheet I want to list all Patients on 'Follow Up Tracker' sheet that do not have dates in column B.

    The formula I have in Sheet 1, column A, doesn't seem to work because on 'Follow Up Tracker', the column B is formatted as a date.

    I am looking for a workaround that keeps Column B formatted as a date but still lists all patients on the new sheet that do not have date values.

    I hope I am clear enough, if you have any questions, please ask.

    Any help is appreciated.
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    Perhaps I don't understand the question, but is filtering an option? Excluding the dates?

    Cheers
    Erwin
    Attached Images Attached Images
    I started learning VBA because I was lazy ...
    Still developing.... being more lazy...

  3. #3
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Re: Create a list on a new sheet excluding dates

    Hi,

    Thanks for the suggestion but I don't want to filter.

    On Sheet 1, I want to automatically list the patients that do not have dates in Column B on "Follow Up Tracker" sheet.

  4. #4
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    Maybe this is a solution:
    I made a pivot-table, checking on numbers (date is a number) and filtering them out, next to that pivot a VLOOKUP-function.
    You only have to refresh the pivot <ALT-F5> when the Master is changed.

    Cheers
    Erwin

  5. #5
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Re: Create a list on a new sheet excluding dates

    Hi Erwin,

    Your solution seems to work.

    However, this is a workbook that I will be sharing across multiple users in my company and they will all be working in it.
    To train them to refresh will be an extra task of its' own (People just don't listen sometimes).

    I was really hoping I could automate everything for them.

    I really would just like a working array formula.

    I'm sorry to be such a picky person.

  6. #6
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    I am not good at that, maybe somebody can help you with that,
    but I can/have automate(d) the update of the pivot, on the background.

    Cheers
    Erwin

  7. #7
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Re: Create a list on a new sheet excluding dates

    Erwin, I appreciate your time and help.

    Maybe someone else can help. Pivots don't seem like the right solution for the excel noobs that are my coworkers.
    I was hoping to use an array formula and protect the sheet after so no formula changes can be made.

  8. #8
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Create a list on a new sheet excluding dates

    Hi HelpWanted2020,

    Solutions can come in many different forms and Erwin's suggestion with a pivot table seems appropriate; however, we do understand it's sometimes hard to get your solution across to others.

    Anyway, here's a solution with a helper column that might work for you. But in reality, if we use a helper column, why not just filter the new column to a 1.

    Row 859 and 934 both have dates, but they also have text in the cell making them both text.
    Attached Files Attached Files
    HTH
    Regards, Jeff

  9. #9
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    Hi, just learned a few new things, thanks to this forum, better than an array-formula, and I came up with following:
    Please Login or Register  to view this content.
    the length of the list is now 947 lines but you can adapt the formula to your own needs.

    Cheers
    Erwin
    Last edited by Eastw00d; 03-25-2020 at 05:24 PM.

  10. #10
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Create a list on a new sheet excluding dates

    @ Erwin. I cannot upload your file. I get a forum error message. Can you try again?

    Similar to Erwin's .... also eliminates blanks and strings which start with a date.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  11. #11
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    @Dave: Super!

    Cheers
    Erwin
    Last edited by Eastw00d; 03-26-2020 at 01:19 AM.

  12. #12
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Re: Create a list on a new sheet excluding dates

    Hi Eastw00d

    Love this solution. I have a follow up question.

    In addition to only wanting columns without dates, I have another column I want to use.

    This column contains number values only and I want this to be checked when making the list on Sheet 1

    I would like the list in sheet 1 to only include people with no date in column B on Follow up Tracker sheet and the value column F on Follow up Tracker sheet to be above 3.

    Pretty sure I have to throw an AND in there somewhere but not sure where.

  13. #13
    Valued Forum Contributor Eastw00d's Avatar
    Join Date
    02-29-2020
    Location
    Breda, NL
    MS-Off Ver
    2016, 2019
    Posts
    833

    Re: Create a list on a new sheet excluding dates

    No "AND" this time, as you want it to be part of the condition:
    Please Login or Register  to view this content.
    to copy down in column A of Sheet1.
    Cheers
    Erwin
    Last edited by Eastw00d; 04-23-2020 at 04:05 PM.

  14. #14
    Registered User
    Join Date
    03-25-2020
    Location
    Canada
    MS-Off Ver
    Office 2019
    Posts
    6

    Re: Create a list on a new sheet excluding dates

    It works great in Excel!

    I tried it in Google Sheets and there must be a feature missing!

    Guess I'll be switching my team to Excel sharing. lol

+ 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] Networkdays - excluding weekend and custom list of dates
    By godlev in forum Excel General
    Replies: 2
    Last Post: 12-05-2018, 06:38 AM
  2. [SOLVED] Create combobox .list excluding some columns
    By Hammer_757 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 12-28-2012, 06:25 PM
  3. VBA - List Dates excluding Weekends and Holidays
    By tykhoo in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 11-01-2012, 11:13 PM
  4. [SOLVED] Create a list excluding cells with a certain value
    By bluehour84 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-04-2012, 02:33 PM
  5. Create New Count List Excluding Duplicates
    By Scudder93 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 05-11-2012, 10:33 AM
  6. Excluding dates from a list
    By madbloke in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-31-2011, 10:12 AM
  7. List Dates Excluding Holidays but Including weekends
    By GuyHudson in forum Excel General
    Replies: 6
    Last Post: 09-22-2010, 05:58 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