JamesMichell
IS-IT--Management
In Excel I am using the INDEX function to find the value in a table at the junction of a column and a row. That works fine and gives me two values which are collected in columns A and B. Column C consists of a list of monetary values. I then need to collect the total of values in Column C where specified values appear in columns A and B. For example, in plain English, I need to find the total of the values in column C where the value in A is 050 and the value in B is 31700.
To do this I use the conditional SUM function with nested IF statements as follows: {=SUM(IF(A1:A10=050,IF(B1:B10=31700,C1:C10)}. However this does not work since it appears that Excel is only seeing the formulas in columns A and B and not the values. I can test this by writing in the values directly into A and B and then everything is fine. Interestingly the SUMIF function does work OK but it only allows you one parameter and I need to use two. I have tried using different formats on the cells with no success.
Anybody got any ideas on this?
To do this I use the conditional SUM function with nested IF statements as follows: {=SUM(IF(A1:A10=050,IF(B1:B10=31700,C1:C10)}. However this does not work since it appears that Excel is only seeing the formulas in columns A and B and not the values. I can test this by writing in the values directly into A and B and then everything is fine. Interestingly the SUMIF function does work OK but it only allows you one parameter and I need to use two. I have tried using different formats on the cells with no success.
Anybody got any ideas on this?