• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Vlookup question

Belleke

Well-Known Member
When I fill date paid on in sheet 2 column B iwant to fill column I on sheet1 automatically with the dates.
See example.
Thanks in advance.
 

Attachments

  • Chandoo help.xlsx
    11.5 KB · Views: 9
hi,you can use this
Code:
=LOOKUP(2,1/('Sheet 2'!$D$3:$D$160=$D5),'Sheet 2'!$B$3:$B$160)
or this
Code:
=VLOOKUP(D3,CHOOSE({2,1},'Sheet 2'!$B$3:$B$6,'Sheet 2'!$D$3:$D$6),2,0)
 
Formula 1 works but when there is not a date filled yet it puts 0/01/1900 as date, when there is no date filled in then the cell should stay empty
Thanks in advance
 
Back
Top