sir, sorry to bother you again and again, please to make me understand the logic u have used... sir please please pleaseHi Rahul,
See the file. I think the manual output of march that you gave is wrong.
Regards,
LOOKUP(ROW($A$2:$A$17),ROW($A$2:$A$17)/($A$2:$A$17<>""),$A$2:$A$17)@Ratan Bhushan
The LOOKUP function is simply replacing all the blank cells in column A with the value in merged cells, than after that it's just equating it to equal to condition and forming array for sumproduct.
If you still have doubt in understanding any part of it, write back.
Regards,
Excel Help said:The LOOKUP function returns a value either from a one-row or one-column range.
Excel Help said:LOOKUP syntax:
LOOKUP(lookup_value, lookup_vector, [result_vector])
Some important remark:
The values in lookup_vector must be placed in ascending order: ..., -2, -1, 0, 1, 2, ..., A-Z, FALSE, TRUE; otherwise, LOOKUP might not return the correct value. Uppercase and lowercase text are equivalent.
- If the LOOKUP function can't find the lookup_value, the function matches the largest value in lookup_vector that is less than or equal to lookup_value.