I have anxiety and depression both and often feel very depressed but very agitated as well. Usually when I'm really depressed I sleep it off, but when depressed and agitated I can't relax enough to sleep so I just pace the house or walk the dogs or try to 'work off' the excess energy.