you need to look at the code type link.
there's no definitive solution, it all depends on the address range and the value you want to edit.
You already have the address and the value, or you want to make a search?
If you already have the necessary addresse+shift+value, then all you need is to read the code type and generate your cheat code.
if you don't have it and want to search, OR if you want a detailed and easy tutorial to learn how to use the code type, follow this tutorial :
https://gamehacking.org/faqs/wiiexample1.htm
https://gamehacking.org/faqs/wiiexample2.htm
specifically, the second page as it talks about pointers.