Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
DaveinNeedofHelp
 
Posts: n/a
Default Can you make a cell = 0 if original function is creating a"#ref!"?

Anyone,

Can you make a cell = 0 if original function is creating a"#ref!"?
Normally, I can manually change the refs to 0, but for large worksheets, this
is not practical.

Thanks,
Dave
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
SGT Buckeye
 
Posts: n/a
Default Can you make a cell = 0 if original function is creating a"#ref!"?

Dave, you can use the following function or something similar provided
that cell A1 is the cell in question:

=if(iserror(A1),0,original function)

This should give you the value of zero if there is an error in the cell
and should give you the resulting value if there is not an error. Hope
this helps.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Pete_UK
 
Posts: n/a
Default Can you make a cell = 0 if original function is creating a"#ref!"?

If you don't want to make use of a separate cell (or column), you can
amend the formula which causes the #REF error as follows:

=IF(ISERROR(existing_formula),0,existing_formula)

Hope this helps.

Pete

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Can you make a cell = 0 if original function is creating a"#re

It worked with ; in stead of , remember ;;;;;
=IF(ISERROR(existing_formula);0;existing_formula)

"Pete_UK" wrote:

If you don't want to make use of a separate cell (or column), you can
amend the formula which causes the #REF error as follows:

=IF(ISERROR(existing_formula),0,existing_formula)

Hope this helps.

Pete


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Can you make a cell = 0 if original function is creating a"#re

Depends upon your regional settings whether ; or , is accepted.


Gord Dibben MS Excel MVP

On Tue, 7 Apr 2009 09:43:01 -0700, gunnarhg
wrote:

It worked with ; in stead of , remember ;;;;;
=IF(ISERROR(existing_formula);0;existing_formul a)

"Pete_UK" wrote:

If you don't want to make use of a separate cell (or column), you can
amend the formula which causes the #REF error as follows:

=IF(ISERROR(existing_formula),0,existing_formula)

Hope this helps.

Pete





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default Can you make a cell = 0 if original function is creating a"#re

On Tue, 07 Apr 2009 10:48:47 -0700, Gord Dibben <gorddibbATshawDOTca
wrote:

Depends upon your regional settings whether ; or , is accepted.


Gord Dibben MS Excel MVP

On Tue, 7 Apr 2009 09:43:01 -0700, gunnarhg
wrote:

It worked with ; in stead of , remember ;;;;;
=IF(ISERROR(existing_formula);0;existing_formula )

"Pete_UK" wrote:

If you don't want to make use of a separate cell (or column), you can
amend the formula which causes the #REF error as follows:

=IF(ISERROR(existing_formula),0,existing_formula)

Hope this helps.

Pete



Cannot 0 be encapsulated by quotes to achieve this? "0"
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
Creating a Custom Excel Function to Calculate Gini Coefficients [email protected] Excel Worksheet Functions 3 February 21st 06 10:15 PM
Function that Returns address of that cell? RayWolfDog Excel Worksheet Functions 2 February 15th 06 04:54 PM
Reading Cell Function??? roy.okinawa Excel Worksheet Functions 2 December 1st 05 11:29 PM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM
make a cell empty based on condition mpierre Charts and Charting in Excel 2 December 29th 04 01:01 PM


All times are GMT +1. The time now is 04:41 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"