atanatashi
New Member
- Joined
- Aug 5, 2014
- Messages
- 3
Hi, is it possible to count/numbering with two columns as its range?
i wanted a numbering on the dates as shown below;
the countif formula works but on one column only, how can i add the other column so it does not only count the date 1 column but also the date 2 column where the answer should be the bold numbers. thanks
[TABLE="width: 439"]
<tbody>[TR]
[TD][/TD]
[TD]#[/TD]
[TD]DATE 1[/TD]
[TD]DATA[/TD]
[TD]#[/TD]
[TD]DATE 2[/TD]
[TD]DATA[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C2,C2)[/TD]
[TD]1[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]5[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C3,C3)[/TD]
[TD]2[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/7/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C4,C4)[/TD]
[TD]3[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]1[/TD]
[TD]7/8/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/8/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/7/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/9/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/9/2014[/TD]
[TD]XXXX[/TD]
[TD]3[/TD]
[TD]7/9/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/10/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/10/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/11/2014[/TD]
[TD]XXXX[/TD]
[TD]3[/TD]
[TD]7/11/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]2[/TD]
[TD]7/11/2014[/TD]
[TD]XXXX[/TD]
[TD]4[/TD]
[TD]7/11/2014[/TD]
[TD]XXXX[/TD]
[/TR]
</tbody>[/TABLE]
i wanted a numbering on the dates as shown below;
the countif formula works but on one column only, how can i add the other column so it does not only count the date 1 column but also the date 2 column where the answer should be the bold numbers. thanks
[TABLE="width: 439"]
<tbody>[TR]
[TD][/TD]
[TD]#[/TD]
[TD]DATE 1[/TD]
[TD]DATA[/TD]
[TD]#[/TD]
[TD]DATE 2[/TD]
[TD]DATA[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C2,C2)[/TD]
[TD]1[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]5[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C3,C3)[/TD]
[TD]2[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/7/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD="align: left"]COUNTIF($C$2:C4,C4)[/TD]
[TD]3[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]1[/TD]
[TD]7/8/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]4[/TD]
[TD]7/4/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/8/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/7/2014[/TD]
[TD]XXXX[/TD]
[TD]2[/TD]
[TD]7/9/2014[/TD]
[TD]XXXX[/TD]
[/TR]
[TR]
[TD][/TD]
[TD]1[/TD]
[TD]7/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