+ Reply to Thread
Results 1 to 4 of 4

Is there a formula for "columns must contain"

  1. #1
    Registered User
    Join Date
    07-12-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2003
    Posts
    3

    Is there a formula for "columns must contain"

    I work at a hospital and we have several shifts. I assigned each shift a number. Day Shift is 1, Night Shift is 2, etc. We have 10 different shifts.

    I am trying to make a work schedule to make sure I have enough coverage. I list all of the employees in column 1. At the top going across are the days of the week. So, say on Mondays I need shift 1,3,4,6 covered. Mary will cover shift 1, Susie will cover shift 3, John will cover shift 4, Bob will have 6.

    Is there a formula that says "this column must contain a 1,3,4,6"?

    That way, if I forgot to put someone on shift 6, I will get an error and realize I need to find someone to work shift 6. On my attached example, I forgot to cover shift 6 on Monday, so I want it to tell me there is an error.

    Thanks for helping a newbie.

    Sherri
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    07-12-2012
    Location
    Oregon
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Is there a formula for "columns must contain"

    OMG, wrong forum, sorry!

  3. #3
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Is there a formula for "columns must contain"

    Hi Sherri,

    Welcome to the forum.

    Please see the data validation in first data column and test the same .. thanks.

    Challenge.xlsx

    Regards,
    DILIPandey

    <click on below 'star' if this helps>
    DILIPandey, Excel rMVP
    +919810929744 (India), +971528225509 (Dubai), [email protected]

  4. #4
    Forum Expert dilipandey's Avatar
    Join Date
    12-05-2011
    Location
    Dubai, UAE
    MS-Off Ver
    1997 - 2016
    Posts
    8,191

    Re: Is there a formula for "columns must contain"

    Yes.. I just noticed that this is incorrect forum.. please get in touch with any of the available MODs to correct this :-

    http://www.excelforum.com/showgroups.php

    Regards,
    DILIPandey


    <click on below 'star' if this helps>
    Attached Files Attached Files
    Last edited by dilipandey; 07-12-2012 at 02:11 AM. Reason: link corrected

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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