Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shamshad Butt
 
Posts: n/a
Default Passing parameters Cel Ref) to Sum function

I want to pass parameters Cel Ref) to Sum function. Any help?
Thanks in advance
  #2   Report Post  
Dave O
 
Posts: n/a
Default Passing parameters Cel Ref) to Sum function

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

  #3   Report Post  
Shamshad Butt
 
Posts: n/a
Default 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   Report Post  
Dave O
 
Posts: n/a
Default 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   Report Post  
Shamshad Butt
 
Posts: n/a
Default 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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing worksheet cells from within a function James4U2enjoy Setting up and Configuration of Excel 1 October 14th 05 02:16 PM
Date & Time mully New Users to Excel 4 May 23rd 05 11:56 AM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
Conversion SVC Excel Worksheet Functions 9 February 28th 05 02:29 PM
HOW CAN I GET OFFICE 2003 EXCEL BASIC TO NEST FUNCTIONS LIKE EXCE. Robert AS Excel Worksheet Functions 4 December 2nd 04 10:49 AM


All times are GMT +1. The time now is 04:40 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"