ellisbobby
New Member
- Joined
- Aug 11, 2009
- Messages
- 28
Hello all,
I am trying to create an array to where if two rows contain certain text, it will SUM the totals of the corresponding cells. The current array I am using is below ("Data" is the name of the worksheet that it pulls the information off of). So if the information in row 4 equals cell A4, it will SUM the correct cells in row 37.
{=SUM(IF(Data!$4:$4=$A4,Data!$37:$37))}
I'm trying to get the array to only sum if the data in row 4 equals cell A4 and the data in row 3 equals A3 are true. I tried the array below but it doesn't work.
{=SUM(IF(Data!$3:$3=$A3,Data!$4:$4=$A4,Data!$37:$37))}
Does anyone know if this is possible? Thanks in advance.
I am trying to create an array to where if two rows contain certain text, it will SUM the totals of the corresponding cells. The current array I am using is below ("Data" is the name of the worksheet that it pulls the information off of). So if the information in row 4 equals cell A4, it will SUM the correct cells in row 37.
{=SUM(IF(Data!$4:$4=$A4,Data!$37:$37))}
I'm trying to get the array to only sum if the data in row 4 equals cell A4 and the data in row 3 equals A3 are true. I tried the array below but it doesn't work.
{=SUM(IF(Data!$3:$3=$A3,Data!$4:$4=$A4,Data!$37:$37))}
Does anyone know if this is possible? Thanks in advance.
Last edited: