Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 10-23-2022, 05:23 AM
p45cal's Avatar
p45cal p45cal is offline Help with Formula Windows 10 Help with Formula Office 2019
Expert
 
Join Date: Apr 2014
Posts: 962
p45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond reputep45cal has a reputation beyond repute
Default

It depends what you're trying to do.
It looks as though you're comparing 2 columns in each table to find matches:
A formula at cell G2 (copied down) does this and that may be all you need.
Code:
=XLOOKUP($B2 & "¬" & $E2,All!$B$2:$B$2835 & "¬" & All!$E$2:$E$2835,All!$A$2:$E$2835,"Not found")
However, you may have a problem; there may be more than one row in the All sheet that matches the two columns in the Data sheet. I've highlighted which rows this applies to in column N where if there's a value >1 there are multiple matches. In a few instance I've shown those matches in column O at rows 28, 34 and 512 (where there are 3 matches).
So are you looking to return only complete matches, or maybe on more than 2 columns?


Edit: I've just noticed you're using Office 2016 so some of the functions I've used may not work, although the results of those formulae should still show. Tell me if the G2 formula fails and I'll re-write.
Attached Files
File Type: xlsx msofficeforums49833Test.xlsx (197.3 KB, 5 views)
Reply With Quote
 

Tags
excel formula

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Formula Copy Row 2 Row But Next Column In Formula From Another Tab TimG Excel 3 04-16-2018 09:20 PM
Help with Formula Ragincajun22 Excel 1 08-24-2017 08:44 AM
Help with an IF Formula Cbate Excel 1 08-17-2017 07:29 AM
Help with Formula Possible to use an existing vlookup formula to also insert correct info and trigger a SUM formula innkeeper9 Excel 2 09-13-2016 08:59 PM
Need help with dragging a formula and changing a reference column as I drag the formula. LupeB Excel 1 10-22-2015 03:02 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft