+ Reply to Thread
Results 1 to 4 of 4

Auto fill formula

  1. #1
    Registered User
    Join Date
    09-29-2006
    Posts
    9

    Auto fill formula

    Hello,

    I was wondering if there was a way to auto fill formula where several cells change but one stays the same (see example below)

    =IF(AND(G12="YES",D12<A2,F12="YES"),"CHECK NEEDED","")
    =IF(AND(G13="YES",D13<A2,F13="YES"),"CHECK NEEDED","")
    =IF(AND(G14="YES",D14<A2,F14="YES"),"CHECK NEEDED","")

    i need the part that refers to A2 to stay the same and the rest to increase with the row. I know I could change it manually but basically i am to lazy so I thought i would ask.

    Thanks

    Matt

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Hi,

    Try

    =IF(AND(G12="YES",D12<$A$2,F12="YES"),"CHECK NEEDED","")

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    09-29-2006
    Posts
    9
    thank you, you are my hero

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Glad it help

    VBA Noob

+ 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