View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Nancy Taylor Nancy Taylor is offline
external usenet poster
 
Posts: 1
Default Building Dynamic SUMIF statement

I hope this is an easy question to answer...

I am attempting to use a SUMIF to pull in numbers from a separate timesheet
and I would like to build part of the external reference workbook name from a
cell instead of hard-coding it. For example:

=SUMIF('[FirstName_LastName.xlsx]Sheet'!$L$5:$L$22,C6,'[FirstName_LastName.xlsx]Sheet'!$K$5:$K$22)

I have a cell with the resource name and I would like to plug in the name
from that cell for €śFirstName_LastName€ť but I cant seem to get that to work.


Any thoughts?