Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Adding a formula that doesn't give a #VALUE! error

I am working with a large spreadsheet, typically about 2000 rows and
100 or more columns. On the far right, hidden, are a number of columns
that contain input data, with many blank cells. On the left is the
"user area", where formulas combine values from the input data into
user-friendly values.

The problem I'm having is that the formulas return #VALUE! when the
input cells are empty - and will remain so. Yes, I know I can turn
this warning off, but I don't want to, because it's a global setting
and both that user and other sheets I make need to have it on. So I
want to fix the problem.

I tried looping over the cells looking for ISERROR and emptying them
out, but this turned out to be VERY slow - about 25% of the time
needed to prepare the entire sheet! Then I tried copy/paste
SkipEmptyRows, but of course the rows aren't actually empty. Is there
a way to tell it to skip rows with errors? Or perhaps some other way
to fix them?

Maury
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 72
Default Adding a formula that doesn't give a #VALUE! error

If you are using a macro to do this you can use if statements for the formula
to not include if the cell value is empty.

Or maybe you can use =iferror
--
Roland


"Maury Markowitz" wrote:

I am working with a large spreadsheet, typically about 2000 rows and
100 or more columns. On the far right, hidden, are a number of columns
that contain input data, with many blank cells. On the left is the
"user area", where formulas combine values from the input data into
user-friendly values.

The problem I'm having is that the formulas return #VALUE! when the
input cells are empty - and will remain so. Yes, I know I can turn
this warning off, but I don't want to, because it's a global setting
and both that user and other sheets I make need to have it on. So I
want to fix the problem.

I tried looping over the cells looking for ISERROR and emptying them
out, but this turned out to be VERY slow - about 25% of the time
needed to prepare the entire sheet! Then I tried copy/paste
SkipEmptyRows, but of course the rows aren't actually empty. Is there
a way to tell it to skip rows with errors? Or perhaps some other way
to fix them?

Maury

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 119
Default Adding a formula that doesn't give a #VALUE! error

Both of those would work, but make the formula much more difficult to
read.

Is there some sort of "conditional find" that would allow me to find/
replace on the errors?

Maury
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
Help with adding times to give the result as the day Jimbo Excel Worksheet Functions 3 March 31st 09 03:04 AM
Adding if error to a formula Jim Excel Discussion (Misc queries) 6 January 2nd 09 10:57 PM
Adding a decimal hours to a starting time to give a finishing tim Peter Rooney Excel Discussion (Misc queries) 3 March 21st 07 01:48 PM
Why does this statement give an error message? George Furnell[_2_] Excel Programming 2 February 18th 06 02:43 PM
Cell keeps give me an #valid error Mindie Excel Programming 2 February 14th 05 04:29 PM


All times are GMT +1. The time now is 01:40 PM.

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

About Us

"It's about Microsoft Excel"