locking formula copying

Forum home » Delegate support and help forum » Microsoft Excel Training and help » Locking formula & copying

Locking formula & copying

resolvedResolved · High Priority · Version 2010

Lauren has attended:
Excel Advanced course

Locking formula & copying

Hi

I have a list of countries attributed to rows with local currency in one column, exchange rate in another and then a load of other columns denoting variables (i.e. apples/oranges/bananas for example).

I'm using a simple formula to get the exchange rate =B13*$Z$13 where B13 is the variable (e.g. price of apples in Australia's local currency) and Z13 is the respective exchange rate to USD. When I drag the formula down to all of the countries, I don't need to lock either the country or the exchange rate however when I drag across the row (applying all fruits to the country) I need to lock the exchange rate as it applies to the same country.

At the moment I am locking the exchange rate cell, dragging across the variable row but having to manually change the exchange rate number cell as I go down the first column.

Is there any way to expedite this process?

Thanking you in advance,

RE: locking formula & copying

Hi Lauren

Cell Z13 is an absolute cell, meaning both the column and row references are locked ($Z$13).

Have you tried using a mixed reference on your variable cell to only lock the column or row? e.g. $B13 to lock the column or B$13 to lock the row.

So the formula that I think you're looking for could read something along the lines =$B13*$Z$13

Hope that helps.

Please let us know if you need anything further

Kind regards
Wendy Canelas

 

Training courses

 

Training information:

See also:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


 

Excel tip:

Generating Random Numbers

To generate a random number in Excel use the = RAND() function.

The value returned will always be between 0 and 1. To convert this to some other random value, you will need to multiply the result by the highest number you want to consider. For example, if you wanted a random number between 1 and 25, you could use the following code line:
= INT(25 * RAND()+ 1)

Since RAND() will always returns a value between 0 and 1 (but never 1 itself), multiplying what it returns by 25 and then using the Integer function INT on that result will return a whole number between 0 and 24.

Finally, 1 is added to this result, so that x will be equal to a number between 1 and 25, inclusive

View all Excel hints and tips


Server loaded in 0.06 secs.