My Photo

NEED HELP?

  • Do you need additional assistance? I'm here to help!

    Please contact me for information on my availability and rates.

A Note on Microsoft 2003 vs 2007

  • The majority of my posts here feature Microsoft 2003. If you are looking for 2007 info, please visit the Microsoft Office website which has a wealth of information, or contact me for further assistance.

Use Your Apps to the Max!


« Mail Merge in Microsoft Word | Main | Using AutoCorrect and Find and Replace in Microsoft Word »

February 22, 2009

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e55296580f883401127903fb3428a4

Listed below are links to weblogs that reference If / Then Statements in Excel: Using Logical Formulas:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Knitter

I understand how to use if,then statements but I'm having trouble with one point. I want to compare two numbers, let's say cells B2 and C2. I want to know if b2 is greater than c2, and then I want to have the value of the greater to be entered at d2. How do I get the value of a cell to display as the answer?
=if(b2>c2, [the value of b2], [the value of c2])

Kathy Layne

That's it exactly. Just remove 'the value of' and you've got it, Knitter. However, there is an even easier way than using an IF statement. Just use the formula MAX: =max(B2:C2)

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.