View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.misc
John James
 
Posts: n/a
Default Totals skipping columns


Hi Mike,

I assume your problem is that when you hit a blank column, you get an
error in your running total. If so, try changing your formula to
=IF(AND(E18,F17),E18+F17,0). Zeros can be made invisible by selecting
tools-options-view and unchecking the zero values box.
[If you also additionally want to hide the totals in empty columns, you
can use conditional formatting to achieve this, but I don't read this as
your requirement]


--
John James
------------------------------------------------------------------------
John James's Profile: http://www.excelforum.com/member.php...o&userid=32690
View this thread: http://www.excelforum.com/showthread...hreadid=531714