Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Good Morning
I have the following sample data ( attached ). All I want to do is say
if Sales_Number begins with 9 then assign a new Region called 'Unrestricted'.
Thanks
if(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region)
Try this:
if(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region)
Thanks Varsha. What's the 'a' for ?
sorry ignore that ... my page had not displayed correctly
if(WildMatch(Sales_Number ,'9*',Region),'unrestricted',Region)
May be as below:
=if(Left(Sales_Number,1)=9,'Unrestricted',Region) as Region
You got the desired output ?
Unfortunately not. It doesnt return a region if you select any of the sales beginning 9,
Perhaps I know why .... The Sales_number is actually referenced in another table which is the main table. The table provided in my sample is what's it doing a left join on and linking via the sales_number.
Worked in the end. Thank you !