Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hello evrybody.......
i m trying to fix this prblem for last few days i have data in col.A , col.B, say i hav 10 values [in cloumns above] and wat i wanted to do with these values is to copy in different columns "based on condition" "My conditions is " For Each r In myRange d = Sqr((r.Value - r.Offset(-1, 0).Value) ^ 2 + (r.Offset(0, 1).Value - r.Offset(-1, 1).Value) ^ 2) If Abs(d) 10 Then then copy them to col.C, col.D and so on say if first 5 values satisfy that condition then copy them to col.C, col.D NOW if 6 value donot satsfi the condition then copy it to columnE n the condition is satisfied upto 8 value so copy the value of colA , colB in =====ColE,ColF again 9 value do not satisfy copy it to next column ColmnG , ColH hope i get some help from this forum waiting 4 ur replys Many thanx in advance |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Pasting data with hidden columns | Excel Worksheet Functions | |||
Pasting columns | Excel Discussion (Misc queries) | |||
Copy and pasting on columns but on spreadsheet with alot of data | Excel Discussion (Misc queries) | |||
Pasting Columns | Excel Discussion (Misc queries) | |||
Pasting on Filtered Data Sheets without pasting onto hidden cells | Excel Discussion (Misc queries) |