Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have an eight-column Excel (for Mac, but don't think that matters)
sheet (i.e., columns "A" -"H") and am trying to write a macro that will look down the cells in Column "H" (about 10,000 rows of data) and, upon finding an empty cell ("target cell"), copy the contents (text) from the cell directly above that cell IF: --the "target" cell is empty; AND --the value of the same-row cells over in column "D" equal each other. In other words, an example: IF. in Column "H", Row 26 has a value of "Judge12", and Row 27 is empty, the macro should copy "Judge 12" from Row 26 to Row 27 in Column "H" AS LONG AS Rows 26 and 27 Column "D" both have the same value, e.g., "Smith." |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How to SUM entire column, but only when adjacent cell is not empty | Excel Worksheet Functions | |||
To copy values in a column relevant to text in an adjacent column? | Excel Worksheet Functions | |||
Copy empty cells from one workbook to another - Code | Excel Discussion (Misc queries) | |||
lineup equal values by inserting empty cells | Excel Discussion (Misc queries) | |||
VBA to copy to empty cell directly below a cell when analogous cells in different column have same value as each other? | Excel Programming |