Attend Excelapalooza
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 4 of 4

Thread: Need to find specific dates and then return text result based on which column it was in

  1. #1
    New Member
    Join Date
    May 2018
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Need to find specific dates and then return text result based on which column it was in

    I am not sure which formula to use for this scenario. I've tried several and all seem to have some limitation. Here are the columns headers I have and the type of data
    Target Start Date A= 9/3/2018
    Open Date B= 7/2/2018
    Source Date C=7/16/2018
    Interview D= 7/30/2018
    Offer Date E=8/13/2018

    Columns B-E are all driven by formulas off of A. Obviously these are all in date format. I'm creating additional columns based on weeks of the year so F column header will 7/2/2018, G header will be 7/16/2018

    I need to create a formula that will look for a specific date in a specific row across all 5 columns and then return defined text depending on which column it is in.

    So in plain English I want the formula to read: Look for 7/2/2018 in A2, B2, C2, D2 and E2. If you find it in A2 return "Target Start", If you find it in B2 return "Open", If you find it in C2 return "Source " etc. If you don't find it return "n/a".

    Not exactly what I need for text but you get the idea. Help!




  2. #2
    Board Regular
    Join Date
    Jun 2014
    Location
    Oakland, CA
    Posts
    3,040
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Need to find specific dates and then return text result based on which column it was in

    Hi,

    Not sure if this is what you mean:

    ABCDEFGH
    1Target StartOpenSourceInterviewOffer7/2/20187/16/20187/17/2018
    29/3/20187/2/20187/16/20187/30/20188/13/2018OpenSource#N/A

    Sheet51



    Worksheet Formulas
    CellFormula
    F2=INDEX($A1:$E1,MATCH(F1,$A2:$E2,0))



    F2 formula copied across.

  3. #3
    New Member
    Join Date
    May 2018
    Posts
    2
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Need to find specific dates and then return text result based on which column it was in

    Thanks. I simplified what I had in my spreadsheet to focus on just this problem. When I make a simple spreadsheet with just the columns I outlined it works. But when I put it in and modify to reflect the actual cells etc in my spreadsheet is returns N/A. Not sure why. Does it matter that the dates in the cell are generated by other formulas?

  4. #4
    Board Regular
    Join Date
    Jun 2014
    Location
    Oakland, CA
    Posts
    3,040
    Post Thanks / Like
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)

    Default Re: Need to find specific dates and then return text result based on which column it was in

    Quote Originally Posted by Moxie425 View Post
    Does it matter that the dates in the cell are generated by other formulas?
    Yes, very possibly, the results of the Dates from your formulas need to be Real Date values in order to do additional Date/Math comparisons.

    If you can show the formula you're using to generate these dates, may be we can figure it out.

User Tag List

Tags for this Thread

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

 

DMCA.com