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

You're welcome. Thanks for the feedback!

Biff

"katie" wrote in message
...
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.