×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Excel formula question?
2

Excel formula question?

Excel formula question?

(OP)
Hello to all.

I would like to write the following command in excel but its not going too well.
My problem is.

I have three cells a1 b1 c1
If cell a1 is less than or equal to cell b1 cell then c1 most equal zero
If cell a1 is greater than or equal to cell b1 cell c1 must equal cell a1 minus cell b1.

I’ve never had formal training in excel so I’d really appreciate the help.

Regards.

Roadbridge.

RE: Excel formula question?

2
=if(a1<=b1,0,a1-b1)

TTFN



RE: Excel formula question?

What IRstuff has given you is a typical IF, THEN, ELSE statement.  Try the Excel Help file for a complete explanation and examples. You can "nest" up to seven conditions within this kind of statement.

good luck

RE: Excel formula question?

(OP)
Hi

Many thanks for all your help IRstuff and RWF7437


Regards.

Roadbridge.

RE: Excel formula question?

=MAX(0,A1-B1)

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources