Basic IF function

1. Basic IF function

Hi,

Basic IF function but I can't seem to work it out, so help is much appreciated.

I have A1=50 and A3=70. My If function will compare both A1 and A3, if both figures are the same then cell A4 will display “Correct”, if not, then cell A4 will display “Incorrect” and will tell me the difference which is A3- A1. My problem is I didn’t know how to display both “Incorrect” and “A3- A1” in the same cell. Here is my formula

Formula:
`Please Login or Register  to view this content.`

2. Re: Basic IF function

You were nearly there...
=IF(A1=A3,"Correct",IF(A1<>A3,"Incorrect, difference is "&A3-A1 ))

3. Re: Basic IF function

Originally Posted by Glenn Kennedy
You were nearly there...
=IF(A1=A3,"Correct",IF(A1<>A3,"Incorrect, difference is "&A3-A1 ))
Brilliant, concatenate solved it and it works as I want it. Thank you

4. Re: Basic IF function

You're welcome...

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

• You may not post new threads
• You may not post replies
• You may not post attachments
• You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1