Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default To Refer particular Month in large datas

I having large date in one Column with different dates in data
Format(mm/dd/yyyy). I want to refer how many datas in particular month
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default To Refer particular Month in large datas

As long as its real dates, whatever date-format subsequently applied doesn't
matter

This will count all dates in col A which are in Feb 2008:
=SUMPRODUCT(--(TEXT(A2:A1000,"mmm yyyy")="Feb 2008"))

And this will sum col B for all dates in col A which are in Feb 2008:
=SUMPRODUCT(--(TEXT(A2:A1000,"mmm yyyy")="Feb 2008"),B2:B1000)

Adapt to suit ..
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:23,000 Files:370 Subscribers:66
xdemechanik
---
"PERANISH" wrote:
I having large date in one Column with different dates in data
Format(mm/dd/yyyy). I want to refer how many datas in particular month

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default To Refer particular Month in large datas

If you really don't care about year, as your post says nothing about that, then

=SUMPRODUCT(--(MONTH(A1:A20)=1))

Would count the number of January dates in the range, if you do care about
year then you could use

=SUMPRODUCT(--(A1:A20=C1),--(A1:A20<=C2))

Where you enter the first day of the month in question in C1 as a date, and
the ending date of that month in C2.

--
If this helps, please click the Yes button

Cheers,
Shane Devenshire


"PERANISH" wrote:

I having large date in one Column with different dates in data
Format(mm/dd/yyyy). I want to refer how many datas in particular month

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Counting datas in one range based on datas in another range Irene Excel Discussion (Misc queries) 1 November 11th 08 11:51 PM
A chart with 2 datas ymcj Charts and Charting in Excel 2 May 2nd 08 12:23 PM
import datas from one excel to another Krishnakanth New Users to Excel 1 May 2nd 07 06:19 PM
Sorting a large list by date (month number) Mac1 Excel Discussion (Misc queries) 2 January 9th 07 05:37 PM
Datas from Access Saboto Excel Discussion (Misc queries) 1 July 3rd 06 03:14 PM


All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"