View Single Post
  #2   Report Post  
Peo Sjoblom
 
Posts: n/a
Default

Use

""&$E$5

instead as criteria, else it will look for the text representation of the
cell name and not its contents

Regards,

Peo Sjoblom

"Lisa" wrote:

The criteria for this formula does not work. =SUMIF(B5:B14,"$E$5",C5:C14)
If I put "5000" it works, but if I reference the cell E5 instead (which is
on the same sheet), it no longer works. I need to reference the cell as the
value will not always be 5000.