Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Dates?
In column J I have dates in the format mm/dd/yy ... then across row 5 I have
monthes in the form month/yy (i.e. Apr-09). If a date in column J reads 05/16/09 , I want to place the certain text in the column corresponding with May-09 (in the row that reads 05/16/09). Does that make sense? Any help? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Dates?
I'm sure this macro will not do exactly what you want, but try it and come
back with corrections you want. Otto Sub PlaceCertainText() Dim rColJ As Range Dim i As Range Set rColJ = Range("J6", Range("J" & Rows.Count).End(xlUp)) For Each i In rColJ Cells(i.Row, Month(i)) = "Certain text" Next i End Sub "lightbulb" wrote in message ... In column J I have dates in the format mm/dd/yy ... then across row 5 I have monthes in the form month/yy (i.e. Apr-09). If a date in column J reads 05/16/09 , I want to place the certain text in the column corresponding with May-09 (in the row that reads 05/16/09). Does that make sense? Any help? |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Dates?
=TEXT(J5,"MMM""-""yy")
should work greetings from New Zealand "lightbulb" wrote in message ... In column J I have dates in the format mm/dd/yy ... then across row 5 I have monthes in the form month/yy (i.e. Apr-09). If a date in column J reads 05/16/09 , I want to place the certain text in the column corresponding with May-09 (in the row that reads 05/16/09). Does that make sense? Any help? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
compare 2 tables of dates to find the preceding dates | Excel Worksheet Functions | |||
Identifying unique dates in a range of cells containing dates... | Excel Discussion (Misc queries) | |||
Identifying unique dates within a range of cells containing dates | Excel Discussion (Misc queries) | |||
need to convert list of dates to count no. of dates by week | Excel Worksheet Functions | |||
Calculating number of days between two dates that fall between two other dates | Excel Discussion (Misc queries) |