+ Reply to Thread
Results 1 to 2 of 2

If statement

  1. #1
    Forum Contributor
    Join Date
    01-25-2005
    Location
    Cardiff, Wales
    MS-Off Ver
    Mac 365 & M/S 365
    Posts
    107

    If statement

    Morning all,

    please help, I am having one of those moments.

    I'm trying to check if the sum of four cells is correct against another cell, and it to tell me "correct" or "wrong".

    I know that it's an "IF" statement, but for the life of me I can't get the structure right.

    Cheers

    Clash

  2. #2
    Govind
    Guest

    Re: If statement

    Hi,

    Say the four cells are A1:A4 and you want to check against B1 cell,use

    =IF(SUM(A1:A4)=B1,"Correct","Wrong")

    Regards

    Govind.

    Clash wrote:
    > Morning all,
    >
    > please help, I am having one of those moments.
    >
    > I'm trying to check if the sum of four cells is correct against another
    > cell, and it to tell me "correct" or "wrong".
    >
    > I know that it's an "IF" statement, but for the life of me I can't get
    > the structure right.
    >
    > Cheers
    >
    > Clash
    >
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Bookmarks

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