Please help. I have looked online and can't find info for formula

letterly

New Member
Joined
Jul 5, 2023
Messages
7
Office Version
  1. 365
Platform
  1. Windows
Hello,

So lets call the data below is on Sheet 1. I would like to create a formula next to each serial number and FIND serial number on Sheet 2. Then, I would then like to compare the values left of the serial numbers of both sheets and return a value of Match or No Match on Sheet 1. I don't If that can be done with one formula or multiple formulas in multiple columns on Sheet 1. Please help if you can.
1688584506872.png
 
How is your data set up on sheet 2?
Does it look like the data in my example?
Are your Serial #'s either text or numbers on both sheets?
What are the ranges of your data on sheet 1 & 2?
 
Upvote 0

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Maybe this will help. Here is close to real data.
1688740410824.png


1688740446915.png



There are about 500 serial numbers on sheet 2. I need a formula in Column F on sheet 1 to look at serial number in E column on sheet 1, find serial number on sheet 2 and then compare all five columns to see if they match. I need to know if data has changed. Sheet 1 is the data pulled from management software and sheet 2 is data that is part of master inventory sheet. I need to make sure they match and if they don't I need to know if so I can change it.
 

Attachments

  • 1688740152976.png
    1688740152976.png
    10 KB · Views: 0
  • 1688740200419.png
    1688740200419.png
    12 KB · Views: 1
  • 1688740241091.png
    1688740241091.png
    11.8 KB · Views: 1
Upvote 0
This works per your example.

Sheet 1
Book1
ABCDEF
1j3400-a03170.54.144.12.4EX3400-48P20.4R3-S6.3ab5820440156No Match
2j3400-a101170.54.192.39EX3400-48P20.4R3.8ab5820440157No Match
3j3400-a10170.54.192.89EX3400-48P20.4R3-S3.4ab5820440158No Match
4j3400-a170.54.192.146EX3400-48P20.4R3.8ab5820440159Match
5j3400-a02170.54.136.97EX3400-48P20.4R3-S6.3ab5820440160Match
Sheet1
Cell Formulas
RangeFormula
F1:F5F1=IF(PRODUCT(--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1))=1,"Match","No Match")


Sheet 2
Book1
ABCDE
1j340170.54.144.124EX3400-48P20.4R3-S6.3ab5820440156
2j3400-a109170.54.192.40EX3400-48P20.4R3.8ab5820440157
3j3400-a108170.54.192.99EX3400-48P20.4R3-S3.4ab5820440158
4j3400-a170.54.192.146EX3400-48P20.4R3.8ab5820440159
5j3400-a02170.54.136.97EX3400-48P20.4R3-S6.3ab5820440160
Sheet2
 
Upvote 0
Solution
Wow. It works. Thank you. I only understand half of it. I understand the IF but not the Product, double dash, and filter. I realized I had the show formulas turned on. That is why it looked like it wasn't doin anything.
 
Upvote 0
Here is what it does.
See below.
Step 1- the FILTER function gets the data from Sheet 2 based on the serial #.
Step 2 - Matches the date to sheet 1
Step 3 - The double negative changes the TRUE & FALSE to 0 & 1's.
Step 4 - The Product function multiplies the 1's & 0's

If there is a 0 (FALSE) in the array it returns 0 which is no match.
Hope that helps.

Book1
ABCDEF
1j3400-a03170.54.144.12.4EX3400-48P20.4R3-S6.3ab5820440156No Match
2
3Step 1FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)
4j340170.54.144.124EX3400-48P20.4R3-S6.3
5
6Step 2FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1
7FALSEFALSETRUETRUE
8
9Step 3--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1)
100011
11
12PRODUCT(--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1))
13Step 40
Sheet1
Cell Formulas
RangeFormula
F1F1=IF(PRODUCT(--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1))=1,"Match","No Match")
B4:E4B4=FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)
B7:E7B7=FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1
B10:E10B10=--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1)
B13B13=PRODUCT(--(FILTER(Sheet2!$A$1:$D$5,E1=Sheet2!$E$1:$E$5)=A1:D1))
Dynamic array formulas.
 
Upvote 0

Forum statistics

Threads
1,215,172
Messages
6,123,438
Members
449,100
Latest member
sktz

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