Hi all,

I'm not sure where I'm going wrong here, please help:

I am trying to make a column return a number based on another column. For example, if A1 is "Bread," I want B1 to return "10." If A2 is "Cake," I want B2 to read "25." I've been trying various IF formulas, and I'm coming up blank. This hasn't been working:

=IF(A1=Bread,10)

Part of the issue is that I'm sleep deprived, but what stupid mistake am I making? Thanks in advance for your help!