Hi All, Please help me with this problem. its related to range reference . When we drag any formula into columns. it adjust cell accordingly and increase the columns. but what i want is If i drag sum udf into columns it will increase columns as well as rows
On Saturday, August 18, 2012 9:34:34 AM UTC+5:30, David Grugeon wrote: > I think you need to fix the first part of youyr reference as in enclosed > example. > > On 18 August 2012 13:43, Amol J <asj...@gmail.com <javascript:>> wrote: > >> >> Hi NOORAIN, >> >> Thanks for your quick responce >> >> But still problem remains same as you can see, >> >> I put udf in D20 & drag it to H20 so only my columns change row remain >> same (row 4), it should increase by 1 row in each column where i am draging. >> >> >> Thanks >> Amol J >> >> >> >> On Friday, August 17, 2012 11:40:45 AM UTC+5:30, NOORAIN ANSARI wrote: >> >>> Dear Amol, >>> >>> Please Try it.* >>> >>> >>> 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 >>> * >>> >>> On Fri, Aug 17, 2012 at 11:32 AM, Amol J <asj...@gmail.com> 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 >>>> >>>> -- >>>> Join official facebook page of this forum @ https://www.facebook.com/** >>>> discussexcel <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. >>>> To unsubscribe from this group, send email to excel-macros...@** >>>> googlegroups.com. >>>> >>>> >>>> >>> >>> >>> >>> -- >>> With Regards, >>> Noorain Ansari >>> http:// >>> <http://www.noorainansari.com>noorainansari.com<http://www.noorainansari.com> >>> http:// >>> <http://www.excelvbaclinic.blogspot.com>excelvbaclinic.com<http://www.excelvbaclinic.blogspot.com><http://accesssqclinic.blogspot.in/> >>> >>> >>> >>> -- >> 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:>. >> >> >> > > > > -- > Regards > David Grugeon > -- 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.