mercmannick
Well-known Member
- Joined
- Jan 21, 2005
- Messages
- 730
hi
i have this formula
which i use to get weeknumber
which i then use this
where H2 has the year in "2006" and I2 has the formula above in.
to give me the date in this format 16.2006
i then use a vlookup on this date value being the lookup value from table array on another sheet
the problem i am getting is in the vlookup box it recognises as 16.2006 , but returns a #n/a , if i manually put date in it is fine
Any Suggestions ( and is there an easier way to get the date in the format i want)
www.vbaexpress.com/forum/showthread.php?p=62765#post62765
Regards
Merc
i have this formula
Code:
=WEEKNUM(TODAY(),1)
which i use to get weeknumber
which i then use this
Code:
=IF($I$2<10,$H$2&".0"&$I$2,$I$2&"."&$H$2)
where H2 has the year in "2006" and I2 has the formula above in.
to give me the date in this format 16.2006
i then use a vlookup on this date value being the lookup value from table array on another sheet
the problem i am getting is in the vlookup box it recognises as 16.2006 , but returns a #n/a , if i manually put date in it is fine
Any Suggestions ( and is there an easier way to get the date in the format i want)
www.vbaexpress.com/forum/showthread.php?p=62765#post62765
Regards
Merc