Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9282335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T18:20:58+00:00 2026-06-18T18:20:58+00:00

I want your help to write a script (preferably python) that does the following.

  • 0

I want your help to write a script (preferably python) that does the following. Given that I have two excel files with some matching values (names) in first column. The second column in first file has values (numbers) and second column in second file is empty. My task is to read a name from the second file, see if it matches to any name in the first file and then read the corresponding value from there, and then write that value back in the second file. And so on…
Help please!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T18:20:59+00:00Added an answer on June 18, 2026 at 6:20 pm

    why won’t you use basic excel functions to do that? the vlookup function is optimized to do this!

    your second option (only for very complex scenerio that basic vlookup or more advanced index&match functions can’t handle) should be datanitro that let you use python inside scripting Excel.

    there is a similiar Stackoverflow question a site dedicated to subject of working with excel from python (also a little old) so there is plenty of documantion if you choose this path for some reason. you should be warned most of python excel libs only deal with xls files and not with newer xlsx/xlsm.

    openpyxl is supposed to be a newer lib with xlsx support but I havn’t tried it myself.

    And some Meta StackOverflow advice: since you are a new user, this is a community driven Q&A site. please make answering your question easier by giving more data: what did you try? show us the code. explain what is the usecase, show some research etc. this would work towards showing the community that you did your effort, and we would be more inclinded to help. also accept correct or helpful answers, this would give us points and pleasure.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been trying to write a script that may help me to comment
Asking for your help: I want to write a htaccess rewrite rule that will
I want to write a program that analyzes your fantasy baseball team and notifies
I have a requirement where using Python I need to write into excel cell
I want to write a shell script to help me start gdb and input
I am new to this shell-script programming so need your help to write a
I want to plot (i.e. write a file) with matplotlib from a script that
I need your help with this one again. I want to send special characters
Thanks in advance for your help experts. I want to be able to copy
I am quite new to groovy and seek your help. I want to read

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.