Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I want to do the following : I have 1 column Let's say the value in cell A1 is "APPLE" Let's say the value in cell A15 is "PEACH" Let's say the value in cell A19 is "BANANA" The cells between these cells are empty. Example : A1 APPLE A2 A3 A4 A5 A6 A7 A8 A9 A10 A11 A12 A13 A14 A15 PEACH A16 A17 A18 A19 BANANA A20 ....... Now i want that the cells A2 to A14 contain the value of cell A1, in this case "APPLE" I want that the value in cells A16 to A18 contain the value of cell A15, in this case "PEACH" I want that the value in cells A19 to A... (the empty cell before the next non empty cell in this column) contain the value of cell A19, in this case "BANANA" The result should be this : A1 APPLE A2 APPLE A3 APPLE A4 APPLE A5 APPLE A6 APPLE A7 APPLE A8 APPLE A9 APPLE A10 APPLE A11 APPLE A12 APPLE A13 APPLE A14 APPLE A15 PEACH A16 PEACH A17 PEACH A18 PEACH A19 BANANA A20 BANANA Of course the row numbers int this example are fictional, they could be any value..... Can someone provide me with sompe code to do this. Thanxxxxx Luc -------------------------------------------------------------------------------- Mijn Postvak In wordt beschermd door SPAMfighter 314 spam-mails zijn er tot op heden geblokkeerd. Download de gratis SPAMfighter vandaag nog! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Autofill column from data (code) in column next to it | Excel Worksheet Functions | |||
I can't autofill cells in a column if blank cells in between | Excel Worksheet Functions | |||
how to autofill a consecutive cells in a column? | Excel Worksheet Functions | |||
how to autofill a consecutive cells in a column? | Excel Discussion (Misc queries) | |||
Autofill: Need to autofill one week block, (5) weekday only into cells. | Excel Discussion (Misc queries) |