Also POssible using this simple formula :

=COUNTIF($B$3:B5,B5)


regards,


On Jul 6, 11:13 am, SAJID MANSOOR <sajidmansooral...@gmail.com> wrote:
> Good!
>
>
>
> On Tue, Jul 6, 2010 at 8:55 AM, WizExcel <ssw...@gmail.com> wrote:
> > This is just too good Ayush ,
> > thanks for the explanation.
>
> > On Jul 5, 8:16 pm, Ayush <jainayus...@gmail.com> wrote:
> > > Thanks Ankit.
> > > As the running count was required, The formula should have running
> > > range. I have used Row f(x) to return the current row number and used
> > > the indirect f(x) to convert the test string into range.
> > > The two functions returns the running range and countif formula is
> > > used to count the values in running range.
>
> > > Example:-
>
> > > A2 cell will refer to range A2:A2 for counting
> > > A3 cell will refer to range A2:A3 for counting
> > > A4 cell will refer to range A2:A4 for counting
> > > and so on...
>
> > > I hope this helps.
>
> > > Best regards,
> > > Ayush Jain
> > > Group Manager.
>
> > > On Jul 5, 7:52 pm, Ankit Agarwal <ankit.a...@gmail.com> wrote:
>
> > > > Hi Ayush,
>
> > > > This formula is perfect. I would appreciate if you would pls. explain
> > it.
>
> > > > Thanks,
> > > > Ankit
>
> > > > On Mon, Jul 5, 2010 at 7:56 PM, ayush jain <jainayus...@gmail.com>
> > wrote:
> > > > > Hi Wizexcel,
>
> > > > > Attached is the solution. You have to use the combination of countif,
> > > > > indirect and row function.
>
> > > > > The formula is :- *=COUNTIF(INDIRECT("$A$2:$A$" & ROW(A2)),A2)*
>
> > > > > Please let us know if any further assistance is required.
>
> > > > > Best regards,
> > > > > Ayush Jain
> > > > > Group Manager
>
> > > > > On Mon, Jul 5, 2010 at 5:49 PM, WizExcel <ssw...@gmail.com> wrote:
>
> > > > >> Dear Experts,
>
> > > > >> want to know if there is way / function for having a "running" count
> > > > >> in Excel. I have tried COUNTIF and most of the Count Functions , but
> > > > >> all give "total" count and not the "Running" Count.
>
> > > > >> Example: See below.
>
> > > > >> The Count for HDFC Bank should be 1, 2 ..... and then finally 3. and
> > > > >> then similarly for other Banks. What the CountIF function shows is
> > the
> > > > >> TOTAL count.
>
> > > > >>  How it is happening now using CountIF:
>
> > > > >> Bank                                Count
> > > > >> HFDC Bank                         3
> > > > >> SBI Bank                            2
> > > > >> SBI Bank                            2
> > > > >> HDFC Bank                         3
> > > > >> Axis Bank                           1
> > > > >> HDFC Bank                         3
>
> > > > >> How  I want it :
>
> > > > >> Bank                                Count
> > > > >> HFDC Bank                         1
> > > > >> SBI Bank                            1
> > > > >> SBI Bank                            2
> > > > >> HDFC Bank                         2
> > > > >> Axis Bank                           1
> > > > >> HDFC Bank                         3
>
> > > > >> --
>
> > ---------------------------------------------------------------------------­­-------
> > > > >> Some important links for excel users:
> > > > >> 1. Follow us on TWITTER for tips tricks and links :
> > > > >>http://twitter.com/exceldailytip
> > > > >> 2. Join our LinkedIN group @
> >http://www.linkedin.com/groups?gid=1871310
> > > > >> 3. Excel tutorials athttp://www.excel-macros.blogspot.com
> > > > >> 4. Learn VBA Macros athttp://www.quickvba.blogspot.com
> > > > >> 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
>
> > > > >> To post to this group, send email to excel-macros@googlegroups.com
>
> > > > >> <><><><><><><><><><><><><><><><><><><><><><>
> > > > >> HELP US GROW !!
>
> > > > >> We reach over 7000 subscribers worldwide and receive many nice notes
> > about
> > > > >> the learning and support from the group.Let friends and co-workers
> > know they
> > > > >> can subscribe to group at
> > > > >>http://groups.google.com/group/excel-macros/subscribe
>
> > > > > --
> > > > > Best regards,
> > > > > Ayush Jain
>
> > > > >  --
>
> > ---------------------------------------------------------------------------­­-------
> > > > > Some important links for excel users:
> > > > > 1. Follow us on TWITTER for tips tricks and links :
> > > > >http://twitter.com/exceldailytip
> > > > > 2. Join our LinkedIN group @
> >http://www.linkedin.com/groups?gid=1871310
> > > > > 3. Excel tutorials athttp://www.excel-macros.blogspot.com
> > > > > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com
> > > > > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
>
> > > > > To post to this group, send email to excel-macros@googlegroups.com
>
> > > > > <><><><><><><><><><><><><><><><><><><><><><>
> > > > > HELP US GROW !!
>
> > > > > We reach over 7000 subscribers worldwide and receive many nice notes
> > about
> > > > > the learning and support from the group.Let friends and co-workers
> > know they
> > > > > can subscribe to group at
> > > > >http://groups.google.com/group/excel-macros/subscribe-Hide quoted
> > text -
>
> > > - Show quoted text -
>
> > --
>
> > ---------------------------------------------------------------------------­-------
> > Some important links for excel users:
> > 1. Follow us on TWITTER for tips tricks and links :
> >http://twitter.com/exceldailytip
> > 2. Join our LinkedIN group @http://www.linkedin.com/groups?gid=1871310
> > 3. Excel tutorials athttp://www.excel-macros.blogspot.com
> > 4. Learn VBA Macros athttp://www.quickvba.blogspot.com
> > 5. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
>
> > To post to this group, send email to excel-macros@googlegroups.com
>
> > <><><><><><><><><><><><><><><><><><><><><><>
> > HELP US GROW !!
>
> > We reach over 7000 subscribers worldwide and receive many nice notes about
> > the learning and support from the group.Let friends and co-workers know they
> > can subscribe to group at
> >http://groups.google.com/group/excel-macros/subscribe- Hide quoted text -
>
> - Show quoted text -

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Join our LinkedIN group @ http://www.linkedin.com/groups?gid=1871310
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 
To post to this group, send email to excel-macros@googlegroups.com

<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 7000 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to