Cell without exact match

joeyjee

Board Regular
Joined
Sep 20, 2013
Messages
67
Dear All,

I am been looking around for the correct formula to use. Even tried using Vlook with not exact match but the result turn out to be incorrect.

I have a set of accounts, example

Account Name Return Result
ABC Singapore Pte Ltd Cargo
ABC SG #NA
XYZ Pte. #NA
XYZ (S) Pte Ltd Shipping
XYZ SG Pte. #NA

I would like accounts with all ABC accounts to return "Cargo", while XYZ accounts to return "Shipping", but the results I had obtained so far after vlook is the above.

Anyone can assist, please?



Thanks,
Joey~
 

Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
can you run it in two columns for check?
IE data in Column A
Column B=IF(COUNTIF(A1,"*ABC*"),"Cargo",0)
Column C=IF(COUNTIF(A1,"*XYZ*"),"Shipping",0)

you will get something like this then just do a filter and copy paste over to one column.
 

Attachments

  • countif.png
    countif.png
    5.5 KB · Views: 6
Upvote 0
Hi outlawdevil,

Thanks for your advice! I guess I might not have explained correctly.

Account Name Sheet Actual Full Name in other Sheet Return Result
ABC Singapore Pte Ltd ABC Singapore Pte Ltd Cargo
ABC SG ABC Singapore Pte Ltd #NA
XYZ Pte. XYZ (S) Pte Ltd #NA
XYZ (S) Pte Ltd XYZ (S) Pte Ltd Shipping
XYZ SG Pte. XYZ (S) Pte Ltd #NA


If in my Account Name Sheet, the naming convention is not complete one, we should follow the full name in the "Actual Full Name in other Sheet" to return the correct Result "Cargo" or "Shipping", and the list of incomplete Account name in the Account Name sheet is super long, what is the best formula to use?

thanks!!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,861
Messages
6,121,971
Members
449,059
Latest member
oculus

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