Solved

How to copy and paste in Excel through a formula.

Posted on 2013-06-06
2
199 Views
Last Modified: 2013-06-06
I've been trying formula's like vlookup, index, match etc... from previous solutions with no luck so I'm writing this request.
Can you tell me how to search for a value from col c in col m and when found in col m fill in the corresponding value from col a into col d.

col a range is A2:A53
col c range is C2:C53
col d range is D2:D619

the match search range is M2:M619

Does each cell in the D column need a formula?
Is this better solved using VB Script?
0
Comment
Question by:claghorn
2 Comments
 
LVL 43

Accepted Solution

by:
Saqib Husain, Syed earned 500 total points
ID: 39226283
This is what I have understood from your description.

Enter this formula in D2 and copy it down.

=iferror(index($A$2:$A$52,match(m2,$C$2:$C$53,0)),"")
0
 

Author Closing Comment

by:claghorn
ID: 39227052
It does exactly what I asked. Thanks so much.
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

A little background as to how I came to I design this code: Around 5 years ago I designed an add-in that formatted Excel files to a corporate standard, applying different cell colours and font type depending on whether the cells contained inputs,…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
This Micro Tutorial will demonstrate on a Mac how to change the sort order for chart legend values and decrpyt the intimidating chart menu.
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.

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

21 Experts available now in Live!

Get 1:1 Help Now