ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Multiply a range (https://www.excelbanter.com/excel-programming/323987-multiply-range.html)

Chris Mahoney

Multiply a range
 
Hi

I have a range of values, and I want to multiply them all by 2. How can I do
this? One idea I had is to copy the range to the clipboard, then fill the
range with 2s and Paste Special Multiply. However, I can't get this to work.

Is there a better way?

Thanks
Chris


Bob Phillips[_6_]

Multiply a range
 
One way

Range("IV1").Value = 2
Selection.Copy
Range("A2:A9").PasteSpecial Paste:=xlAll, Operation:=xlMultiply


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Chris Mahoney" wrote in message
...
Hi

I have a range of values, and I want to multiply them all by 2. How can I

do
this? One idea I had is to copy the range to the clipboard, then fill the
range with 2s and Paste Special Multiply. However, I can't get this to

work.

Is there a better way?

Thanks
Chris




Bunu az Kimse Biliyor

Multiply a range
 
Type 2 in one single cell, then copy the cell. Select the entire range to
multiply and use Paste Special Multiply.

Greetings,
Bunu

"Chris Mahoney" schreef in bericht
...
Hi

I have a range of values, and I want to multiply them all by 2. How can I
do
this? One idea I had is to copy the range to the clipboard, then fill the
range with 2s and Paste Special Multiply. However, I can't get this to
work.

Is there a better way?

Thanks
Chris




Chris Mahoney

Multiply a range
 
Never mind, someone emailed me with a simple solution which I'm amazed I
didn't think of myself.

Thanks anyway
Chris


On 2/25/05 11:35 AM, in article , "Chris
Mahoney" wrote:

Hi

I have a range of values, and I want to multiply them all by 2. How can I do
this? One idea I had is to copy the range to the clipboard, then fill the
range with 2s and Paste Special Multiply. However, I can't get this to work.

Is there a better way?

Thanks
Chris



Tom Ogilvy

Multiply a range
 
why not share the amazing solution with us.

--
Regards,
Tom Ogilvy

"Chris Mahoney" wrote in message
...
Never mind, someone emailed me with a simple solution which I'm amazed I
didn't think of myself.

Thanks anyway
Chris


On 2/25/05 11:35 AM, in article , "Chris
Mahoney" wrote:

Hi

I have a range of values, and I want to multiply them all by 2. How can

I do
this? One idea I had is to copy the range to the clipboard, then fill

the
range with 2s and Paste Special Multiply. However, I can't get this to

work.

Is there a better way?

Thanks
Chris






All times are GMT +1. The time now is 12:18 AM.

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