I am trying to create an invoice statement which contains multiple entries. I would like this to be automated as much as possible.
My source data is coming from one sheet which contains client name, date description of work and costs.
I have used the Array lookup formula's described in the MS help files titled "How to look up a value in a list and return multiple corresponding values" successfully before to return multiple values. However the task above requires that the values returned are dependant on Client and dates between the 1st and the last day of a specified month. The formula I am using dosn't return any values:
{=SMALL(IF(AND($A$2:$A$20=$L$5,$B$2:$B$20>$A$18,$B$2:$B$20<=$A$19),ROW($A$2:$A$20)),ROW(1:1))}
Source Data:
A2:A20 = Client name
B2:B20 = Date
Criteria:
A18 = Start Date
A19 = End Date
L5 = Client name
According to the documentation in the MS help files this should return the line number of each item that matches the criteria of which there are several - I get "0".
Can any one help?
My source data is coming from one sheet which contains client name, date description of work and costs.
I have used the Array lookup formula's described in the MS help files titled "How to look up a value in a list and return multiple corresponding values" successfully before to return multiple values. However the task above requires that the values returned are dependant on Client and dates between the 1st and the last day of a specified month. The formula I am using dosn't return any values:
{=SMALL(IF(AND($A$2:$A$20=$L$5,$B$2:$B$20>$A$18,$B$2:$B$20<=$A$19),ROW($A$2:$A$20)),ROW(1:1))}
Source Data:
A2:A20 = Client name
B2:B20 = Date
Criteria:
A18 = Start Date
A19 = End Date
L5 = Client name
According to the documentation in the MS help files this should return the line number of each item that matches the criteria of which there are several - I get "0".
Can any one help?