+ Reply to Thread
Results 1 to 3 of 3

dynamic formule

  1. #1
    Forum Contributor
    Join Date
    12-25-2012
    Location
    gent,belgium
    MS-Off Ver
    Excel 2021
    Posts
    146

    dynamic formule

    i don't now it is possible
    i have the followinf formula on the worksheet feestdagen
    =ALS(E4="";"";DATUM(Kalender!$A$2;VERT.ZOEKEN(C4;$I$3:$J$14;2;0);D4))
    it's a if then formula wit a verical search.
    Is it posible to make a variable so that when i make a copy of the worksheet kalender and give it the name 2013.
    So when he the work sheet 2013 is active the formula must be lik dis
    =ALS(E4="";"";DATUM(2013!$A$2;VERT.ZOEKEN(C4;$I$3:$J$14;2;0);D4))
    Or can i put he request value on the not active sheet feestdagen.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,933

    Re: dynamic formule

    Hi glda and welcome to the forum

    it's a little hard to make out the translation of you're functions, but if i understand you correctly, take a look at the indirect() function.

    if you still have a problem, i would suggest you upload a sample work book, (all sensitive data removed), showing what data you are working with, a few examples of what your expected outcome is, and how you arrived at that

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Contributor
    Join Date
    12-25-2012
    Location
    gent,belgium
    MS-Off Ver
    Excel 2021
    Posts
    146

    Re: dynamic formule

    i put a file
    so if i add a new sheet then when it is active the value must come on the sheet feestagen where the formula
    =ALS(E4="";"";DATUM(Kalender!$A$2;VERT.ZOEKEN(C4;$I$3:$J$14;2;0);D4))
    is
    I hope that is now better understand
    Attached Files Attached Files

+ 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