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 8996627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T23:46:47+00:00 2026-06-15T23:46:47+00:00

I have my data as follows : ———input—— —output— data1 data1 abcd data1 abcd

  • 0

I have my data as follows :

---------input------    ---output---    
data1   data1   abcd    data1   abcd
data2   data5   efgf    data2   nopf
data3   data3   hijf    data3   hijf
data4   data7   klmf    data4   
data5   data2   nopf    data5   efgf
data6   ....    ....    data6   
data7   ....    ....    data7   klmf
data8   ....    ....    data8   

Explanation:

  • Column1 has all elements.
  • Col2 is subset of col1.
  • Col3 is respective values of Col2. (key-value pairs)
  • Col4 and col5 is the output I want.

Here, I need to copy the Col3 values if Col2 key is present in Col1.

How do I achieve this?

  • 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-15T23:46:48+00:00Added an answer on June 15, 2026 at 11:46 pm

    If I understand your question correctly, you can use the vlookup function to lookup the “keys” in column 3 and return the values you want in column five.

    Assume column one starts in A2, column 2 in B2, column three in C2, column four in D2 (and is just pasted from column 1) and column five in E2, which is where you’ll put the formulas to look up your values. The data are in rows 2 through 9.

    I’m assuming that the “….” characters that you show in columns B and C are actually in your data.

    The formula in cell E2 should be:

    =IF(IFERROR(VLOOKUP(D2,$B$2:$C$9,2,0),"")="….","",IFERROR(VLOOKUP(D2,$B$2:$C$9,2,0),""))
    

    You would copy the formula down through cell E9.

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

Sidebar

Related Questions

I have multiple textfiles with data as follows: 0.000000E+0 0.000000E+0 1.800000E-1 0.000000E+0 4.200000E-1 0.000000E+0
I have a python data-structure as follows: A = [{'abc': 'kjkjl'},{'abc': 'hjhjh'},{'abc': '78787'}] How
I have a data frame that's about ts1[100, 2000] in dimension as follows: >
I have table of data that is sorted as follows: Item | Sample |
I have a piece of javascript code as follows: var data = { ...
I have a date column in a data frame in chr format as follows:
I have a file (dictionary.txt) with data field entries as follows - ABC This
I have a jquery dialog as follows - <div data-role=dialog id=msg-popup> <div data-role=header> <h1>Notification</h1>
I have a ContentPane defined as follows: <div id=searchResultsContentPane data-dojo-type=dijit.layout.ContentPane data-dojo-props='splitter:false, region:center'></div> I am
I have created a RSA certificate which looks like as follows. Certificate: Data: Version:

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.