Converting dates into days

  • Thread starter Thread starter Rehan Akhtar
  • Start date Start date
R

Rehan Akhtar

HI..

I have data with dates in it.. I want to convert the
dates into days and then add data of all sundays, mondays
and so on.. the problem i am facing is that if I convert
the dates into days using "Format Cells" and then
customising it to display day only, the sumif and countif
formulas do not pick up days from the range i conver to
days..

pls help

Rehan
 
Add an extra column then use this

=text(a1,"ddd")

(assuming the dates are in column a
 
Don't bother with an extra column, just use

=SUMPRODUCT(--(WEEKDAY(A1:A100)=1))

for Sunday, changing the 1 to 2 for Mon, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top