+ Reply to Thread
Results 1 to 3 of 3

Syntax for a UDF

  1. #1
    Registered User
    Join Date
    09-25-2006
    Location
    North West, UK
    MS-Off Ver
    2010
    Posts
    73

    Syntax for a UDF

    Hello all

    I have a formula I use a lot to calculate a rate of National Insurance (in UK)

    = SUMPRODUCT(--(F10>{7605;40040;42475}),(F10-{7605;40040;42475}),{0.104;0.034;0}))

    What I want to do is have this as a UDF (say called NI) and of course the F10 in my formula above to be a definable cell reference (=ni(F10)) kind of thing

    Is this possible? I can not seem to work it out

    Thanks

  2. #2
    Forum Guru JosephP's Avatar
    Join Date
    03-27-2012
    Location
    Ut
    MS-Off Ver
    2003/10
    Posts
    7,328

    Re: Syntax for a UDF

    for instance
    Please Login or Register  to view this content.
    usage
    =calcNI(F10)
    Josie

    if at first you don't succeed try doing it the way your wife told you to

  3. #3
    Registered User
    Join Date
    09-25-2006
    Location
    North West, UK
    MS-Off Ver
    2010
    Posts
    73

    Re: Syntax for a UDF

    Well that explains why it did not work for me, lol, what I was doing looks NOTHING like that

    Thank you so much JosephP

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. syntax help
    By vincenzo345 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-12-2013, 05:02 PM
  2. syntax help
    By TRJJK73 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-08-2009, 07:54 AM
  3. Syntax
    By adilhooda in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-21-2007, 07:11 PM
  4. Syntax help!
    By Mike Fogleman in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 07-30-2005, 09:05 AM

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