[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


Excel 2010

Posted on 2011-05-12
Medium Priority
Last Modified: 2012-05-11
I am looking for the formula, to increment the numbers ( 1 2 3 ) by column in excel  while using the filter in another column as the reference.

I attached the worksheet for example.

In my worksheet i have Values in column A B C D, i used filter in column C, when i select the column to show the value 1 , i want the numbers should be incremented in column F like 1 2 3...

Thanks for your reply !!!

Question by:kriiis
  • 3
  • 2

Author Comment

ID: 35748537
LVL 50

Assisted Solution

by:barry houdini
barry houdini earned 100 total points
ID: 35748629
Try this formula in F1 copied down


regards, barry
LVL 20

Accepted Solution

Ardhendu Sarangi earned 400 total points
ID: 35748644
Do you mean like a counter? if so, you can use Countif for that....

Enter the formula "=COUNTIF($C$2:C2,C2)" in F2 and copy down,

See attached spreadsheet.

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.


Author Comment

ID: 35760246
Thank you for your quick reply.

Pari123 > It works with the filter. Actually, i have set of numbers & letters for bins. I would like to assign them with new bin numbers that i created. So i want to increment the numbers according to the columns.
LVL 20

Expert Comment

by:Ardhendu Sarangi
ID: 35760471
so it worked? right? i am not sure if u need anything here...

Author Comment

ID: 35780477
M sorry for not replying to lately.
Yes it worked
thank you very much

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
Currently, there is an issue with being able to copy values from an external application to a dropdown list in Project Web Access (PWA).  The standard copy and paste methods don't seem to work properly. Here is a way to accomplish this task to s…
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

834 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question