First of all never give her a toy or something she likes to stop her screaming as that is like rewarding her for it.
Wherever you are immediatley get up and take her out of the room. Talk to her and explain this will not be allowed and until she stops screaming you will not take her back into the room or restaurant etc.
You must never let her control you or the situation. She must know at all times you are in control not her.
We tend to try to distract them by giving them somethng they want but this is just what they want. Your attention and what they want when they want it.
If you think it is from not getting the proper amount of sleep then what is the cause of her not getting the right amount of sleep? This definitely could make her cranky.
Good Luck and remember this too shall pass. She is close to the terrible two's as it is called.
All babies are sweet and lovable and I am sure you will resolve this soon.
There is not a more frustrating job than raising children but the rewards out weigh any frustration. Remember raising a wonderful, responsible and loving child is the most important thing you will ever do.
God Bless!
You have my prayers.
D.