Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
kathi
 
Posts: n/a
Default AVERAGE DAYS OPEN IF BETWEEN DATES

Tried to email you the worksheet as an attachment but keep getting failure
notices. The data looks like this....'Copy Link' Sheet has
A B C D E F G
E5S040001 October 1, 2003 October 14, 2003 PARKER YB5 Y 14
E5S040015 November 5, 2003 ERVIN KCI K 2

COLUMN F IS =LEFT(J22,1) TO GIVE ME THE FIRST LETTER OF COLUMN E
COLUMN G IS =MAX(IF(ISBLANK(D23),TODAY(),D23)-C23,1)+1 TO COUNT THE DAYS OPEN

Trends Analysis Sheet has formulas to give me the comparisons between fiscal
years by quarters. And I also need to report the number of days each was
open during each quarter for a comparison.

My personal email is and I can send you the worksheet
if you wish to send me an email that I can communicate with.





"Bob Phillips" wrote:

It did for me Kathi. What does the data look like?

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"kathi" wrote in message
...
Sorry but it is still not working for me.
{=AVERAGE(IF((YEAR('Copy Link'!$C$1:$C$500)=$C$32)*(INT((MONTH('Copy
Link'!$C$1:$C$500)+2)/3)=$C$33,'Copy Link'!$N$1:$N$500))}

"Bob Phillips" wrote:

I found an error in the formula and this works for me


=AVERAGE(IF((YEAR($C$1:$C$500)=$G$1)*(INT((MONTH($ C$1:$C$500)+2)/3)=$G$2),$E
$1:$E$500))

as an array formula

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"kathi" wrote in message
...
I am still not comprehending why I can not get the formulas for

averaging
number of days an invoice was open to work. I can not figure this

out. I
was hoping for some assistance. With the formula I am using I am

getting
an
answer of 32 but the true average is 55. It is not working and I

can't
figure out why.


=AVERAGE(IF((YEAR($C$1:$C$500)=$G$1))*(INT((MONTH( $C$1:$C$500)+2)/3)=$G$2),$
E$1:$E$500))
A1:J1 ARE THE YEARS
A2:J2 ARE THE QUARTERS






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
to find number of days between 2 dates using vba code in excel sjayar Excel Discussion (Misc queries) 3 November 3rd 05 06:24 AM
Calculating number of days between two dates that fall between two other dates [email protected] Excel Discussion (Misc queries) 5 October 26th 05 06:18 PM
Sorting Dates in Days of the Week Eagle784 Excel Discussion (Misc queries) 3 August 19th 05 05:31 PM
Brainteaser about Days Between Dates Johnny Excel Discussion (Misc queries) 5 April 4th 05 05:09 AM
Find number of days between to dates Qaspec Excel Worksheet Functions 1 January 21st 05 12:14 AM


All times are GMT +1. The time now is 01:20 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"