LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
K K is offline
external usenet poster
 
Posts: 108
Default Formula - HHHHHEELLLPP

Guys I'm at my wits end. I had to come up with a formula that had to go
through multiple criteria and then had to calculate network days between 2
days for a huge set of data, after extracting the date from an alpha numeric
cell. I can't use networkdays, so please don't suggest it, I basically found
a formula that wrote out the entire network days forumula.

=SUM(IF((B15:B19<""),IF((($F$15:$F$19='Sheet1'!$ AP$14)*($F$15:$F$19<='Sheet1'!$AP$15)*($AB$15:$AB$ 19<"X")*($AB$15:$AB$19<"")*(LEFT($C$15:$C$19,2)= "RA")*($A$15:$A$19="C")),(((DATEVALUE(MID(AB$15:$A B$19,FIND("
",$AB$15:$AB$19)+1,99)))-$E$15:$E$19)+1-SUM(INT(((DATEVALUE(MID($AB$15:$AB$19,FIND("
",$AB$15:$AB$19)+1,99)))-{1,7})/7)-INT(($E$15:$E$19-{1,7}-1)/7))-COUNTIF(Holidays,"="&$E$15:$E$19)+COUNTIF(Holiday s,""&(DATEVALUE(MID($AB$15:$AB$19,FIND(" ",$AB$15:$AB$19)+1,99))))))))

Column F = project month end date
Column E = start date
Column AB = alpha numeric data for example (X, AL 7/15/08, OR NULL) for
individual
Column C = type
Column A = status
Column B = ID#

My logic for formula is
for all IDs not = blank, and project month end date = july 1 and <=july 31,
Type = RA, status = C, Column AB < X or null,
strip out 7/15/08 from "AL 7/15/08", and give me the networkdays between
start date and 7/15/08.

Repeat for rows 15-19.

I have only one...just one problem that I can't figure out for the life of me.
My formula for some reason is skipping over the first line of my data set,
i.e. if the range is from 15-19, its taking 16-19....help!




 
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



All times are GMT +1. The time now is 11:00 PM.

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"