+ Reply to Thread
Results 1 to 8 of 8

Return True or False for set range of criteria

  1. #1
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Return True or False for set range of criteria

    Hello all and thanks for taking the time to help

    I am looking for a formula to give me a "1" or "0" when something has been posted on a date.

    In cell m4 "Weekly plan" I would like to check if cell c4 & d4 have a matching "stop date" to m3 in shop floor clockings sheet and return a 1 or 0 based on if there is a match.

    Please let me know if further explanation is required
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,948

    Re: Return True or False for set range of criteria

    You have not given us any manually mocked up results to show what you want to achieve, as far as I can see. Please do so and post the file again.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Re: Return True or False for set range of criteria

    I have updated the attachment to show where there should be "0" and "1".
    Attached Files Attached Files

  4. #4
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return True or False for set range of criteria

    Hi

    Try this formula in M4 and drag down and forward
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20

    Re: Return True or False for set range of criteria

    Jose, thank you for your help.

  6. #6
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return True or False for set range of criteria

    You are welcome.

    Thanks for the rep and feedback.

  7. #7
    Registered User
    Join Date
    05-04-2019
    Location
    London, England
    MS-Off Ver
    2018
    Posts
    20
    Hello José, I tried loading this onto my sheet with over 3000 lines and it seems to be struggling with the calculation. Have you any ideas on how to speed this up or get the same result with a lite version?

  8. #8
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Return True or False for set range of criteria

    Hi

    Try this solution:
    1) Helper column in 'Shop Floor Clockings'!BM2 (drag down)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    2) In 'Weekly Plan'!M3 (drag forward)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    3) In 'Weekly Plan'!M4 (drag down and forward)
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Note: I suppose 'Shop Floor Clockings'!BM is a empty column

    See the file
    Attached Files Attached Files

+ 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] Return True or False based on two criteria
    By Chris_Montgomery in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-18-2018, 08:30 AM
  2. Return TRUE/FALSE from multiple/complex range and set BG color
    By sika85 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-24-2015, 08:48 AM
  3. [SOLVED] Need to Return True / False if Specific Criteria Met Between Worksheets in Same Workbbok
    By ImHorhay in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-04-2014, 08:10 PM
  4. [SOLVED] True & false - range criteria
    By jani.pk in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-08-2014, 12:21 PM
  5. Search Range and return True or False
    By Grimace in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-11-2010, 06:41 PM
  6. Replies: 3
    Last Post: 05-29-2009, 05:42 AM
  7. Replies: 2
    Last Post: 05-29-2009, 04:35 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