Results 1 to 6 of 6

Nested IF Formula Using Variables

Threaded View

  1. #1
    Forum Contributor
    Join Date
    09-06-2012
    Location
    New York
    MS-Off Ver
    Excel 2007
    Posts
    225

    Nested IF Formula Using Variables

    Hello,

    I am having trouble with creating this formula. It keeps giving me the following error, "Compile Error- Expected: )" and it highligths the TRUE part of the code. Can someone please take a look and see if you can identify where the problem is?

    Any assistance will be much appreciated.


    With Range(Cells(2, iVariable9), Cells(LR, iVariable9))
            .Formula = "=IF("AND(" & Cells(2, vVariable9).Address(0, 0) & "<>"""," & _
            Cells(2, vVariable9).Address(0, 0) & ">" & Cells(2, vVariable10).Address(0,0) & "), "TRUE", "FALSE"")""
    
    End With
    Last edited by Gard5096; 01-07-2013 at 05:47 PM.

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