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

Hello!

I'd like to find an empty cell within a range and then
check if the following cells are empty too. The following
command creates a trendline if a cell is empty. But this
is not enough; all following cells within the range "b" &
vol1 need to be empty as well ... (the if/ else is just
used if the value is the first entry in the range).
I hope you understand what I mean ... Can anybody help?
Thank you!
Maria

If IsNumeric(.Range("b" & .Range("vol1").SpecialCells
(xlCellTypeBlanks).Cells(1).Row - 2).Value) Then trendlin
(1) = .Range("b" & .Range("vol1").SpecialCells
(xlCellTypeBlanks).Cells(1).Row - 1).Value - .Range("b"
& .Range("vol1").SpecialCells(xlCellTypeBlanks).Cell s
(1).Row - 2).Value Else trendlin(1) = .Range("b" & .Range
("vol1").SpecialCells(xlCellTypeBlanks).Cells(1).R ow -
1).Value

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
Cannot find "Plot empty cells as" option in 2007 Jack Tripper Charts and Charting in Excel 6 November 26th 08 12:38 PM
Find empty cells, fill with text from cell above Marketer Excel Worksheet Functions 1 August 27th 07 10:35 PM
Excel - Autom. Filter "Empty / Non Empty cells" should come first Rom Excel Discussion (Misc queries) 0 August 10th 05 04:32 PM
How can I convert empty strings to empty cells? Shane Excel Discussion (Misc queries) 2 July 19th 05 12:10 PM
Can blank cells created using empty Double-Quotes not be empty?? JohnI in Brisbane Excel Programming 6 September 7th 03 11:22 PM


All times are GMT +1. The time now is 02:48 AM.

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"