ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Small Query - Urgent (https://www.excelbanter.com/excel-discussion-misc-queries/257441-small-query-urgent.html)

showry

Small Query - Urgent
 
Hi All,

I need the a small help from you....
My Query is:

Data I required
asd asd
asd
asd
asd
asd
sdr sdr
sdr
sdr
sdr
sdr
fgr fgr
fgr
fgr
fgr
fgr
asd asd


what iam doing right now is, selecting copy and pasting... but it is
very difficult when iam working with 10k lines can i get as per above
with a code or small function or macro or any?

Thanks in advance.

Regards,
Anil.


Ron@Buy

Small Query - Urgent
 
Matt came up with this solution to a similar problem yesterday:

Assuming the Headers as described below are in cells A1 and B1 and the Data
begins in Cell A2, then

1.) Enter the following formula in Cell C2:

=IF(A2<"",A2,OFFSET(C2,-1,0))

2.) Copy the formula down column C to match the last row of data in Column A

3.) Select and Copy the cells with the data in Column C

4.) Select Cell A2, right click -- Paste Special -- Select 'Values' --
click Okay

Hope this helps


"showry" wrote:

Hi All,

I need the a small help from you....
My Query is:

Data I required
asd asd
asd
asd
asd
asd
sdr sdr
sdr
sdr
sdr
sdr
fgr fgr
fgr
fgr
fgr
fgr
asd asd


what iam doing right now is, selecting copy and pasting... but it is
very difficult when iam working with 10k lines can i get as per above
with a code or small function or macro or any?

Thanks in advance.

Regards,
Anil.

.


Don Guillett[_2_]

Small Query - Urgent
 

Please describe your urgency as we normally treat all questions as urgent.

--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"showry" wrote in message
...
Hi All,

I need the a small help from you....
My Query is:

Data I required
asd asd
asd
asd
asd
asd
sdr sdr
sdr
sdr
sdr
sdr
fgr fgr
fgr
fgr
fgr
fgr
asd asd


what iam doing right now is, selecting copy and pasting... but it is
very difficult when iam working with 10k lines can i get as per above
with a code or small function or macro or any?

Thanks in advance.

Regards,
Anil.




All times are GMT +1. The time now is 05:54 AM.

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