Check if a column's value is on another sheet and return specific value

steve400243

Active Member
Joined
Sep 15, 2016
Messages
429
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hello Forum, On this workbook I need a way to return the value "YES" in column L on 276 Tab if the number in column B on the 276 Tab, Matches the number from column H On Sheet 1 Tab, and the value from Column I is "W/O", "Split", or "Split?". If not return "NO". Hope that makes Sense. Thanks for all help provided.
Book1
ABCDEFGHI
1Entry_NumberFindings
279905864419
379910844927Bill Completed
479998154586W/O
579998156730W/O
679900239005Bill Completed
779910842764Billable
879910998004Billable
979911380301Split
1079911380301Split
1179911439552Split
1279911599587Billable
1379911763134W/O
1479911776300Billable
1579911920221Billable
1679911920221Split?
1779911932002Split?
1879911955011Billable
1979911965127W/O
2079912057056W/O
2179912058385W/O
2279912202868W/O
2379912299690W/O
2479912584950W/O
25
Sheet1


Book1
ABCDEFGHIJKL
1bill typeentryportrel datemasterbill createbill competesctextamtw/o completedw/o - YES or NO
379907546477
479912202868
579908167547
679909331068
779907208250
1179909135949
1379909652638
1479908684269
1579909867897
1679913282547
1979908382807
2079905832978
2179912057056
2279908793623
2679909345514
2779908037401
2979913367652
3079910388081
3179908990724
3279913040366
3379910630334
3479908733470
3579908440134
3679909958076
3779906954938
3879914026174
3979913936340
4179908762404
5579907099048
5879907767065
6079909478794
276
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
How about
Excel Formula:
=IF(OR({"W/O";"Split";"Split?"}=LOOKUP(B3,H:H,I:I)),"YES","NO")
 
Upvote 0
Another option
Excel Formula:
=IF(SUM(COUNTIFS(Sheet1!H:H,B2,Sheet1!I:I,{"W/P","Split","Split~?"})),"Yes","No")
 
Upvote 0
Solution
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,012
Messages
6,122,682
Members
449,091
Latest member
peppernaut

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