counta formula

Manoharal

New Member
Joined
Jan 5, 2009
Messages
19
I have to count the number of entries in a given range of cells. e.g. cell a1 to a50 (excluding the blanks). The first cell ref i.e. a1 would remain the same and the rest should progress one by one i..e. counta(a1:a1), counta (a1:a2), counta(a1:a3) and so on. I manually entered upto 5 to 6 cells and selected all and dragged the box to following rows. But excel is updating both the values. I just want the second ref to be updated as I progress. How can I do this? Please help.
 

Excel Facts

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
Try making the first formula:
=COUNTA(A$1:A1)

The $ sign will lock the '1' in that first reference. Then copy/drag the formula down.
 
Upvote 0

Forum statistics

Threads
1,224,222
Messages
6,177,230
Members
452,765
Latest member
Erka Gizli

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top