Hi Kuldeep..

It Doesnt work.. can you show or attach file with solution.

Rgds

On Wednesday, September 12, 2012 10:40:39 PM UTC+5:30, Kuldeep Singh wrote:
>
>
> Hi,
>
> Try this.
>
> Function Udf_sum(rng As Excel.Range)
> Dim cell As Range
> For Each cell In rng
> If VBA.IsNumeric(cell) And cell.Value <> "" Then
> Udf_sum = Udf_sum + cell
> End If
> Next cell
> End Function* *
>
> Regards,
> Kuldeep Singh
>
> On Wed, Sep 12, 2012 at 10:27 PM, Rajan_Verma 
> <rajanve...@gmail.com<javascript:>
> > wrote:
>
>> * *
>>
>> * *
>>
>> *=SUM(OFFSET($A4,,ROWS($L$3:L3),1,4))*
>>
>> * *
>>
>> * *
>>
>> *Regards*
>>
>> *Rajan verma*
>>
>> *+91 7838100659 [IM-Gtalk]*
>>
>> * *
>>
>> *From:* excel-...@googlegroups.com <javascript:> [mailto:
>> excel-...@googlegroups.com <javascript:>] *On Behalf Of *Vabz
>> *Sent:* 12 September 2012 9:52
>> *To:* excel-...@googlegroups.com <javascript:>
>> *Subject:* $$Excel-Macros$$ Re: UDF to sum range****
>>
>> ** **
>>
>> hi****
>>
>> ** **
>>
>> Question was really tuff..but not impossible..****
>>
>> ** **
>>
>> I could manage to solve without UDF****
>>
>> ** **
>>
>> PFA.. Soln is in K column..****
>>
>> ** **
>>
>> Cheerz..****
>>
>> ** **
>>
>> Rgds//Vabz****
>>
>>
>>
>> On Friday, August 17, 2012 11:28:51 AM UTC+5:30, Amol J wrote:****
>>
>>  Hi experts, I need your help, I tried myself but unfortunatly its not 
>> working.
>> I need UDF to sum  range.
>> 1) first my range will be B4:E4 and
>>   I am going to drag udf into columns to next range will be  C5:E5,
>>  Means when I will drag my udf function it will increase in range by 
>> 1column and 1 row****
>>
>>  ****
>>
>> PFA  for more details.****
>>
>>  ****
>>
>> -- 
>> Join official facebook page of this forum @ 
>> https://www.facebook.com/discussexcel
>>  
>> FORUM RULES (1120+ members already BANNED for violation)
>>  
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please 
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
>> will not get quick attention or may not be answered.
>>  
>> 2) Don't post a question in the thread of another member.
>>  
>> 3) Don't post questions regarding breaking or bypassing any security 
>> measure.
>>  
>> 4) Acknowledge the responses you receive, good or bad.
>>  
>> 5) Cross-promotion of, or links to, forums competitive to this forum in 
>> signatures are prohibited. 
>>  
>> 6) Jobs posting is not allowed.
>>  
>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>  
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum 
>> owners and members are not responsible for any loss.
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> excel-macros...@googlegroups.com <javascript:>.
>>  
>>  ****
>>
>> -- 
>> Join official facebook page of this forum @ 
>> https://www.facebook.com/discussexcel
>>  
>> FORUM RULES (1120+ members already BANNED for violation)
>>  
>> 1) Use concise, accurate thread titles. Poor thread titles, like Please 
>> Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice 
>> will not get quick attention or may not be answered.
>>  
>> 2) Don't post a question in the thread of another member.
>>  
>> 3) Don't post questions regarding breaking or bypassing any security 
>> measure.
>>  
>> 4) Acknowledge the responses you receive, good or bad.
>>  
>> 5) Cross-promotion of, or links to, forums competitive to this forum in 
>> signatures are prohibited. 
>>  
>> 6) Jobs posting is not allowed.
>>  
>> 7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.
>>  
>> NOTE : Don't ever post personal or confidential data in a workbook. Forum 
>> owners and members are not responsible for any loss.
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "MS EXCEL AND VBA MACROS" group.
>> To post to this group, send email to excel-...@googlegroups.com<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> excel-macros...@googlegroups.com <javascript:>.
>>
>  

-- 
Join official facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES (1120+ members already BANNED for violation)

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.

2) Don't post a question in the thread of another member.

3) Don't post questions regarding breaking or bypassing any security measure.

4) Acknowledge the responses you receive, good or bad.

5)  Cross-promotion of, or links to, forums competitive to this forum in 
signatures are prohibited. 

6) Jobs posting is not allowed.

7) Sharing copyrighted ebooks/pirated ebooks/their links is not allowed.

NOTE  : Don't ever post personal or confidential data in a workbook. Forum 
owners and members are not responsible for any loss.
--- 
You received this message because you are subscribed to the Google Groups "MS 
EXCEL AND VBA MACROS" group.
To post to this group, send email to excel-macros@googlegroups.com.
To unsubscribe from this group, send email to 
excel-macros+unsubscr...@googlegroups.com.


Reply via email to