Nested If/Or statement with a VLookup based off a list using first 2 characters

Deelof

New Member
Joined
Aug 30, 2023
Messages
46
Office Version
  1. 2019
Platform
  1. Windows
I want to extend my current formula to add a condition using a list based off the first 2 characters of the variant SKU.
Any suggestions?

StatusPublishedVariant SKURESULTCURRENT FORMULAADDITION I WANT TO MAKE AS NESTED
Archived
FALSE​
BK00001-1NOT TO GO ON=IF(OR(F6="ACTIVE",G6="TRUE"),"ON","NOT ON")LEFT 2 CHARACTERS AGAINST THE LOOKUP LIST MATCH AND RETURN "NOT TO GO ON"
Active
TRUE​
CH00001-1ON
Draft
FALSE​
BT00001-1NOT ON
Active
TRUE​
MW00002-1NOT TO GO ON
Archived
FALSE​
AR00001-1NOT ON

VLOOKUP LIST
BKNOT TO GO ON
BUNOT TO GO ON
CKNOT TO GO ON
DWNOT TO GO ON
FFNOT TO GO ON
FPNOT TO GO ON
GMNOT TO GO ON
HDNOT TO GO ON
IBNOT TO GO ON
IRNOT TO GO ON
KTNOT TO GO ON
MWNOT TO GO ON
SFNOT TO GO ON
STANOT TO GO ON
TSNOT TO GO ON
TVNOT TO GO ON
VCNOT TO GO ON
WMNOT TO GO ON
 
That is what the OP is asking for help with.
@Fluff Thanks for getting in. That shall help me.

If you look at the threads above #4 - I have already given the formula to work on. I have urged him to use that and come with the errors (speaking technically)

Since you have taken over, I shall take exit from this thread. And I know you would be able to help in the best possible way.

Regards
 
Upvote 0

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

Forum statistics

Threads
1,224,823
Messages
6,181,175
Members
453,021
Latest member
Justyna P

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