View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bpeltzer bpeltzer is offline
external usenet poster
 
Posts: 171
Default How can I apply If statement using two row, multi columns

=sumif(3:3,500,2:2) will add all the cells in row 2 where the corresponding
cell in row 3 is 500.

"IF Statement" wrote:

How can i use If statement using two row, multi colums to get sum dollar
amount. For example
colums A colums B colums C colums D colums E
ROW 2 100.00 100.00 100.00 100.00 100.00
ROW 3 500 500 501 501 500

Using if statement as, if row 3 = 500; sum row 2 = $300.00
same thing if row 3 = 501; sum row 2 = $200.00