+ Reply to Thread
Results 1 to 8 of 8

Condition fixed for text between two dates

Hybrid View

  1. #1
    Registered User
    Join Date
    01-04-2015
    Location
    Woking, England
    MS-Off Ver
    2010
    Posts
    72

    Condition fixed for text between two dates

    Sir,

    if end date are covered form 02.03.2015 to 05.03.2015 the value return is Meeting01. In-case Start date(05.03.2015) end date are covered next meeting from

    Meeting02 to Meeting05 the value return is 0.Start Date(A) End date(B) date are covered next month the value return is "Data Not Available form the table".

    if end end date are back date value return is "Check Entry".(Start Date 31.03.2015 but End Date is 28/03/2015).

    please help me.file attached.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    01-04-2015
    Location
    Woking, England
    MS-Off Ver
    2010
    Posts
    72

    Re: Condition fixed for text between two dates

    Sir.

    sorry previous thread data not mentioned.

    Data:

    Date Text
    01/03/2015 Meeting01
    02/03/2015 Meeting01
    03/03/2015 Meeting01
    04/03/2015 Meeting01
    05/03/2015 Meeting01
    06/03/2015 Meeting02

    Required Format:

    Start Date End Date Desired Results
    01/03/2015 01/03/2015 Meeting01
    02/03/2015 02/03/2015 Meeting01
    02/03/2015 02/03/2015 Meeting01
    03/03/2015 03/03/2015 Meeting01
    03/03/2015 03/03/2015 Meeting01
    04/03/2015 04/03/2015 Meeting01
    04/03/2015 10/03/2015 0
    04/03/2015 05/03/2015 Meeting01
    05/03/2015 06/03/2015 0
    05/03/2015 06/03/2015 0
    05/03/2015 05/03/2015 Meeting01

    if end date are covered form 02.03.2015 to 05.03.2015 the value return is Meeting01. In-case Start date(05.03.2015) end date are covered next meeting from

    Meeting02 to Meeting05 the value return is 0.Start Date(A) End date(B) date are covered next month the value return is "Data Not Available form the table".

    if end end date are back date value return is "Check Entry".(Start Date 31.03.2015 but End Date is 28/03/2015).

    please help me.file attached
    Attached Files Attached Files

  3. #3
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Condition fixed for text between two dates

    Hi,

    Try the following formula in C2:

    =IFERROR(IF(INDEX(Condition!A$5:B$35,MATCH(A2,Condition!A$5:A$35,0),2)=INDEX(Condition!A$5:B$35,MATCH(B2,Condition!A$5:A$35,0),2),INDEX(Condition!A$5:B$35,MATCH(A2,Condition!A$5:A$35,0),2),0),"Data Not Avalabile form the Table")
    See the attached file.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    01-04-2015
    Location
    Woking, England
    MS-Off Ver
    2010
    Posts
    72

    Re: Condition fixed for text between two dates

    cbatrody

    thanks for the reply sir.value return is perfect.expect row no 38.


    Start Date End Date cbatrody* formulas Required Format
    31/03/2015 28/03/2015 Meeting05 less than Date

    how do ignore back date entry.(Start Date 31/03/2015 End Date 28/03/2015)

    please help me.file attached.
    Attached Files Attached Files

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Condition fixed for text between two dates

    Modify the formula in C2 as following:

    =IFERROR(IF(A2<=B2,IF(INDEX(Condition!A$5:B$35,MATCH(A2,Condition!A$5:A$35,0),2)=INDEX(Condition!A$5:B$35,MATCH(B2,Condition!A$5:A$35,0),2),INDEX(Condition!A$5:B$35,MATCH(A2,Condition!A$5:A$35,0),2),0),"less than sale date"),"Data Not Avalabile form the Table")
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    01-04-2015
    Location
    Woking, England
    MS-Off Ver
    2010
    Posts
    72

    Re: Condition fixed for text between two dates

    its a amassing. thank you so much for your quickly response.

  7. #7
    Registered User
    Join Date
    01-04-2015
    Location
    Woking, England
    MS-Off Ver
    2010
    Posts
    72

    Re: Condition fixed for text between two dates

    return the value is perfect thanks you so much.

  8. #8
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Condition fixed for text between two dates

    You are welcome

    If that takes care of your question, please mark this thread as Solved by selecting Thread Tools --> Mark thread as solved.

+ 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. Blank Dates - Group by: fixed in 2010?
    By MelissaGregory in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-05-2014, 10:35 AM
  2. convert dates to a one fixed date
    By legolas in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 07-16-2013, 10:55 AM
  3. [SOLVED] IF Condition: two cells with dates and concatenation of corresponding 2 text cells
    By desibird in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 02-25-2013, 10:38 AM
  4. Fixed Width Text to Excel with fixed break lines.
    By jameel30 in forum Word Formatting & General
    Replies: 1
    Last Post: 08-10-2012, 08:57 PM
  5. Replies: 1
    Last Post: 06-25-2012, 12:45 AM
  6. Condition code cells that contains text and dates
    By virencm in forum Excel General
    Replies: 4
    Last Post: 12-30-2011, 06:35 AM
  7. Auto fixed dates in action log
    By jupfold in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-16-2009, 11:03 AM
  8. [SOLVED] Charting data against dates where dates are not at fixed intervals
    By PK in forum Excel Charting & Pivots
    Replies: 4
    Last Post: 06-16-2005, 01:05 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