+ Reply to Thread
Results 1 to 6 of 6

Date/Week = Yes or No

  1. #1
    Forum Contributor
    Join Date
    01-14-2020
    Location
    Pakistan
    MS-Off Ver
    15
    Posts
    123

    Date/Week = Yes or No

    Hi,

    i have attached a sheet here as demo = i'm looking for vba code/formula that if in Sheet 2 - A date is showing for current week than automatically Sheet 1 shows yes otherwise show no. This is not for a specific week, it's ongoing.

    I wonder if someone can please guide me.
    thanks
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Date/Week = Yes or No

    You could use this formula...
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Date/Week = Yes or No

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however it has been brought to our attention that the same query has been posted on one or more other forums and you have not provided the required cross-post link(s) here.

    Please see Forum Rule #3 about cross-posting and adjust accordingly. Read this to understand why we (and other sites like us) consider this to be important.

    (Note: this requirement is not optional. No help to be offered until the link is provided.)

  4. #4
    Forum Contributor
    Join Date
    01-14-2020
    Location
    Pakistan
    MS-Off Ver
    15
    Posts
    123

  5. #5
    Forum Contributor
    Join Date
    01-14-2020
    Location
    Pakistan
    MS-Off Ver
    15
    Posts
    123

    Re: Date/Week = Yes or No

    THank you Guru
    but that wouldn't pick up specifically for person "A" and that's what I'm looking for the help please.

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.84 (24041420))
    Posts
    8,751

    Re: Date/Week = Yes or No

    see solution here
    https://www.mrexcel.com/board/thread...a-yes.1128979/

    =IF( SUMPRODUCT((Sheet1!A4:D599="ashina")*(Sheet1!E4:E599>=(INT((TODAY()-1)/7)*7+1))*(Sheet1!E4:E599<=(INT((TODAY()-1)/7)*7+7)))>0, "yes", "no")
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

+ 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. Replies: 5
    Last Post: 04-11-2017, 09:23 AM
  2. [SOLVED] Find where a specific week commencing date falls within a rolling10 week pattern
    By C J W in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-14-2017, 04:39 AM
  3. Replies: 13
    Last Post: 10-10-2014, 06:50 AM
  4. Receiving a date week by week depends on specific number?
    By ExcelBG in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-27-2013, 10:20 AM
  5. Replies: 0
    Last Post: 01-21-2013, 08:46 AM
  6. Replies: 14
    Last Post: 02-15-2012, 10:23 AM
  7. week start date and end date based on week number
    By aman1234 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-02-2009, 12:39 PM

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