Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 21
Default 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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i paste rows/columns avoiding hidden rows/columns perezli Excel Discussion (Misc queries) 1 January 30th 09 03:58 PM
Formula w/two columns to add the greater number Saul Excel Worksheet Functions 2 September 18th 08 09:32 PM
how paste w/o put in columns? Ian Elliott Excel Discussion (Misc queries) 4 February 14th 07 04:56 PM
How do I set up a copy and paste formula with ascending columns Ken Proj mgr New Users to Excel 4 February 27th 06 03:18 PM
Including a variable number of columns in Excel Sum formula Richard Buttrey[_5_] Excel Programming 1 July 7th 04 10:29 AM


All times are GMT +1. The time now is 01:08 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"