counting the dates per person

iggydarsa

Well-known Member
Joined
Jun 28, 2005
Messages
1,780
Office Version
  1. 2019
Platform
  1. Windows
Hi All,

I have a sheet that looks like this (except the column C):
<html><head><title>Excel Jeanie HTML</title></head><body>

<!-- ######### Start Created Html Code To Copy ########## -->

Excel Workbook
ABC
1NameDateTotal
2Adam1/1/20083
3*1/5/2008*
4*1/7/2008*
5***
6Bob1/2/20084
7*2/5/2008*
8*2/6/2008*
9*3/3/2008*
10***
11Charlie2/4/20081
12***
13David2/7/20082
14*2/8/2008*
Sheet2




<!-- ######### End Created Html Code To Copy ########## -->

</body></html>

I would like to know the dates occured per person; however, because the names are appearing only once I cannot find a way to use SUMIF or SUMPRODUCT... any ideas?
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
do you have asterix (plural ?) in the other cells or are they blank ?

you could use a normal formula I think, no ?

C2 = IF($A2="*","*",MATCH("*",$B2:$B$1000,0)-1)
 
Upvote 0
Thanks for the response lasw,

Actually there are no *s - they represent the empty cells.

I removed the *s from the formula and left it as "" but I got #N/A
 
Upvote 0
Why not fill in the empty cells in column A? Select column A, press F5, click Special, check blanks and click OK. then type

=

Up arrow

CTRL + Enter.
 
Upvote 0
Why not fill in the empty cells in column A? Select column A, press F5, click Special, check blanks and click OK. then type

=

Up arrow

CTRL + Enter.

I hope I could - as I mentioned on my previous post it would make my job way easier :]
Since it is not my file unfortuantely I have to stick with the existing format for the other departments.

So I have to find a way counting those days without adding any extra data in Column A and B and without a VBA
 
Upvote 0

Forum statistics

Threads
1,213,563
Messages
6,114,332
Members
448,566
Latest member
Nickdozaj

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