Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Counting blank cells

Hello,



I need to chart a series from a column. Problem is i need to include
blanks. My x axis has no blanks and the
=OFFSET(Sheet1!$B$2,0,0,COUNTA(Sheet1!$B:$B)-1,1) works like a charm to
ensure I catch all the dates. But when I use this formula for my data series
(with blanks) it will not count blanks and cannot keep the series data
linked to the correct date.

How could I get around this?

Thanks, Kevin Graham


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,885
Default Counting blank cells

Hi Kevin
to get the row number for the last entry use the following array
entered (CTRL+SHIFT+ENTER) formulas:
=MAX(ISNUMBER($B$1:$B$1000)*ROW($B$1:$B$1000)
if your range only contains numbers

If you want to get the last row inlcuding text values try (also array
entered):
=MAX(($B$1:$B$1000<"")*ROW($B$1:$B$1000)

So for your OFFSET formula change your formula to the array entered
=OFFSET(Sheet1!$B$2,0,0,MAX(ISNUMBER($B$1:$B$1000) *ROW($B$1:$B$1000)1,1
)

Frank

Kevin G wrote:
Hello,



I need to chart a series from a column. Problem is i need to include
blanks. My x axis has no blanks and the
=OFFSET(Sheet1!$B$2,0,0,COUNTA(Sheet1!$B:$B)-1,1) works like a charm
to ensure I catch all the dates. But when I use this formula for my
data series (with blanks) it will not count blanks and cannot keep
the series data linked to the correct date.

How could I get around this?

Thanks, Kevin Graham



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting Non Blank Cells Lindsey Excel Discussion (Misc queries) 4 April 8th 09 06:41 PM
Counting Non Blank Cells AJ[_2_] New Users to Excel 6 March 27th 08 11:06 PM
Counting non-blank cells Joe M. Excel Discussion (Misc queries) 7 July 23rd 07 09:36 PM
Counting blank cells geoff1234 Excel Discussion (Misc queries) 7 July 10th 06 11:29 AM
counting blank cells bdq17 Excel Discussion (Misc queries) 6 December 7th 05 08:46 PM


All times are GMT +1. The time now is 02:46 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"