#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Proper syntex to use

I have a column of dates of wells that are drilling on given dates throughout
the year. There are also some dates that are in the same column that are rig
mob dates that I don't want to count those.
Example:
Date Drilled
1/1/2010
2/12/2010
3/10/2010
4/1/2010 Rig Mob
5/10/2010
6/12/2011
7/10/2012
8/5/2012 Rig Mob and so on for like 10 years

The wells are broken into groups by pads 8-10 wells a pad. Then the rig
moves to the next pad. I want to count how many wells drill on that pad in a
given year and ignore the date of the rig mob that's in the same column.
Let me know if you can help by giving me a formula to write this.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,722
Default Proper syntex to use

Perhaps something like this?

=SUMPRODUCT(--(B2:B100<"Rig Mob"),--(YEAR(A2:A100)=2010))

to count how many drillings occured in 2010.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"jannie" wrote:

I have a column of dates of wells that are drilling on given dates throughout
the year. There are also some dates that are in the same column that are rig
mob dates that I don't want to count those.
Example:
Date Drilled
1/1/2010
2/12/2010
3/10/2010
4/1/2010 Rig Mob
5/10/2010
6/12/2011
7/10/2012
8/5/2012 Rig Mob and so on for like 10 years

The wells are broken into groups by pads 8-10 wells a pad. Then the rig
moves to the next pad. I want to count how many wells drill on that pad in a
given year and ignore the date of the rig mob that's in the same column.
Let me know if you can help by giving me a formula to write this.

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
=PROPER() Mukesh Excel Discussion (Misc queries) 2 June 6th 09 06:45 AM
Not Proper! Adam Excel Worksheet Functions 2 September 19th 07 12:08 PM
Syntex Error ?? Paul Cooke Excel Discussion (Misc queries) 4 December 9th 05 01:54 PM
proper afdmello Excel Discussion (Misc queries) 3 October 11th 05 09:48 AM
Date format within a text syntex? Brw Excel Worksheet Functions 2 January 26th 05 02:13 PM


All times are GMT +1. The time now is 02:51 AM.

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

About Us

"It's about Microsoft Excel"