?
Solved

How to copy and paste in Excel through a formula.

Posted on 2013-06-06
2
Medium Priority
?
237 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 2000 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

[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

Question has a verified solution.

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

This article describes how you can use Custom Document Properties to store settings and other information in your workbook so that they will be available the next time you open the workbook.
Windows Explorer let you handle zip folders nearly as any other folder: Copy, move, change, and delete, etc. In VBA you can also handle normal files and folders, but zip folders takes a little more - and that you'll find here.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…

593 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