ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Copying One column into Two columns (https://www.excelbanter.com/excel-discussion-misc-queries/109545-copying-one-column-into-two-columns.html)

Dimri

Copying One column into Two columns
 
Hi,

I have a column of values of finance data. ColumnB with 10 values
($10,$20,$30,$40,$50,$60,$70,$80,$90,$100).

User is prompted to select a row of these 10 rows. Suppose user selects
row#5 with $50 value.

How should I copy the values UPTO row#5 of Column B and paste in Column C
without hardcoding?
How should I copy the values AFTER row#5 UPTO row# 10 of Column B and paste
in Column D, STARTING FROM ROW 6 without hardcoding?

Thanks...Appreciate your help.



Dave O

Copying One column into Two columns
 
When you say "the user selects row 5 with a $50 value", how does he
select it? By landing the cell cursor on row 5? Typing "5" into an
input box, or into a cell? Your solution depends on how you're
collecting data. The ultimate answer will likely include a SUM and
OFFSET formula, but determining the arguments and where they come from
is the question mark for me right now.



All times are GMT +1. The time now is 04:05 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com