Add a number Column in old Sheet

humanoid769

New Member
Joined
Feb 14, 2020
Messages
21
Office Version
  1. 365
Platform
  1. Windows
Hi

I have a sheet I wish to update and then continue manually entering the data on a daily occurence.

1645011745192.png


The list above shows a date, time and track. As an additional column I wish to add a number which is pretty much a race number for the track on that day. so in the date/time sequence I would like to count each race for the day and just calculate the number and have that as a permenant update. Any advice would be welcome TIA

Thanks
Tony
 

Attachments

  • 1645011597557.png
    1645011597557.png
    5.9 KB · Views: 3

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
humanoid769, Good morning.

Suppose your columns are: A, B, C

Try to use:

D2 -->
Excel Formula:
=COUNTIF($C$1:C2; C2)

ATTENTION: Use comma or semicolon according to your Excel version

Please let us know if this is what you wanted.

I hope I've helped.
 
Upvote 0
Assuming that you want to count based on BOTH Date and Track, you can use COUNTIFS for this (though you have only shown one date in your example).

Let's say that your data is in range A26:C34.
Then place this formula in D26 and copy down for all rows:
Excel Formula:
=COUNTIFS(A$26:A26,A26,C$26:C26,C26)
 
Upvote 0
Solution
humanoid769,

If you want to count the runs within each day use this formula:

D2 -->
Excel Formula:
=COUNTIFS($A$1:A2; A2; $C$1:C2; C2)

ATTENTION: Use comma or semicolon according to your Excel version

Please let us know if this is what you wanted.

I hope I've helped.

Marcílio Lobão
Belo Horizonte - MG - Brazil
 
Upvote 0
humanoid769,

If you want to count the runs within each day use this formula:

D2 -->
Excel Formula:
=COUNTIFS($A$1:A2; A2; $C$1:C2; C2)

ATTENTION: Use comma or semicolon according to your Excel version

Please let us know if this is what you wanted.

I hope I've helped.

Marcílio Lobão
Belo Horizonte - MG - Brazil
Yep, that is pretty much what I already posted!
 
Upvote 0
Joe4, Good morning.

So that means I'm on the right path. :)

Congratulations for your work helping everyone here on the forum.

The large interval of time between our messages may be because I'm in Brazil using a very slow internet.

Have a nice day.

Greetings from Brazil.
 
Upvote 0
No worries, Marcilio!
:)
 
Upvote 0
Assuming that you want to count based on BOTH Date and Track, you can use COUNTIFS for this (though you have only shown one date in your example).

Let's say that your data is in range A26:C34.
Then place this formula in D26 and copy down for all rows:
Excel Formula:
=COUNTIFS(A$26:A26,A26,C$26:C26,C26)
Sorry yes for each day
 
Upvote 0

Forum statistics

Threads
1,214,919
Messages
6,122,260
Members
449,075
Latest member
staticfluids

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