+ Reply to Thread
Results 1 to 7 of 7

Vlook up along with conditions

Hybrid View

arun.sj Vlook up along with conditions 10-17-2014, 06:40 AM
samba_ravi Re: Vlook up along with... 10-17-2014, 06:54 AM
arun.sj Re: Vlook up along with... 10-17-2014, 07:10 AM
samba_ravi Re: Vlook up along with... 10-17-2014, 07:27 AM
arun.sj Re: Vlook up along with... 10-17-2014, 08:00 AM
boopathiraja Re: Vlook up along with... 10-17-2014, 07:49 AM
samba_ravi Re: Vlook up along with... 10-17-2014, 08:11 AM
  1. #1
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    Vlook up along with conditions

    Hi Team,

    i have a report in such a way that there are so many status against the same name along with dates. Status like in progress, dropped, enrolled, not completed, planned, completed..

    Now in the second sheet i have the names and i am trying to get the final status against each names. if i am manually updating the final status i will do this - if there is a word called "Completed" against a name, the final staus is "Completed". If there is no word called "Completed" against the name in the entire sheet, the final status is "Not completed".

    i also need the date if the final status is "Completed".

    i am looking for formula that will give me the final status and the date.

    Sample data is attached in which the 1st sheet is the report with different status and the 2 nd sheet is where i am trying to update the final status and date.

    Kindly requesting to help.
    Attached Files Attached Files

  2. #2
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Vlook up along with conditions

    =IF(COUNTIFS(Dump!$A$2:$A$11,$A2,Dump!$C$2:$C$11,"Completed"),"Completed","Not Completed")
    Try this in Cell C2 and Copy towards down
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  3. #3
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    Re: Vlook up along with conditions

    Quote Originally Posted by nflsales View Post
    =IF(COUNTIFS(Dump!$A$2:$A$11,$A2,Dump!$C$2:$C$11,"Completed"),"Completed","Not Completed")
    Try this in Cell C2 and Copy towards down
    Siva - the formula worked perfectely as required.

    Can you also please help me with a formula to find the date if the final status is "Completed"

  4. #4
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Vlook up along with conditions

    =IF($C2="Completed",LOOKUP(2,1/((Dump!$A$2:$A$11=$A2)*(Dump!$C$2:$C$11=$C2)),Dump!$D$2:$D$11),"")
    Try this in D2 and copy towards down

  5. #5
    Forum Contributor
    Join Date
    06-05-2014
    MS-Off Ver
    Microsoft Office Professional Plus 2016
    Posts
    155

    Re: Vlook up along with conditions

    Quote Originally Posted by nflsales View Post
    =IF($C2="Completed",LOOKUP(2,1/((Dump!$A$2:$A$11=$A2)*(Dump!$C$2:$C$11=$C2)),Dump!$D$2:$D$11),"")
    Try this in D2 and copy towards down
    This formula worked

    But i have a challange in the date.. if there are 2 status called "Completed" for the same person with two different completion dates, which date would the formula take from sheet 1?

    i need the formula to take the latest date and ignore the old dates. is that possible to update the formula please.

  6. #6
    Forum Expert boopathiraja's Avatar
    Join Date
    07-12-2013
    Location
    Coimbatore,TamilNadu, India
    MS-Off Ver
    Excel 2007, 2013, 2016, 365
    Posts
    1,455

    Re: Vlook up along with conditions

    Hi Refer the attachment
    Attached Files Attached Files
    Click just below left if it helps, Boo?ath?

  7. #7
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,937

    Re: Vlook up along with conditions

    Last date will be taken as Completed Date

+ 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. Can a VLook up help me? Multiple conditions to return a value
    By mary012277 in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 09-19-2014, 01:43 AM
  2. vlook up with additional conditions - please help!
    By hayley b in forum Excel General
    Replies: 8
    Last Post: 08-09-2012, 08:24 AM
  3. how to do a Vlook up givin two conditions
    By Gabriela in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-30-2005, 10:25 PM
  4. vlook up
    By KL in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-06-2005, 07:05 AM
  5. [SOLVED] vlook up
    By Sean in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 01:05 AM

Tags for this Thread

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