Look for column values from sheet1 in different ranges for multiple sheets and return the sheet name in which value was not found

Ahmad84

New Member
Joined
Feb 16, 2018
Messages
2
I am trying to look for Column C value (from c2 to the last row) from the sheet named as "MasterSheet" in other 3 sheets. My other 3 sheets are labeled as Region, Segment and Product.
The range where I want to conduct my search in Region sheet, is J2 to all the way down to last row. In Sheet Segment it is from K14 to the last row. In Sheet Product, it is from L22 to the last row.
I am looking for a result to show up in a new sheet with Column C values and a sheet name in front of it, if the value wasn't found.
 

Attachments

  • Test.JPG
    Test.JPG
    61.3 KB · Views: 6

Excel Facts

Repeat Last Command
Pressing F4 adds dollar signs when editing a formula. When not editing, F4 repeats last command.
This seems like it can be accomplished with one of the lookup functions.

But, can you use the xl2bb add-in to post sample data from each of your sheets? See the link below. People can help you much better if they don't have to recreate your problem from scratch.
 
Upvote 0
Also, you have a repeated value in your lookup list.
 
Upvote 0
Here is an example you can take this and adjust in your workbooks as needed:
Mr Excel Questions.xlsx
ABCDEFGHIJKL
1I am trying to look for Column C value (from c2 to the last row) from the sheet named as "MasterSheet" in other 3 sheets. My other 3 sheets are labeled as Region, Segment and Product. The range where I want to conduct my search in Region sheet, is J2 to all the way down to last row. In Sheet Segment it is from K14 to the last row. In Sheet Product, it is from L22 to the last row. I am looking for a result to show up in a new sheet with Column C values and a sheet name in front of it, if the value wasn't found.
2PRODUCTSRegionSegmentProduct
3ChinaJUBGJSUWFSAFVMWYWDMZMIMSMGRWKRVWHC
4USALNJVCLIKRGQRZJEPIAWTZPMZILWKPNYWKS
5ThailandHAGJKFUSBOOSNRGTYWQQDCSOXVVPOMDLIQ
6IndiaMFKAJKLOLIMXUPDVRLMTFFDUBQVRRNNRTC
7KoreaIYERWYIZMGBDLXSCSKACTUVRIOYGCAUATT
8Product AWYCVECDMGLTHPYXAYAGBBYLVDRPPOLRIGW
9TestSJUDSMVSXYEDAOYJIMHRREVLEUZLFVFGND
10GSRDFOFMOSSLSYBIFRHZLAXTDGCGDSXDLQGIGZ
11PLFZUZIKIMKJDQYZJQBGMLNHZAPLCARFVFSS
12PLLPYKXIGOUIAYPIYBUFFRCRUKEHOSNFFADU
13BELAQOSOSOLVXXOOENXRHYLWHGZTUXYEBPZP
14FLYZCGYAYZYMFSICYUQSQEYFDJKDNPSMIXAJ
15
16
Lookup In Other Sheets(LIOS)
Cell Formulas
RangeFormula
D3:D14D3=VLOOKUP(C3,'LIOS 1 E Region'!J3:K14,2,0)
E3:E14E3=VLOOKUP(C3, 'LIOS 2 Segment'!K15:L26,2,0)
F3:F14F3=VLOOKUP(C3,'LIOS 3 Product'!L23:M34,2,0)


Mr Excel Questions.xlsx
IJKL
1
2PRODUCTS
3ChinaJUBGJSUWFS
4USALNJVCLIKRG
5ThailandHAGJKFUSBO
6IndiaMFKAJKLOLI
7KoreaIYERWYIZMG
8Product AWYCVECDMGL
9TestSJUDSMVSXY
10GSRDFOFMOSSLSY
11PLFZUZIKIMKJ
12PLLPYKXIGOUI
13BELAQOSOSOLV
14FLYZCGYAYZYM
15
LIOS 1 E Region



Mr Excel Questions.xlsx
JKLMN
1
2
3
4
5
6
7
8
9
10
11
12
13
14PRODUCTS
15ChinaAFVMWYWDMZMI
16USAQRZJEPIAWTZP
17ThailandOSNRGTYWQQDC
18IndiaMXUPDVRLMTFF
19KoreaBDLXSCSKACTU
20Product ATHPYXAYAGBBY
21TestEDAOYJIMHRRE
22GSRDBIFRHZLAXTDG
23PLDQYZJQBGMLNH
24PLAYPIYBUFFRCR
25BEXXOOENXRHYLW
26FLFSICYUQSQEYF
LIOS 2 Segment



Mr Excel Questions.xlsx
KLMNO
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22PRODUCTS
23ChinaMSMGRWKRVWHC
24USAMZILWKPNYWKS
25ThailandSOXVVPOMDLIQ
26IndiaDUBQVRRNNRTC
27KoreaVRIOYGCAUATT
28Product ALVDRPPOLRIGW
29TestVLEUZLFVFGND
30GSRDCGDSXDLQGIGZ
31PLZAPLCARFVFSS
32PLUKEHOSNFFADU
33BEHGZTUXYEBPZP
34FLDJKDNPSMIXAJ
35
LIOS 3 Product
 
Upvote 0
Please update your requirements and thread title.
 
Upvote 0

Forum statistics

Threads
1,214,605
Messages
6,120,476
Members
448,967
Latest member
visheshkotha

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