Funadvice Logo

How can I create this IF statement on Excel?

Home More advice Computers & Tech

What I need to do is make an IF statement which will allow a cell (x) to have a value whereby if one cell (y) has been filled and has a value, that value will be in cell x. Or if another cell (z) has been filled in and has a value, that value you will be in cell x. Is this possible? And if it is how do I do it?
Any help would be appreciated.