Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Paste formula in a specified number of columns to the right
Hi
Thandk for the help. I am using the illustration below to explain my problem. 1 2 3 4 5 6 7 8 9 1 "Value1" 2 "Value2" 3 "Value3" 4 5 In another cell, I have a value "say" 6. In the first row, I want "Value1" to be copied from Column 3 to Column 7 (6 entries). By the same logic, in ROW 2, Value2 will be copied from Column 4 to Column 8. Is there a spreadsheet function way of doing this? I am posting this here because if there is no spreadsheet way of doing this, a macro or a function will be a great help. (If it is a macro solution) is it possible to set an End Column. Lets assume I set end column as "20". Then even if I run macro to value in Row 18, it will copy formula only till Column 20 (and not till 23 if we go by the logic above) Best Regards Prasad |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
how do i paste rows/columns avoiding hidden rows/columns | Excel Discussion (Misc queries) | |||
Formula w/two columns to add the greater number | Excel Worksheet Functions | |||
how paste w/o put in columns? | Excel Discussion (Misc queries) | |||
How do I set up a copy and paste formula with ascending columns | New Users to Excel | |||
Including a variable number of columns in Excel Sum formula | Excel Programming |