View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Katie Katie is offline
external usenet poster
 
Posts: 130
Default I need to total col, but pick up number in other col. if not

Thank you so much. I got it to work perfectly.

"Biff" wrote:

If I understand........

Entered as an array using the key combination of CTRL,SHIFT,ENTER (not just
ENTER):

=SUM(IF(F1:F10<0,F1:F10,G1:G10))

=AVERAGE(IF(F1:F10<0,F1:F10,G1:G10))

Biff

"katie" wrote in message
...
I have two columns of figures i.e. Col. G has figures in each cell and have
totalled them and averaged them. In Col. F most of the cells have 0, but
if
a cell is populated with a figure other than 0, then I need to use that
figure instead of the figure in Row G.