+ Reply to Thread
Results 1 to 6 of 6

Formula that takes info, then finds name, searches for name in another, then enters date

  1. #1
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Formula that takes info, then finds name, searches for name in another, then enters date

    Hi everyone,
    So I looked all over for something similar and couldn't find anything quite like what I needed. I've tried many different Formulas and just can't figure it out.

    So I'm looking for a formula that looks in sheet 2, if column B says Yes, it looks at the name in column A, it then finds the name in sheet 1 column A and enters date in column B in sheet 1 as well.


    For example:

    Sheet 1
    column A column B
    Sheridan Morris
    William Smith

    Sheet 2
    column A column B
    Sheridan Morris 1
    William Smith 0


    Sheet 2 has the name in column A and a number 1 or 0 in column B(I have a bunch of other formulas in play that is why it will be a number 1 or 0 just for easier calculations). I want the formula to say, if there is a number 1 in column B(Sheet 2), it then looks at the name in column A(Sheet 2) and finds that exact name in Sheet 1 column A, then enters today's date in column B(Sheet 1).

    The wanted end result:

    Sheet 1
    column A column B
    Sheridan Morris 05/08/2014
    William Smith N/A

    Sheet 2
    column A column B
    Sheridan Morris 1
    William Smith 0


    I hope this makes sense so if not please just say something and any help is much appreciated, thank you!
    Last edited by Wiggyknows; 05-13-2014 at 05:35 PM. Reason: Solved

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Formula that takes info, then finds name, searches for name in another, then enters da

    Hi there. I think that this is what you asked for...
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Formula that takes info, then finds name, searches for name in another, then enters da

    Let's attach the attachment, this time!!
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula that takes info, then finds name, searches for name in another, then enters da

    Thanks Glenn! so I keep inputting that into my spredsheat, changing the column ranges and I it just keeps returning 0 for some reason... Here is what I have:

    =IFERROR(IF(INDEX(Sheet2!$R$6:$R$20,MATCH(Sheet1!B276,Sheet2!$O$6:$O$20,0))=1,NOW(),"0"),"0")

    The names in Sheet 2 are on lines R6-R20. The name in Sheet 1 is on the line B276 and the number 1 or 0 is on lines O6-O20.
    Is there something I'm missing?

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: Formula that takes info, then finds name, searches for name in another, then enters da

    I'm losing the plot a bit here. the answer is obvious, but it's taken me 20 mins to spot it. The INDEXfunction is meant to return either the 1 or the 0. Your transposition of my formaul has a slight error.

    So, using your cell references, use:

    Formula: copy to clipboard
    Please Login or Register  to view this content.



    OK now??

  6. #6
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Formula that takes info, then finds name, searches for name in another, then enters da

    Glenn, you sir are a life saver!!! This will save us hours of time per week, thank you so much!!

+ 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] Create formula that takes a portion of text and searches another worksheet for item
    By Nicole Matthews in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2013, 03:56 PM
  2. Replies: 5
    Last Post: 12-12-2012, 10:38 PM
  3. [SOLVED] Formula that takes takes out a specific word/number from text string
    By ncalvelo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-29-2012, 10:21 AM
  4. macro that finds variables in one column and enters values if variables found
    By xln00b in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-07-2010, 08:22 AM
  5. Formula That Finds Info On A Different File?
    By natepen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-08-2006, 02:06 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