Required for Excel formula suggestion - reg

Coaching 97 views 1 replies

Dear Excel Expert,

Kindly give the suggestion for the below topics.

I have three excel sheet.  1. In master sheet all the UTR No's available for the particular supplier list wise. 2. Second sheet particular supplier UTR No's available but not available in Supplier name. 3 third sheet particular supplier UTR No's available but not available in Supplier name.

in my question is if i am compared master sheet 1st excel sheet UTR no's not available means automatically check second excel sheet and result should be produce. in this case Vlookup formula was not used due to data want to left hand side result.

 

Thanks & Regards

Satheshkumar T M.Com., MBA

+91 9865850740

 

Replies (1)

Hi Satheshkumar,

For your requirement — where you want to check if a UTR number from the Master sheet is NOT available, then automatically check the 2nd sheet and produce the result — and since VLOOKUP cannot look to the left — I suggest using INDEX-MATCH or XLOOKUP (if your Excel supports it).

Here’s a formula approach using INDEX-MATCH:

Assuming:

  • Master Sheet UTRs are in Sheet1!A2:A100

  • Second Sheet UTRs are in Sheet2!A2:A100 and corresponding Supplier Names in Sheet2!B2:B100

  • You want to find Supplier Name from Sheet2 if UTR from Master is missing in Master sheet


Step 1: Check if UTR from Master is missing in Sheet2

 
=IF(ISNA(MATCH(A2, Sheet2!A:A, 0)), "Not Found in Sheet2", "Found in Sheet2")

Step 2: Return Supplier Name from Sheet2 if found, blank if not found

 
=IFERROR(INDEX(Sheet2!B:B, MATCH(A2, Sheet2!A:A, 0)), "")

Step 3: Combined formula to check Master sheet and fetch Supplier name from Sheet2 if missing in Master

If you want to check if a UTR from Master (Sheet1) is missing in Master but present in Sheet2 and fetch Supplier Name:

 
=IF(ISNA(MATCH(A2, Sheet1!A:A, 0)), IFERROR(INDEX(Sheet2!B:B, MATCH(A2, Sheet2!A:A, 0)), "Not Found"), "")

Note:

  • Replace A2 with the cell reference for the UTR you are checking.

  • If you want to compare data across different workbooks, make sure both workbooks are open or use full paths.


If you have Excel 365 or Excel 2021, you can use the simpler XLOOKUP formula which can look left or right:

 
=XLOOKUP(A2, Sheet2!A:A, Sheet2!B:B, "Not Found")


CCI Pro

Leave a Reply

Your are not logged in . Please login to post replies

Click here to Login / Register