Great. Thankyou it worked once then I cannot get it to work again.
(anything) = the elipse wild card parameter. So (anything) name (anything) is as per screenshot

Result
First time result = Moved file into the subfolder containing the filename
2nd, 3rd, .. 6th time = Moved file into a newly created subfolder with folder name = name and extension ie "1222345.xls"
For some reason the name parameter is now picking up the extension, whereas the first time it did not.
Hazel thinks name = 1222345.xls
and it should be name = 1222345
I have not intentionally changed anything but I am learning.
Learnt = do not have a space in setting the pattern else you get this message in Console.
[Error] Sorting into subfolder failed: Could not find a matching destination folder.