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

  • Home
  • SEARCH
  • 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 7555127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T11:31:19+00:00 2026-05-30T11:31:19+00:00

this is my first time posting here, but I didn’t know where else to

  • 0

this is my first time posting here, but I didn’t know where else to go.

I have two lists in excel, both of them with similar data but in different orders, each one has 3 columns (prefix (A, D), suffix (B, E) and data (C, F)).

Let’s say list 1 is in columns A, B and C; and list 2 in D, E, F.

Each element in column C has an equal one in column F, but in different order and also, the previous two columns (prefix and suffix) may or may not have different values from their counterpart.

I want to do this (I guess it has to be done with macros but I don’t really know, I’m not too much of an expert with excel), I want to take each element from column C (data) and find it’s equivalent in column F, after that, I want to compare their prefix and suffix, and maybe paint it red when they’re different and green when they’re the same.

Is this possible? (and not too much of a hassle?)

If you didn’t understand something, please reply and I’ll be glad to try and explain better.

  • 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-05-30T11:31:21+00:00Added an answer on May 30, 2026 at 11:31 am

    I’d do the following:

    1. Move column F before columns D and E (now D is the data, E is the prefix and F is the suffix)

    2. Create three new columns G, H and I with the formulas:

      =vlookup(C1, D:F, 2, 0)

      =vlookup(C1, D:F, 3, 0)

      =and(G1=A1,H1=B1)

    3. Place conditional formatting on column I, with red for FALSE and green for TRUE.

    The first step is necessary because VLOOKUP will look for the value in the first column of data.

    On the second step, you will match the column C with column F (now moved to D) and obtain the corresponding prefix and suffixes. The next formula compares both and returns TRUE or FALSE if they both match.

    You could combine all three formulas in one, if needed.

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

Sidebar

Related Questions

first time posting here, but god know's I use this site to search for
this is my first time posting here, I have a question which I have
This is my first time posting here, but I've found a lot of answers
use this website a lot but first time posting. My program creates a number
First time posting here, will try to be succinct. This is a classic 'can't
This is my first time posting a question here, it has been a valuable
This is my first time posting -- I found similar issues but not anything
First time posting on here, so I hope I do this correctly, however I
this is my first time posting a question here - I've searched for ones
This is my first time posting on Stackoverflow, but I've been reading through many

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.