Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Tyn Tyn is offline
external usenet poster
 
Posts: 6
Default Need Help Creating a Macro to Multiply Cells by a Constant Number

I just started using MS Excel 2003 and am trying to make a spread sheet which
is for an company expense sheet...and I want to be able to multiply many of
the cells by constant number of US Dollars per British Pounds (1.818 dollars
per Pound), so that I can covert the number of pounds my employes have spent,
into dollars.

Can anyone help me, it sounds easy, but I dont know how to use or create
macros yet. I have used the function button to add, subtract, multiply and
divide values in single cells.
--
Thank You,
Tyn
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Need Help Creating a Macro to Multiply Cells by a Constant Number

Put 1.818 in a cell, say M1, and then use

=A1*$M$1

and copy down.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Tyn" wrote in message
...
I just started using MS Excel 2003 and am trying to make a spread sheet
which
is for an company expense sheet...and I want to be able to multiply many
of
the cells by constant number of US Dollars per British Pounds (1.818
dollars
per Pound), so that I can covert the number of pounds my employes have
spent,
into dollars.

Can anyone help me, it sounds easy, but I dont know how to use or create
macros yet. I have used the function button to add, subtract, multiply
and
divide values in single cells.
--
Thank You,
Tyn



  #3   Report Post  
Posted to microsoft.public.excel.misc
Tyn Tyn is offline
external usenet poster
 
Posts: 6
Default Need Help Creating a Macro to Multiply Cells by a Constant Num

Bob,
Sorry I am such a neophyte at this, but I have put 1.818 in M1 and then I do
not know where I go to to write or type in "=A1*$M$1" as you have suggested.
I assume that this is a macro, but dont know how or where to type that
formula in so that I can use it in any cell that I want to calculate the
conversion of british pounds to U.S. dollars.

Would you be able to help me with that, and I also assume, I could type
1.818 into any cell as long as it is not in the way of other cells that I
want to enter numbers in, but it also must be in my worksheet?

Thank you so much for your help and patience with this neophyte.
--
Thank You,
Tyn


"Bob Phillips" wrote:

Put 1.818 in a cell, say M1, and then use

=A1*$M$1

and copy down.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"Tyn" wrote in message
...
I just started using MS Excel 2003 and am trying to make a spread sheet
which
is for an company expense sheet...and I want to be able to multiply many
of
the cells by constant number of US Dollars per British Pounds (1.818
dollars
per Pound), so that I can covert the number of pounds my employes have
spent,
into dollars.

Can anyone help me, it sounds easy, but I dont know how to use or create
macros yet. I have used the function button to add, subtract, multiply
and
divide values in single cells.
--
Thank You,
Tyn




  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Need Help Creating a Macro to Multiply Cells by a Constant Num

Tyn

If this is a one-time operation just enter 1.818 in an unused cell.

EditCopy that cell.

Select all cells with British Pounds and EditPaste Special(in
place)MultiplyOKEsc.

What Bob provided is called a "formula" not a macro and is designed so that you
can change the value in M1 and the value in the other cells will change to
reflect that.

Assuming your pounds are in one column, say column A.

In B1 enter Bob's formula then drag/copy down column B as far as you need.

You would do this for each column of pounds you have, just change the A1 to
another column like C1 or D1


Gord Dibben MS Excel MVP

On Sun, 11 Feb 2007 12:33:00 -0800, Tyn wrote:

Bob,
Sorry I am such a neophyte at this, but I have put 1.818 in M1 and then I do
not know where I go to to write or type in "=A1*$M$1" as you have suggested.
I assume that this is a macro, but dont know how or where to type that
formula in so that I can use it in any cell that I want to calculate the
conversion of british pounds to U.S. dollars.

Would you be able to help me with that, and I also assume, I could type
1.818 into any cell as long as it is not in the way of other cells that I
want to enter numbers in, but it also must be in my worksheet?

Thank you so much for your help and patience with this neophyte.


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 698
Default Need Help Creating a Macro to Multiply Cells by a Constant Number

Hi Tyn,

What Bob gave you was a formula, not a macro. If you have US values in
cells A1:A10 you could put the formula in B1 and fill down to B10. If you
have US values scattered about your worksheet then you would need a number
of individual formulas referring to the individual cells. Formula would be
essentially the same, something like this and they would be entered in
whatever cells you want the converted values to show up in, perhaps M2
through M"whatever":

=A1*M1, =B6*M1, =G3*M1

Note you don't need the absolute reference in this case, so no $$'s.

HTH
Regards,
Howard

"Tyn" wrote in message
...
I just started using MS Excel 2003 and am trying to make a spread sheet
which
is for an company expense sheet...and I want to be able to multiply many
of
the cells by constant number of US Dollars per British Pounds (1.818
dollars
per Pound), so that I can covert the number of pounds my employes have
spent,
into dollars.

Can anyone help me, it sounds easy, but I dont know how to use or create
macros yet. I have used the function button to add, subtract, multiply
and
divide values in single cells.
--
Thank You,
Tyn





  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,726
Default Need Help Creating a Macro to Multiply Cells by a Constant Number

In Howard's second point, note that if the dollar values are scattered
about, you could put =A1*$M$1 (not the $ symbols, nothing to do with the
currency, but important to ensure that we always use the rate in M1) in B1,
then copy that formula, goto C7 and paste it, and Excel will automatically
update it to =B6*$M$1. And so on, Excel is good like that, saves us a lot of
work.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"L. Howard Kittle" wrote in message
. ..
Hi Tyn,

What Bob gave you was a formula, not a macro. If you have US values in
cells A1:A10 you could put the formula in B1 and fill down to B10. If you
have US values scattered about your worksheet then you would need a number
of individual formulas referring to the individual cells. Formula would
be essentially the same, something like this and they would be entered in
whatever cells you want the converted values to show up in, perhaps M2
through M"whatever":

=A1*M1, =B6*M1, =G3*M1

Note you don't need the absolute reference in this case, so no $$'s.

HTH
Regards,
Howard

"Tyn" wrote in message
...
I just started using MS Excel 2003 and am trying to make a spread sheet
which
is for an company expense sheet...and I want to be able to multiply many
of
the cells by constant number of US Dollars per British Pounds (1.818
dollars
per Pound), so that I can covert the number of pounds my employes have
spent,
into dollars.

Can anyone help me, it sounds easy, but I dont know how to use or create
macros yet. I have used the function button to add, subtract, multiply
and
divide values in single cells.
--
Thank You,
Tyn





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
Calculating only non-empty cells... Jay Excel Worksheet Functions 9 September 22nd 06 03:20 AM
Closing File Error jcliquidtension Excel Discussion (Misc queries) 4 October 20th 05 12:22 PM
subtracting a constant number to all cells in the same column gimianame Excel Discussion (Misc queries) 2 August 11th 05 07:59 PM
Convert data of cells to any type: Number, Date&Time, Text Kevin Excel Discussion (Misc queries) 0 December 30th 04 06:55 AM
Count number of shaded cells Maddoktor Excel Discussion (Misc queries) 2 December 20th 04 08:35 PM


All times are GMT +1. The time now is 06:51 PM.

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

About Us

"It's about Microsoft Excel"