Hi all
I need some help on the following function. dateinformation is named range that include dates. "taskname" and "cost" are also another named range which is the same length as the dateinformation.
What I am trying to do is anything after January of 2011 if the first 16 characters of "taskname" and 16 characters of a1 text matches sum "cost". I am getting #n/a for some reason. Any help would be much appreciated. Thank you.
{=SUM(IF((dateinformation>DATE(2011,1,1))*(LEFT(taskname,16)=LEFT(a1,16),cost,0)}
I need some help on the following function. dateinformation is named range that include dates. "taskname" and "cost" are also another named range which is the same length as the dateinformation.
What I am trying to do is anything after January of 2011 if the first 16 characters of "taskname" and 16 characters of a1 text matches sum "cost". I am getting #n/a for some reason. Any help would be much appreciated. Thank you.
{=SUM(IF((dateinformation>DATE(2011,1,1))*(LEFT(taskname,16)=LEFT(a1,16),cost,0)}