Same date problem in Column.

EC_08

New Member
Joined
Sep 4, 2013
Messages
39
Hi,

I have list of different dates in Column B , I want o/p in column C as below(If 2 cell of continuous raw having same date then in o/p of cell 1st must be same date & second date having +1 date,)

Example : in Raw 3,4,5 person A having same date in column B ( 10th Jan) , O/p must be like .. Raw 3 : 10th ,Raw 4: 11th ,Raw 5 : 12th.

Raw 1Column AColumn BColumn C
Raw 2PersonDataO/P
Raw 3A10-Jan10-Jan
Raw 4A10-Jan11-Jan
Raw 5A10-Jan12-Jan
Raw 6B11-Jan11-Jan
Raw 7B11-Jan12-Jan
Raw 8C10-Jan10-Jan
Raw 9C10-Jan11-Jan
Raw 10C10-Jan12-Jan
Raw 11C10-Jan13-Jan
Raw 12C10-Jan14-Jan
Raw 13C10-Jan15-Jan

<colgroup><col width="64" span="4" style="width:48pt"> </colgroup><tbody>
</tbody>
 

Excel Facts

How to change case of text in Excel?
Use =UPPER() for upper case, =LOWER() for lower case, and =PROPER() for proper case. PROPER won't capitalize second c in Mccartney
In D3:

=C3

In D4:

=IF(C3=C4,D3+1,C4)

Drag down from D4 to end of data.
 
Upvote 0
In fact thinking about it this works in D3 dragged down as long as you always have headers:

=IF(C2=C3,D2+1,C3)
 
Upvote 0

Forum statistics

Threads
1,214,849
Messages
6,121,925
Members
449,056
Latest member
denissimo

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