• 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 or index help

drewmiller

New Member
I've searched the site for a similar solution, but can not find anything.

Basically I want to do this:

If any part of A3 contains the value in row "codes2", populate the corresponding value in row "month", and place that value in cell B3

A3= "2014_09_Drop2_Reminder"

Search in "codes2" for value (in this case it would be "09")

Find corresponding value in "month" (in this case it would be "SEP")

Place that value ("SEP") in cell B3

Thanks in advance!!
 
If you are looking to return month, then you can use without a lookup table,

=TEXT(MID(A3,6,2)*28,"mmm")

Hi,
Haseeb
could you please explain the method multiplying by 28, i think it convert into serial no but i am not sure. and any method for year and day ????
 
Hello Ramesh,

In A1 enter: =ROW(A1)*28

and copy to A12. Then format as m/d/yyyy. Now you can see dates like, 1/28/1900;2/25/1900....12/1/1900 (If you are using 1904 date system, will be 1904 rather than 1900). Because excel store dates in serial numbers. first date is 1/1/1900 which is 1...

If we format all these dates as "mmm" will show just months.
 
Back
Top