Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I need to write a formula or macro that would allow me to do the follow:
If cells $F$3:$F$70 contain "Very High" and cells $G$3:$G$70 contain "Very High" in sheet1 I need the whole line A:K to be repeated on sheet2. How do I do it please? Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Untested
For i = 3 To 70 If Cells(i, "F").value = "Very High" And _ Cells(i, "G").Value = "Very High" Then NextRow = NextRow + 1 .cells(i, "A").Resize(,11).Copy Worksheets("Sheet2").Cells(NextRow, "A") End If Next i -- __________________________________ HTH Bob "Eán" wrote in message ... I need to write a formula or macro that would allow me to do the follow: If cells $F$3:$F$70 contain "Very High" and cells $G$3:$G$70 contain "Very High" in sheet1 I need the whole line A:K to be repeated on sheet2. How do I do it please? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MACRO or FORMULA | Excel Worksheet Functions | |||
How do I add a formula to a macro? | Excel Discussion (Misc queries) | |||
Formula or Macro | Excel Discussion (Misc queries) | |||
Macro with formula | Excel Worksheet Functions | |||
Macro and Formula | Excel Worksheet Functions |