Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Duplicating formulas in Excel

Posted on 2011-03-04
5
Medium Priority
?
236 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
5 Comments
 
LVL 33

Accepted Solution

by:
jppinto earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

I was prompted to write this article after the recent World-Wide Ransomware outbreak. For years now, System Administrators around the world have used the excuse of "Waiting a Bit" before applying Security Patch Updates. This type of reasoning to me …
With its various features, Office 365 can not only help you with your day-to-day business tasks, it can also do wonders for your marketing campaign.
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

596 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