![]() |
Formula or Macro
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 |
Formula or Macro
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 |
All times are GMT +1. The time now is 11:16 PM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com