View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dick B.
 
Posts: n/a
Default how to use a variable for the criteria in a sumif function?

I am trying to use a named variable for the criteria in a sumif function.
=sumif(A1:A4,"currentjobno",B1:B4)
currentjobno has a value of 38006