View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
[email protected] donotbeareporter@gmail.com is offline
external usenet poster
 
Posts: 3
Default How to count the maximum number flanked by zeros

On Sunday, November 16, 2014 8:05:00 PM UTC+8, Tez wrote:
Hi all!

I have some numbers zeros and non-zeros in Column A and would like to see the maximum number flanked by zeros in Column A's non-zero range in Column B.

What formula should be written in cells in Column B?

A B

0 0
0 0
3 7
2 7
6 7
7 7
0 0
0 0
0 0
8 8
2 8
3 8
0 0


Danke sehr! Sie sind super!!!!