+ Reply to Thread
Results 1 to 5 of 5

Passing parameters Cel Ref) to Sum function

  1. #1
    Shamshad Butt
    Guest

    Passing parameters Cel Ref) to Sum function

    I want to pass parameters Cel Ref) to Sum function. Any help?
    Thanks in advance

  2. #2
    Dave O
    Guest

    Re: Passing parameters Cel Ref) to Sum function

    Does this mean you want to use VBA code to create a formula?


  3. #3
    Shamshad Butt
    Guest

    Re: Passing parameters Cel Ref) to Sum function

    Dear Dave O
    Thanks for initiative to help me.
    No I don't want VBA code. I want to capture cell reference (e.g. D12) and
    wanna pass it second parameter (sum upto this ref) to
    =SUM(D5:SecondParameter).


    "Dave O" wrote:

    > Does this mean you want to use VBA code to create a formula?
    >
    >


  4. #4
    Dave O
    Guest

    Re: Passing parameters Cel Ref) to Sum function

    You may be able to use the OFFSET function. Or, if you assign a named
    range to D12 you can use the formula =sum(D5:R) where R is the named
    range.


  5. #5
    Shamshad Butt
    Guest

    Re: Passing parameters Cel Ref) to Sum function

    Dear Dave O
    Thanks a lot for your help. The function OFFSET worked as per my
    requirements. Thanks again, Take care
    Bye
    Shamshad Butt - Islamabad (Pakistan)

    "Dave O" wrote:

    > You may be able to use the OFFSET function. Or, if you assign a named
    > range to D12 you can use the formula =sum(D5:R) where R is the named
    > range.
    >
    >


+ 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