Solved

I need an excel formula

Posted on 2011-09-26
6
166 Views
1 Endorsement
Last Modified: 2012-05-12
I need an excel formula that will look at an Assigned Date column and Option Signed column and dermine the Total Number of Days between the dates. Here's the catch, If the Option Signed date is blank, I dont need excel to return a large negative number like I am getting when I simply subtract the two, I need it to calculate the difference in today's day (9/26/11 for example) and the Assigned Date. If you could get it working on the network days too, that would be helpful.

See attached.
9-26-11.xlsx
1
Comment
Question by:wrt1mea
  • 2
  • 2
  • 2
6 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 250 total points
Comment Utility
Try this formula for C2 copied down

=IF(B2="",TODAY(),B2)-A2

and for D2

=NETWORKDAYS(A2,IF(B2="",TODAY(),B2))

see attached

regards, barry
27328698.xlsx
0
 
LVL 2

Assisted Solution

by:jan24
jan24 earned 250 total points
Comment Utility
Try the attached.  Let me know if that does what you are wanting.
9-26-11.xlsx
0
 
LVL 2

Expert Comment

by:jan24
Comment Utility
Snap!  We both came up with the same solution at the same time!!
0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 50

Expert Comment

by:barry houdini
Comment Utility
Nice one jan24....!

....and further amendments to make the formula return a blank if both dates are blank......

=IF(A2="","",IF(B2="",TODAY(),B2)-A2)

and

=IF(A2="","",NETWORKDAYS(A2,IF(B2="",TODAY(),B2)))

regards, barry
0
 
LVL 1

Author Closing Comment

by:wrt1mea
Comment Utility
Same answers only seconds apart so I think its only fair to split...

Thanks again guys...barry as always I appreciate the support.
0
 
LVL 1

Author Comment

by:wrt1mea
Comment Utility
Barry is showing off again...
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now