Compare 3 columns in excel

Freeman2022

New Member
Joined
Nov 3, 2021
Messages
41
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a list of numbers in column A listed as Customer numbers, also in columns C,D,E are customer numbers. What I'm trying to do is if Column A info is found in column C,D or E, then Column F is Contacted, if not then not contacted.

Thanks in advance

I'm using excel 365
 

Attachments

  • Customer Number.PNG
    Customer Number.PNG
    16.5 KB · Views: 6

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
How about
Excel Formula:
=IF(COUNTIFS(C2:E16,A2),"contacted","Not contacted")
 
Upvote 0
How about
Excel Formula:
=IF(COUNTIFS(C2:E16,A2),"contacted","Not contacted")
Hello,

I have a list of numbers in column A listed as Customer numbers, also in columns C,D,E are customer numbers. What I'm trying to do is if Column A info is found in column C,D or E, then Column F is Contacted, if not then not contacted.

Thanks in advance

I'm using excel 365
Neither formula is working, It works in the numbers are on the same row, I'm trying to find all match regardless if the numbers are on the same row. Makes sense?
 
Upvote 0
You may need to change your range references, based upon what you actual ranges are:
=IF(COUNTIFS(C2:E16,A2),"contacted","Not contacted")

The range in blue is the value you are looking for.
The range in red is the range you are looking in for a match.
If you are copying this formula down for multiple values, then you will want to lock this range like this before copying your formula:
C$2:E$16
 
Upvote 0
You may need to change your range references, based upon what you actual ranges are:
=IF(COUNTIFS(C2:E16,A2),"contacted","Not contacted")

The range in blue is the value you are looking for.
The range in red is the range you are looking in for a match.
If you are copying this formula down for multiple values, then you will want to lock this range like this before copying your formula:
C$2:E$16
Hi,

Even with the formulas locked its not working, See in Yellow..Those should be Contacted
 

Attachments

  • Customer3.PNG
    Customer3.PNG
    25.6 KB · Views: 5
Upvote 0
Upvote 0
You have highlighted 3 numbers in col A all of whcih say contacted in col F, so not sure what your problem is.
 
Upvote 0
Hi,

Even with the formulas locked its not working, See in Yellow..Those should be Contacted
Looks like it is working just fine to me.

Note that the formulas you are placing in column F are looking up the values in column A OF THE SAME ROW in the entire range in columns C-E.
If that is not what you want, then you need to explain in more detail.
 
Upvote 0
Upvote 0

Forum statistics

Threads
1,215,465
Messages
6,124,982
Members
449,201
Latest member
Lunzwe73

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top