+ Reply to Thread
Results 1 to 5 of 5

Macro to put lookup formula on visible cells only

  1. #1
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Macro to put lookup formula on visible cells only

    Hi there, is it possible to put a lookup formula or other formula in a visible cells only, I have to filter specific data only and put a lookup formula in a certain column, and since there are other hidden rows, I don't need these hidden rows to have a lookup formula. Is it possible on macro?thanks
    Last edited by emina002; 03-20-2013 at 05:43 AM.

  2. #2
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Macro to put lookup formula on visible cells only

    Do you want to do this only using macro? I think that we can do it using formula.

    In any case it would be better to upload a small sample workbook.
    Regards

    Fotis.

    -This is my Greek whisper to Europe.

    --Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

    Advanced Excel Techniques: http://excelxor.com/

    --KISS(Keep it simple Stupid)

    --Bring them back.

    ---See about Acropolis of Athens.

    --Visit Greece.

  3. #3
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Macro to put lookup formula on visible cells only

    Here is the sample workbook I just want to create a macro/automated in just on click that can put populate formula on Monthly report(Filter Column A). Annual data should not have formula.Kindly see on March column that I put a sample formula on it
    Attached Files Attached Files

  4. #4
    Forum Expert Fotis1991's Avatar
    Join Date
    10-11-2011
    Location
    Athens(The homeland of the Democracy!). Greece
    MS-Off Ver
    Excel 1997!&2003 & 2007&2010
    Posts
    13,744

    Re: Macro to put lookup formula on visible cells only

    Not sure that i understand your goal and in any case as you need to work with macros, i am not able to help you.

    But just a thought.... In front of your formula in column H, just put one more IF....

    =IF($A2="Annual","",IF($E2<=WORKDAY(H$1,TRIM(RIGHT($C2,2))*1-1),"On time","Late"))

  5. #5
    Forum Contributor
    Join Date
    05-16-2011
    Location
    Philippines
    MS-Off Ver
    Excel 365/Excel 2016
    Posts
    315

    Re: Macro to put lookup formula on visible cells only

    I just used the IF condition vba code to skip all the word not "Annual". Thanks anyway

+ 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