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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T03:38:28+00:00 2026-06-11T03:38:28+00:00

Using the following formula =INDEX($A$2:$B$6,MATCH($D2,$B$2:$B$6,0),1) To create colD with matching item_ids from the model_num

  • 0

Using the following formula

=INDEX($A$2:$B$6,MATCH($D2,$B$2:$B$6,0),1)

To create colD with matching item_ids from the model_num in colC. The problem is when it doesn’t find a matching model_num in colC then it puts #N/A in colD.

item_id (colA)   model_num (colB)   data (colC)         new_data (colD)
--------         ----------         -------             ----------
870834           FD021              FD1424B             10752514
16595156         S3TA03B            Not Required        #N/A
10752514         FD1424B            S3TA03B             16595156
10756167         SU03B              Included with Kit   #N/A
14667130         KDAD               SU03B               10756167

If it doesn’t find a match it should just copy what is already in colC to colD.

item_id (colA)   model_num (colB)   data (colC)         new_data (colD)
--------         ----------         -------             ----------
870834           FD021              FD1424B             10752514
16595156         S3TA03B            Not Required        Not Required
10752514         FD1424B            S3TA03B             16595156
10756167         SU03B              Included with Kit   Included with Kit
14667130         KDAD               SU03B               10756167

The Question
When the formula doesn’t find a match in colC how can I tell it to just copy the contents of colC to colD?

  • 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-11T03:38:29+00:00Added an answer on June 11, 2026 at 3:38 am

    Your formula doesn’t work, I assume you need a MATCH function in there….also I assume the lookup value should be C2 as the formula goes in D2 – like this

    =INDEX($A$2:$B$6,MATCH($C2,$B$2:$B$6,0),1)

    Which version of Excel are you using? In Excel 2007 or later you can use IFERROR to get what you want, i.e. this version in D2 copied down

    =IFERROR(INDEX($A$2:$B$6,MATCH($C2,$B$2:$B$6,0),1),$C2)

    …or in any version

    =IF(ISNA(MATCH($C2,$B$2:$B$6,0)),$C2,INDEX($A$2:$B$6,MATCH($C2,$B$2:$B$6,0),1))

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

Sidebar

Related Questions

I'm using the following formula to create a total of unique values =SUM(IF(FREQUENCY(MATCH(C4:C9,C4:C9,0),MATCH(C4:C9,C4:C9,0))>0,1)) However,
I am using the following code fragment in z3 4.0 to convert a formula
I using following code: var search = 'test'; if ($('#sku').find(search) ){ //alert(search); $(document).find(search).css('color','red'); <TABLE>
I am using following code to get bitmap from url. This function is used
There is a question I am stuck on using the following formula for the
I am trying to replicate the following formula from Excel in to a C#
I have a set of numbers produced using the following formula with integers 0
I'm developing an open-ended strategy game. I am using the following formula to calculate
I have the following formula where I am trying to find coef1, coef2...coef5 and
I’m using following loglikelihood formula to compare the similarity between a document and a

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.