+ Reply to Thread
Results 1 to 4 of 4

Thread: IF Function in word

  1. #1
    Registered User
    Join Date
    03-30-2011
    Location
    Siberia
    MS-Off Ver
    Excel 2007
    Posts
    10

    IF Function in word

    Hi, I have a small problem. I need to look at a cell (Total Marks) in a table (in WORD 2007) and then in another cell (Admission Status), I need to use an IF function.

    If the Total Marks is >250 I want to display 1 in the status cell, if less then I want to display 0.

    The formula I used (while cursor in status box) in quickparts>field>formula is:

    =IFTotalMarks>250 "1""0"

    and even =IFTotalMarks>250 "1" "0"

    What I get is syntax error.

    So what am I doing wrong? Thanks very much for your help.
    Attached Files Attached Files

  2. #2
    Forum Guru snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,151

    Re: IF Function in word

    use the cell reference in the formula:

    ={if A1>250 "1" "0"}



  3. #3
    Registered User
    Join Date
    03-30-2011
    Location
    Siberia
    MS-Off Ver
    Excel 2007
    Posts
    10

    Re: IF Function in word

    Hi, that gives syntax error too. any other suggestion.

  4. #4
    Forum Guru snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,151

    Re: IF Function in word

    It doesn't.



+ 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.2.0