Look Up & Referencing

KPV_0921

New Member
Joined
Jul 3, 2024
Messages
8
Office Version
  1. 365
Platform
  1. Windows
Hello all,

Need help with an Excel formula. I am working on my team's data right now and in the sheet I have 2 tabs 1) Raw Data 2) Exception. How can I automate a column in the Raw Data to automatically have Yes for an item that is in the other tab Exception? Thanks in advance!
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
Are you just comparing one column to one other column? Can you post some example data?
 
Upvote 1
So in the attached image, I need to look up Column A if it is listed in the exception list from the Exception tab. If it is, Column T in the Raw tab should be Yes
 

Attachments

  • LookUp & Referencing.PNG
    LookUp & Referencing.PNG
    131.2 KB · Views: 4
Upvote 0
For the future I suggest that you investigate XL2BB for providing sample data & expected results to make it easier for helpers to understand just what you have & where it is and also what you want & where it is to be. Also easy to copy from to test with. :)
If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of theXL2BB Instructions page linked above.

See if adapting this to your ranges does what you want.

KPV_0921.xlsm
A
1Item
2Item 1
3Item 3
4Item 9
5Item 4
6Item 10
7Item 6
8
Exception


KPV_0921.xlsm
AB
1ItemIn Exception?
2Item 2 
3Item 4Yes
4Item 1Yes
5Item 5
6Item 3Yes
Raw Data
Cell Formulas
RangeFormula
B2:B6B2=IF(COUNTIF(Exception!A2:A10,A2:A6),"Yes","")
Dynamic array formulas.
 
Upvote 0
Solution
For the future I suggest that you investigate XL2BB for providing sample data & expected results to make it easier for helpers to understand just what you have & where it is and also what you want & where it is to be. Also easy to copy from to test with. :)
If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of theXL2BB Instructions page linked above.

See if adapting this to your ranges does what you want.

KPV_0921.xlsm
A
1Item
2Item 1
3Item 3
4Item 9
5Item 4
6Item 10
7Item 6
8
Exception


KPV_0921.xlsm
AB
1ItemIn Exception?
2Item 2 
3Item 4Yes
4Item 1Yes
5Item 5
6Item 3Yes
Raw Data
Cell Formulas
RangeFormula
B2:B6B2=IF(COUNTIF(Exception!A2:A10,A2:A6),"Yes","")
Dynamic array formulas.
I tried downloading but I can't seem to successfully install it. When I extract the downloaded file, it is just an empty folder.
 
Upvote 0
Where did you download the zip file to?
Where did you extract it to?
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,289
Members
452,631
Latest member
a_potato

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