Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have date and seven random numbers on sheet2
Sat, March 25, 2006 10 21 24 26 30 42 35 etc. on down. . . . On sheet1, I would like to copy in correct position to Column Headings column headings run Date, 1... thru 39 So number 10 would be placed in Column K (col 11) Sheet1 Like so Number 21 on sheet2 be placed in the correct column in sheet1 Column U (col 22) And so down the rows in sheet2 The date will always be in column A(col 1) With Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
smandula:
With Sheet1.Range("A1") For Each rCell in Sheet1.Range("A1:H1") If IsDate(rCell.Value) Then .Value = rCell.Value Else .Offset(0,rCell.Value).Value = rCell.Value End If Next rCell End With -- Dick Kusleika MS MVP - Excel www.dailydoseofexcel.com smandula wrote: I have date and seven random numbers on sheet2 Sat, March 25, 2006 10 21 24 26 30 42 35 etc. on down. . . . On sheet1, I would like to copy in correct position to Column Headings column headings run Date, 1... thru 39 So number 10 would be placed in Column K (col 11) Sheet1 Like so Number 21 on sheet2 be placed in the correct column in sheet1 Column U (col 22) And so down the rows in sheet2 The date will always be in column A(col 1) With Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Auto correct/update values in two related columns | New Users to Excel | |||
Dup check 2 columns - need it to delete correct one | Excel Worksheet Functions | |||
Correct formating for columns with numbers such as 01, 02, 03 etc | Excel Discussion (Misc queries) | |||
Instructions to convert columns to rows Excel help are not correct | Excel Worksheet Functions | |||
Adding columns to get correct results | Excel Programming |