Solved

Duplicating formulas in Excel

Posted on 2011-03-04
5
228 Views
Last Modified: 2012-05-11
Hello experts,

In an excel cell, I have:

=VLOOKUP(A2;A85:C331;2;FALSE)

In the below cell, it should be:

=VLOOKUP(A3;A85:C331;2;FALSE)
=VLOOKUP(A4;A85:C331;2;FALSE)
=VLOOKUP(A5;A85:C331;2;FALSE)
.
.
.
It should increase the first parameter, with keeping second and third parameters without any change.

How to do so?
0
Comment
Question by:Muhajreen
  • 4
5 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 500 total points
ID: 35039739
Change your formula to this:

=VLOOKUP(A2;A$85:C$331;2;FALSE)

jppinto
0
 
LVL 33

Expert Comment

by:jppinto
ID: 35039758
This way you can copy down the formula and it will "fix" the row number on the second and third parameters while incrementing the first.
0
 
LVL 33

Expert Comment

by:jppinto
ID: 35039760
Thanks for the grade! :)

regards,

jppinto
0
 
LVL 26

Expert Comment

by:pony10us
ID: 35039792
@jppinto:

Am I missing something or shouldn't it be

=VLOOKUP(A2,$A$85;$C$331;2;FALSE)

Just for readability and if you moved the column left or right without changing the source column from A then it would still point to A.

Just asking.

:)

Pony
0
 
LVL 33

Expert Comment

by:jppinto
ID: 35039821
Yes, if you plan to move the formula from the actual column to another column, you should fix also the column reference but the author didn't mentioned he wanted to copy the formula to other columns, only to other rows. That's why I provided the solution needed for the case that was presented.

Thanks anyway for you post.

jppinto
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
: Microsoft Office Collaborate for free and online versions of Microsoft  Word, Excel, Powerpoint, OneNote, Onedrive , Email, Calendar etc. In short we can say that Microsoft office is a suite of servers, applications and services developed by  Micr…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.

776 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