Hi,
Just wondering for the below formula, if say the particular look up requirement is blank, is it possible to ignore the corresponding if statement? At present, it only matches when the lookup area with content.
Sum(if statement , if statement, Range)
For instance,
=SUM(IF('[Workbook 1.xlsx]Current'!$C:$C=$B$2,IF('[Workbook 1.xlsx]Current'!$D:$D=$C$2,IF('[Workbook 1.xlsx]Current'!$E:$E=$D$2,IF('[Workbook 1.xlsx]Current'!$M:$M=M12,'[Workbook 1.xlsx]Current'!$R:$R)))))
Let us say if $B$2 is blank and is it possible for the formula to by pass this {IF('[Workbook 1.xlsx]Current'!$C:$C=$B$2} and continue to work out the rest? I tried istext or isnumber but did not work.
The reason i want this because [Workbook 1.xlsx]Current'!$C:$C is year, '[Workbook 1.xlsx]Current'!$D:$D is Quarter and '[Workbook 1.xlsx]Current'!$M:$M is month, so if any of this is bypassed then I can look up multiple months, quarter and year etc.
thanks in advance.
Peter
Just wondering for the below formula, if say the particular look up requirement is blank, is it possible to ignore the corresponding if statement? At present, it only matches when the lookup area with content.
Sum(if statement , if statement, Range)
For instance,
=SUM(IF('[Workbook 1.xlsx]Current'!$C:$C=$B$2,IF('[Workbook 1.xlsx]Current'!$D:$D=$C$2,IF('[Workbook 1.xlsx]Current'!$E:$E=$D$2,IF('[Workbook 1.xlsx]Current'!$M:$M=M12,'[Workbook 1.xlsx]Current'!$R:$R)))))
Let us say if $B$2 is blank and is it possible for the formula to by pass this {IF('[Workbook 1.xlsx]Current'!$C:$C=$B$2} and continue to work out the rest? I tried istext or isnumber but did not work.
The reason i want this because [Workbook 1.xlsx]Current'!$C:$C is year, '[Workbook 1.xlsx]Current'!$D:$D is Quarter and '[Workbook 1.xlsx]Current'!$M:$M is month, so if any of this is bypassed then I can look up multiple months, quarter and year etc.
thanks in advance.
Peter