Vlookup and return only if no match
I'm having trouble.
I want to do a cross sheet VLOOKUP and return the value from another column ONLY if its no match.
Details: I have a "HRC code" column and a "status in HHAX" column on sheets 1 and 2. If the code on sheet 1 matches code on sheet 2 then I want to get the status in HHAX value from sheet 2 ONLY if it doesn't match the status in HHAX value on sheet 1.
I hope that's clear and that someone can help me bc I'm sitting for the past 2.5 hours trying to figure it out.
Thanks!!
Answers
-
Are you able to provide a screenshot of the destination sheet? Are you using a 3rd column to pull this into?
-
Hi @Paul Newcome !
The destination sheet has the exact same columns. To explain: one sheet is being updated by employees and the other sheet I will import the information directly from another platform and I want to match it to see if there are any errors (If employees didn't update it on the other platform). So the HRC code will always be the same and I want to get a return if the status doesn't match. I hope this helps you help me.
Thanks.
-
Can you provide some mocked up examples?
-
I tried something like this which gave me an incorrect argument message.
=VLOOKUP([HRC Code]@row, {Master Project for HR Compliance Range 5}, 3, false)
-
Sorry. I meant screenshots with manually entered data that shows what you are wanting to automate through formula.
Help Article Resources
Categories
- All Categories
- 14 Welcome to the Community
- Customer Resources
- 65.1K Get Help
- 444 Global Discussions
- 142 Industry Talk
- 472 Announcements
- 5K Ideas & Feature Requests
- 83 Brandfolder
- 150 Just for fun
- 71 Community Job Board
- 489 Show & Tell
- 33 Member Spotlight
- 2 SmartStories
- 301 Events
- 36 Webinars
- 7.3K Forum Archives
Check out the Formula Handbook template!