Solved

Excel copy formulas

Posted on 2013-06-07
6
208 Views
Last Modified: 2013-06-07
Hi,
I have a column with text in column A. On Column B, I have formula that is equal to Column A. Is there a way to copy the formula down on column B with the $ signs that adjust for each row? see sample

                Have           Want
A1  US     B1 = A1       B1 = $A$1
A2  BC     B2 = A2       B2 = $A$2
0
Comment
Question by:Conernesto
  • 3
  • 2
6 Comments
 
LVL 23

Expert Comment

by:NBVC
ID: 39229281
Why is what you "have" not working for you?
0
 

Author Comment

by:Conernesto
ID: 39229310
It is. It's just that when I copy my formulas from B1 down to say B10 the formulas are without the $$'s. So I put my cursor on B1 and enter =A1. I then put my cursor on B1 on the formula and hit F4 and the formula changes from =A1 to =$A$1. So I have to do this on each row where I have a formula. My goal is to copy accross and not loose the reference.
0
 
LVL 22

Expert Comment

by:rspahitz
ID: 39229334
The purpose of the $ if to make something a fixed value rather than a relative value.
You could write a macro to insert that, but the real question is why you'd want to override the functionality of Excel that way.

The whole point of the $ is so that the row-number/column-letter does not change when you copy it.

In other words, why do you need the values to be absolute references instead of relative references since the end result in your case would be the same values?
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 22

Expert Comment

by:rspahitz
ID: 39229346
>My goal is to copy accross and not loose the reference.

sounds like you need "mixed" references.  Try hitting F4 again and notice it changes from A1 to $A$1 to A$1 to $A1

I think you want to keep the A but allow the number to change so use:

$A1
0
 

Author Comment

by:Conernesto
ID: 39229398
You are correct. What I need is A$1. I can then copy this down on my column and accross.

Thank you.

conernesto
0
 
LVL 22

Accepted Solution

by:
rspahitz earned 500 total points
ID: 39229485
Glad to get you in the right direction.
Looks like you wanted to keep row 1 everywhere (as you copy down) but change the column when you copy across.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Drop Down List with Unique/Distinct Values (enhancing the Combo-Box with a few steps and a little code) David miller (dlmille) Intro Have you ever created a data validation list from a database field or spreadsheet column (e.g., Zip Codes or Co…
Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
The view will learn how to download and install SIMTOOLS and FORMLIST into Excel, how to use SIMTOOLS to generate a Monte Carlo simulation of 30 sales calls, and how to calculate the conditional probability based on the results of the Monte Carlo …
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now