ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Copy a range to another "transformed" range (https://www.excelbanter.com/excel-programming/433628-copy-range-another-transformed-range.html)

avi

Copy a range to another "transformed" range
 
Hello,

Is there a way to copy a one column range to another range of the same
size, but with some transformed values of the original range, for
example Log of the original values?

Thanks
Avi

Patrick Molloy[_2_]

Copy a range to another "transformed" range
 
why not use worksheet formulae?

"avi" wrote:

Hello,

Is there a way to copy a one column range to another range of the same
size, but with some transformed values of the original range, for
example Log of the original values?

Thanks
Avi


avi

Copy a range to another "transformed" range
 
I am looking for a VBA procedure that automatically copy the
OriginalRange and paste it "transformed" to another location

The procedure should work with one column range and do something like

set OriginalRange=Selection
OriginalRange.copy
Cells(1,100).select
Calculate the Log of the original range
Paste the "transformed" selection starting from Cells(1,100)

Thanks
Avi


All times are GMT +1. The time now is 07:46 AM.

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