View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
trip_to_tokyo[_3_] trip_to_tokyo[_3_] is offline
external usenet poster
 
Posts: 833
Default Sumif Horizontal

In EXCEL 2007 to sum by row:-

1. In cells A 1 to E 1 enter 1 2 3 4 5.

2. In cell F 1 enter:-

=SUM(A1:E1)

Total of 15 is returned in cell F 1.

If my comments have helped please hit Yes.

"Lindsey" wrote:

I understand how sumif work veritically, but what if I want to sumif by rows
instead of columns?

Row A1 - AB1 are different years, 2001, 2002, etc. In row B1 - BB1, there
are numbers. I would like a formula that sums up the different years.

I would transpose the data, but it needs to be in this format to work with
another software.

Thanks in advance for your help!