+ Reply to Thread
Results 1 to 5 of 5

Need a Formula that displays the relevent date after checking the day entered as text

  1. #1
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Need a Formula that displays the relevent date after checking the day entered as text

    Hi I am having a problem displaying the relevent date for a day entered as text.

    I have a dynamic start and end date that shows the Monday and Friday dates for the chosen week, I have a text entered day that I need a formula to match the correct date against the entered day.

    Please see the example sheet for details and desired outcome.

    Thanks in advance.

    JD
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor AZ-XL's Avatar
    Join Date
    03-22-2013
    Location
    Azerbaijan, Baku
    MS-Off Ver
    Excel 2007
    Posts
    603

    Re: Need a Formula that displays the relevent date after checking the day entered as text

    Hi
    Paste this formula to c6 cell
    =MATCH(A6,TEXT(ROW(INDIRECT(VALUE(A2)&":"&VALUE(B2))),"dddd"),0)-1+A2

    Its an array. Hit Ctrl+Shift+Enter
    Appreciate the help? CLICK *

  3. #3
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Need a Formula that displays the relevent date after checking the day entered as text

    Hi,

    One way -see attached

    uses
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    with a drop down validation in A6 to assist entry.
    Attached Files Attached Files
    Last edited by Richard Buttrey; 03-21-2014 at 04:49 AM.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  4. #4
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Need a Formula that displays the relevent date after checking the day entered as text

    or you could use
    =INDEX(ROW(INDIRECT(A2&":"&B2)),MATCH(A6,TEXT(ROW(INDIRECT(A2&":"&B2)),"DDDD"),0)) or

    =SUMPRODUCT(--(TEXT(ROW(INDIRECT(A2&":"&B2)),"DDDD")=A6),ROW(INDIRECT(A2&":"&B2)))
    Last edited by hemesh; 03-21-2014 at 04:50 AM.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  5. #5
    Forum Contributor
    Join Date
    04-02-2010
    Location
    penrith
    MS-Off Ver
    Excel 2007
    Posts
    522

    Re: Need a Formula that displays the relevent date after checking the day entered as text

    Thanks guys great answers - going to go with Richard Buttrey's for simplicity.

    Thanks again

    JD

+ 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] Formula Needed to auto populate current date when text entered into a cell
    By excelteam777 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-15-2013, 09:50 PM
  2. [SOLVED] Formula that displays the oldest date and earliest date
    By mrcois in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 04-20-2012, 12:22 AM
  3. Transfer data relevent to date
    By KandK in forum Excel General
    Replies: 7
    Last Post: 05-01-2006, 03:10 AM
  4. Transfer data relevent to date
    By KandK in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 04-23-2006, 07:15 AM
  5. formula displays, not the text
    By mike in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-30-2005, 10:25 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