Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Counting number of days excluding certain values

I have a spreadsheet with a number of columns.

Col A Col D Col AB Col AD
Ref # Date Rec Days Open Date Closed
2281 4/30/10 11
2250 4/27/10 7 5/6/10
P2239 4/28/10 8 5/10/10
P2247 1/8/10 2 1/12/10
2258 4/23/10 16

I have a section for review time with two cells, one for 10 days or less and
one for more than 10 days. Right now it does not distinguish between the
"Offical" and "Preliminary" submittals. Preliminary submittals have a "P"
before the reference number. These submittals do not have a deadline
timeframe.

The current equation for the 10 days or less is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB988<=10))

and the one for 10 days or more is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB98810))

I need help in filtering out the preliminary data which is not counted in
our number of days open. Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting number of days excluding certain values

Preliminary submittals have a "P" before the reference number.
I need help in filtering out the preliminary data which is not counted


Add another test to the formulas:

--(LEFT(A6:A988)<"P")

--
Biff
Microsoft Excel MVP


"Jarnell" wrote in message
...
I have a spreadsheet with a number of columns.

Col A Col D Col AB Col AD
Ref # Date Rec Days Open Date Closed
2281 4/30/10 11
2250 4/27/10 7 5/6/10
P2239 4/28/10 8 5/10/10
P2247 1/8/10 2 1/12/10
2258 4/23/10 16

I have a section for review time with two cells, one for 10 days or less
and
one for more than 10 days. Right now it does not distinguish between the
"Offical" and "Preliminary" submittals. Preliminary submittals have a "P"
before the reference number. These submittals do not have a deadline
timeframe.

The current equation for the 10 days or less is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB988<=10))

and the one for 10 days or more is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB98810))

I need help in filtering out the preliminary data which is not counted in
our number of days open. Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Counting number of days excluding certain values

Thank you so much. This worked!!!!

"T. Valko" wrote:

Preliminary submittals have a "P" before the reference number.
I need help in filtering out the preliminary data which is not counted


Add another test to the formulas:

--(LEFT(A6:A988)<"P")

--
Biff
Microsoft Excel MVP


"Jarnell" wrote in message
...
I have a spreadsheet with a number of columns.

Col A Col D Col AB Col AD
Ref # Date Rec Days Open Date Closed
2281 4/30/10 11
2250 4/27/10 7 5/6/10
P2239 4/28/10 8 5/10/10
P2247 1/8/10 2 1/12/10
2258 4/23/10 16

I have a section for review time with two cells, one for 10 days or less
and
one for more than 10 days. Right now it does not distinguish between the
"Offical" and "Preliminary" submittals. Preliminary submittals have a "P"
before the reference number. These submittals do not have a deadline
timeframe.

The current equation for the 10 days or less is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB988<=10))

and the one for 10 days or more is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB98810))

I need help in filtering out the preliminary data which is not counted in
our number of days open. Thanks.



.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15,768
Default Counting number of days excluding certain values

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"Jarnell" wrote in message
...
Thank you so much. This worked!!!!

"T. Valko" wrote:

Preliminary submittals have a "P" before the reference number.
I need help in filtering out the preliminary data which is not counted


Add another test to the formulas:

--(LEFT(A6:A988)<"P")

--
Biff
Microsoft Excel MVP


"Jarnell" wrote in message
...
I have a spreadsheet with a number of columns.

Col A Col D Col AB Col AD
Ref # Date Rec Days Open Date Closed
2281 4/30/10 11
2250 4/27/10 7 5/6/10
P2239 4/28/10 8 5/10/10
P2247 1/8/10 2 1/12/10
2258 4/23/10 16

I have a section for review time with two cells, one for 10 days or
less
and
one for more than 10 days. Right now it does not distinguish between
the
"Offical" and "Preliminary" submittals. Preliminary submittals have a
"P"
before the reference number. These submittals do not have a deadline
timeframe.

The current equation for the 10 days or less is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB988<=10))

and the one for 10 days or more is:
=SUMPRODUCT(SUBTOTAL(3,OFFSET(AD6,ROW(AD6:AD988)-ROW(AD6),,1)),--(AB6:AB98810))

I need help in filtering out the preliminary data which is not counted
in
our number of days open. Thanks.



.



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
Formula to get number of days excluding Fridays in a given period Abdul[_2_] Excel Worksheet Functions 17 November 10th 09 08:00 PM
Counting # of days between 2 dates excluding Fri & Sat) Khaledity Excel Worksheet Functions 33 March 29th 09 01:05 PM
Subtracting number of days excluding the weekend The Rook[_2_] Excel Discussion (Misc queries) 2 February 17th 09 09:15 AM
How to sum number values, excluding data returned #N/A during Vloo Dyer Excel Worksheet Functions 2 August 21st 08 12:35 AM
Counting days comparing 2 dates excluding empty cells Terry Rogers[_2_] Excel Worksheet Functions 4 August 11th 08 04:27 PM


All times are GMT +1. The time now is 07:36 PM.

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"