Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
azmi
 
Posts: n/a
Default correction of formula please............

C2=IF(A2+B2=0,"0",C1-A2+B2)

the above formula is which im using presently. then i came out with the one
below to eliminate the error which would occur by entering data on both
cells, A2 and B2 at the same time.

C2=IF(A2=0,C1+B2,IF(B2=0,C1-A2,IF(A2 AND B2=0,"0","ERROR")))

what i need to do is if A2 and B2 has values at the same time to show an
error message.appriciate if someone could correct the above formula.
  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

See reply to your earlier post.


In article ,
"azmi" wrote:

C2=IF(A2+B2=0,"0",C1-A2+B2)

the above formula is which im using presently. then i came out with the one
below to eliminate the error which would occur by entering data on both
cells, A2 and B2 at the same time.

C2=IF(A2=0,C1+B2,IF(B2=0,C1-A2,IF(A2 AND B2=0,"0","ERROR")))

what i need to do is if A2 and B2 has values at the same time to show an
error message.appriciate if someone could correct the above formula.

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 check mark box MarthaSue Setting up and Configuration of Excel 18 April 28th 05 12:31 AM
Named SUM Formula with relative refernce(s) Werner Rohrmoser Excel Worksheet Functions 2 April 20th 05 04:56 PM
Frequency formula Curious Excel Worksheet Functions 1 April 12th 05 09:49 PM
Formula correction HELP!!! Jay Excel Worksheet Functions 0 March 2nd 05 07:41 PM
formula correction Roccobarocco Excel Worksheet Functions 4 December 6th 04 01:39 AM


All times are GMT +1. The time now is 12:57 AM.

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"