?
Solved

Duplicating formulas in Excel

Posted on 2011-03-04
5
Medium Priority
?
234 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
Cancel future meetings from user mailboxes in Office 365 using Remove-CalendarEvents
This Micro Tutorial will demonstrate the scrolling table in Microsoft Excel using the INDEX function.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

771 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