The spreadsheet I am using was created back in the 1990s. unfortunately, the formula stop working when I was trying to update it by incorporating some additional functionality.
The formula needs to do
-1st it check whether the value (integer value) in Cell B10 greater than the value (integer value) in Cell A1.
If it does then the it will enter the result in E1(where this formula entered) blank
If the value in Cell B10 is not greater than the value in Cell A1
-2nd It pick all the cell from C1 through C10 which has a value of 'Y' in them.
3rd Then it will jump to column D and pick all the cell from D1 to D10 with values that has the Value 'Y' in the corresponding cell C1 through C10.
Then it pick the very 1st value from cell D1 to D10 (with corresponding Cell C1 to C10 with value 'Y') compare this value with the other values from cell D1 to D10
4th- Finally, it will count how many of the values are greater than the very 1st value in cell D1 to D10.
It would do the same for the second, third, fourth,....values in cell D1 to D10.
Below is the existing formula, please help how to re-write this formula using MS Excel version 2007 and up (in particular in 2010)
=IF(B10>A1,(""),SUM((C1:C10=("Y"))*(D1:D10<>(""))))
I tried to re-write it in two different ways as shown below including the result I got
=COUNT(IF(B10<=A1,IF( C1:C10 = "y",IF(D1:D10<>"", D1 < D1:D10,("")))))
Result was 0
=SUM(IF(B10<=A1,IF( C1:C10 = "y",IF(D1:D10<>"", D1:D10,("")))))
Result was #VALUE!
Please Help!
Bookmarks