IF-DATE NESTED FUNCTIONS

Kris138

New Member
Joined
Sep 20, 2003
Messages
5
HELP!!! I am currently working on a project in which my boss wants me to calcuate the difference between two dates. I was able to calculate the difference of dates using the Networkingdays, also using the >=0 for everything that was positive and hid those 0 numbers. Everything negative he wants to see. My dilemma is we have another column in-between those two dates that needs to be re-calculated into if the "target date" is changed. Therefore, I can't find a formula that will automatically change and pick up that middle column.

Any help?? :eek:
 
Kris138 said:
I was going to try it this way, but does anyone know how to do it w/o the networkingdays? I don't currently have that add-in installed.

THANKS!

=SUMPRODUCT(--ISNUMBER(MATCH(WEEKDAY(ROW(INDIRECT(A1&":"&B1))),{1,2,3,4,5},0)))-1

would be equivalent to:

=NETWORKDAYS(A1,B1)
 
Upvote 0

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I currently don't have the capabilities of using a "networkingdays" add-in. But, I was able to use this formula

=IF(BY>A7,(C7-B7),IF(C7>A7,(C7-A7)," ")), BUT I am still trying to figure out how to calculate out the postive numbers in the networking day column. we don't want those to show.

any suggestions on that?
 
Upvote 0
That function is from the analysis pack, which is what PaddyD was showing you how to add-in. This comes with the Excel software but isn't automatically added. If you add this you will have many useful functions.

HTH
texasalynn
 
Upvote 0

Forum statistics

Threads
1,216,101
Messages
6,128,845
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top