Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default If formula to replace the #N/A value

This might suffice:
In C2: =IF(ISNA(B2),0,A2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Casper" wrote:
Hi, I have been trying to work out the correct way of creating an if formula
to no success, it's probably not that difficult but hope you can help

I have a few columns with info that has got vlookup formulas in them and
some of the cells will have a #N/A value but will have the correct values
after a few days of data entering, I am trying to create the if formula so
that where there is a #N/A value to replace it with anoter cells value for
example;

A B C
Credit Value Date Total
1 12/01/2007 1
2 #N/A 0

if there is a date in the date column(B) then I want the value of column A
to be placed in clumn C but if there is a #N/A in column B the value in C
must be 0

Please help
Regards
Casper

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default If formula to replace the #N/A value

Brilliant thanx Max

"Max" wrote:

This might suffice:
In C2: =IF(ISNA(B2),0,A2)
Copy down
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Casper" wrote:
Hi, I have been trying to work out the correct way of creating an if formula
to no success, it's probably not that difficult but hope you can help

I have a few columns with info that has got vlookup formulas in them and
some of the cells will have a #N/A value but will have the correct values
after a few days of data entering, I am trying to create the if formula so
that where there is a #N/A value to replace it with anoter cells value for
example;

A B C
Credit Value Date Total
1 12/01/2007 1
2 #N/A 0

if there is a date in the date column(B) then I want the value of column A
to be placed in clumn C but if there is a #N/A in column B the value in C
must be 0

Please help
Regards
Casper

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default If formula to replace the #N/A value

welcome, Casper.
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Casper" wrote in message
...
Brilliant thanx Max



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
Edit Replace formula snax500 Excel Discussion (Misc queries) 2 November 21st 06 09:51 PM
Formula to Replace or eliminate any sheetname(s) in formula string EagleOne Excel Discussion (Misc queries) 0 September 20th 06 06:36 PM
How do I replace numbers in a value NOT a formula? Riverrat Excel Discussion (Misc queries) 8 February 26th 06 01:15 PM
replace formula Andy the yeti Excel Worksheet Functions 2 December 20th 05 10:35 PM
Formula to replace nos. below 100?? [email protected] Excel Discussion (Misc queries) 3 December 3rd 05 08:24 PM


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