Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Scoooter
 
Posts: n/a
Default Help with calculations

I have run into two problems with the following calculations, mainly
because I did not put enough thought into the processes. First, is
there away of making the elapsed days go from a live number to a
historical number once AR2 = "closed"? Second, is it possible if D2 =
"N/a" then it does not calculate and returns "Not Required"?

Days Elapsed Calculation:

=NETWORKDAYS(U2,TODAY(),Holidays!B7:B14)-1

On the following days remaining calculation, it appears to be working
fine, but once again I did not put enough thought into it. First, I
cannot seem to get the "Not Required" to show if AA2 displays anything
other than St1, ECC St1, St2, St3, PE or FOI. As per above, it would
help if U2 or Z2 = "N/a" it returned "Not Required". If AR2= "closed"
it should then return "Not Required"

Days Remaining Calculation:

=NETWORKDAYS(TODAY(),IF(AA2="","",
IF(OR(AA2="ST1",AA2="PE",AA2="ECC ST1"),WORKDAY(U2,10,Holidays!B7:B14),
IF(OR(AA2="CA - ST2",AA2="FOI"),WORKDAY(Z2,20,Holidays!B7:B14),
IF(AA2="ST3",WORKDAY(Z2,28,Holidays!B7:B14),"Not
Required")))),Holidays!B7:B14)-1

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bob Phillips
 
Posts: n/a
Default Help with calculations



"Scoooter" wrote in message
ps.com...
I have run into two problems with the following calculations, mainly
because I did not put enough thought into the processes. First, is
there away of making the elapsed days go from a live number to a
historical number once AR2 = "closed"? Second, is it possible if D2 =
"N/a" then it does not calculate and returns "Not Required"?

Days Elapsed Calculation:

=NETWORKDAYS(U2,TODAY(),Holidays!B7:B14)-1



Do you mean?

=ID(D2="N/A","Not Required",
NETWORKDAYS(U2,IF(AR2="Closed",Z2,TODAY()),Holiday s!B7:B14)-1)


On the following days remaining calculation, it appears to be working
fine, but once again I did not put enough thought into it. First, I
cannot seem to get the "Not Required" to show if AA2 displays anything
other than St1, ECC St1, St2, St3, PE or FOI. As per above, it would
help if U2 or Z2 = "N/a" it returned "Not Required". If AR2= "closed"
it should then return "Not Required"

Days Remaining Calculation:

=NETWORKDAYS(TODAY(),IF(AA2="","",
IF(OR(AA2="ST1",AA2="PE",AA2="ECC ST1"),WORKDAY(U2,10,Holidays!B7:B14),
IF(OR(AA2="CA - ST2",AA2="FOI"),WORKDAY(Z2,20,Holidays!B7:B14),
IF(AA2="ST3",WORKDAY(Z2,28,Holidays!B7:B14),"Not
Required")))),Holidays!B7:B14)-1


=IF(OR(NOT(ISNUMBER(MATCH(AA2,{"ST1","PE","ECC ST1","CA -
ST2","FOI","ST3"},0))),
U2="N/A",Z2="N/A",AR2="Closed"),"Not Required",
NETWORKDAYS(TODAY(),IF(AA2="","",
IF(OR(AA2="ST1",AA2="PE",AA2="ECC ST1"),WORKDAY(U2,10,Holidays!B7:B14),
IF(OR(AA2="CA - ST2",AA2="FOI"),WORKDAY(Z2,20,Holidays!B7:B14),
IF(AA2="ST3",WORKDAY(Z2,28,Holidays!B7:B14),"Not
Required")))),Holidays!B7:B14)-1)



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
Calculations in French - Clarification lots of questions Excel Discussion (Misc queries) 0 April 20th 06 06:43 PM
complex calculations juliadesi Excel Discussion (Misc queries) 6 March 17th 06 01:14 PM
Calculations based on PivotTable information jerry Excel Discussion (Misc queries) 0 October 3rd 05 07:25 PM
Calculations crossing multiple sheets Stephen McArthu Excel Discussion (Misc queries) 4 June 6th 05 04:35 PM
time interval calculations in excel Krishna Excel Discussion (Misc queries) 6 April 8th 05 02:57 PM


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