View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Rosenfeld
 
Posts: n/a
Default How can I ignore an #N/A value in a =SUM() formula?

On Mon, 13 Feb 2006 08:32:05 -0800, "JD" wrote:

I have a range of cells that I need to total. Problem is many of these cells
currently contain formulas that have an #N/A value in them because they are
included in a graph and I don't want to plot them until monthly data is
entered during the year.
How can I total the cells that have a numerical value and ignore those that
still have an #N/A ?


The **array** formula:

=SUM(IF(ISNUMBER(rng),rng))

To enter an **array** formula, hold down <ctrl<shift while hitting <enter.
Excel will place braces {...} around the formula

--ron