Excel Formula Guidance. Formula need to determine if cell is popul

Hi,

Hopefully someone will be able to provide some guidance.
I have been tasked with setting up some spreadsheets at work to application
coming into my department and the number of days it takes for us to deal with
them. To work this out is easy enough using formula
=NETWORKDAYS(B4,E4,\$A\$119:\$A\$158) with the numbers involved with the \$
referencing bank holidays listed in the spreadsheet and B4 received date and
E4 being the completed date.

I now need to include some extra lines as I need to be able to monitor
(AR), Enquiry Received (ER), Completed Date (CD) so that you put the date in
either of the first two cells depending on which one needs to be completed.
So I now need a new formula that would look at AR determine if a date is in
the cell if it isn’t populated it looks at ER instead whichever cell is
completed it then works out the networkdays by looking at CD. I guess using
the same formula listed above.

Can this be done, as I have completed everything else and this is just the
one thing that is stumping me. If so can someone tell me what the formula
would say.

I have surprised myself that I was able to do everything else with a lot of
hard work and Google searches, this is just the one thing that is stumping me.

I hope I’ve explained myself well, which will enable someone to advice.

Matt

 0
Utf
2/19/2010 5:49:01 PM
excel.programming 6508 articles. 2 followers.

3 Replies
1031 Views

Similar Articles

[PageSpeed] 20

On Fri, 19 Feb 2010 09:49:01 -0800, Matt
<Matt@discussions.microsoft.com> wrote:

>Hi,
>
>Hopefully someone will be able to provide some guidance.
>I have been tasked with setting up some spreadsheets at work to application
>coming into my department and the number of days it takes for us to deal with
>them. To work this out is easy enough using formula
>=NETWORKDAYS(B4,E4,\$A\$119:\$A\$158) with the numbers involved with the \$
>referencing bank holidays listed in the spreadsheet and B4 received date and
>E4 being the completed date.
>
>I now need to include some extra lines as I need to be able to monitor
>(AR), Enquiry Received (ER), Completed Date (CD) so that you put the date in
>either of the first two cells depending on which one needs to be completed.
>So I now need a new formula that would look at AR determine if a date is in
>the cell if it isn�t populated it looks at ER instead whichever cell is
>completed it then works out the networkdays by looking at CD. I guess using
>the same formula listed above.
>
>Can this be done, as I have completed everything else and this is just the
>one thing that is stumping me. If so can someone tell me what the formula
>would say.
>
>I have surprised myself that I was able to do everything else with a lot of
>hard work and Google searches, this is just the one thing that is stumping me.
>
>I hope I�ve explained myself well, which will enable someone to advice.
>
>Matt

If AR is in column B and ER is in column C, try to replace B4 with
IF(B4<>"",B4,C4), like this:

=NETWORKDAYS(IF(B4<>"",B4,C4),E4,\$A\$119:\$A\$158)

Hope this helps / Lars-�ke
 0
Lars
2/19/2010 6:01:06 PM

"Lars-Åke Aspelin" wrote:

> On Fri, 19 Feb 2010 09:49:01 -0800, Matt
> <Matt@discussions.microsoft.com> wrote:
>
> >Hi,
> >
> >Hopefully someone will be able to provide some guidance.
> >I have been tasked with setting up some spreadsheets at work to application
> >coming into my department and the number of days it takes for us to deal with
> >them. To work this out is easy enough using formula
> >=NETWORKDAYS(B4,E4,\$A\$119:\$A\$158) with the numbers involved with the \$
> >referencing bank holidays listed in the spreadsheet and B4 received date and
> >E4 being the completed date.
> >
> >I now need to include some extra lines as I need to be able to monitor
> >(AR), Enquiry Received (ER), Completed Date (CD) so that you put the date in
> >either of the first two cells depending on which one needs to be completed.
> >So I now need a new formula that would look at AR determine if a date is in
> >the cell if it isn’t populated it looks at ER instead whichever cell is
> >completed it then works out the networkdays by looking at CD. I guess using
> >the same formula listed above.
> >
> >Can this be done, as I have completed everything else and this is just the
> >one thing that is stumping me. If so can someone tell me what the formula
> >would say.
> >
> >I have surprised myself that I was able to do everything else with a lot of
> >hard work and Google searches, this is just the one thing that is stumping me.
> >
> >I hope I’ve explained myself well, which will enable someone to advice.
> >
> >Matt
>
>
> If AR is in column B and ER is in column C, try to replace B4 with
> IF(B4<>"",B4,C4), like this:
>
> =NETWORKDAYS(IF(B4<>"",B4,C4),E4,\$A\$119:\$A\$158)
>
> Hope this helps / Lars-Åke
> .
>

That works a treat!! Many thanks :)
 0
Utf
2/19/2010 7:17:01 PM

"Matt" wrote:

> Hi,
>
> Hopefully someone will be able to provide some guidance.
> I have been tasked with setting up some spreadsheets at work to application
> coming into my department and the number of days it takes for us to deal with
> them. To work this out is easy enough using formula
> =NETWORKDAYS(B4,E4,\$A\$119:\$A\$158) with the numbers involved with the \$
> referencing bank holidays listed in the spreadsheet and B4 received date and
> E4 being the completed date.
>
> I now need to include some extra lines as I need to be able to monitor
> (AR), Enquiry Received (ER), Completed Date (CD) so that you put the date in
> either of the first two cells depending on which one needs to be completed.
> So I now need a new formula that would look at AR determine if a date is in
> the cell if it isn’t populated it looks at ER instead whichever cell is
> completed it then works out the networkdays by looking at CD. I guess using
> the same formula listed above.
>
> Can this be done, as I have completed everything else and this is just the
> one thing that is stumping me. If so can someone tell me what the formula
> would say.
>
> I have surprised myself that I was able to do everything else with a lot of
> hard work and Google searches, this is just the one thing that is stumping me.
>
> I hope I’ve explained myself well, which will enable someone to advice.
>
> Matt
>
Just a thought.. would it be possible to have anything in place that does
that formula (which works fantastic BTW) but depending on which cell was used
(AR or ER) it would provide the answer in a different coloured font? For
example it works out which date it has to use for doing the networkdays and
if its used the date in AR it remains black and if it uses the date in ER it
turns red.

It just a thought as it that would then enable me to tell the difference
between which dates are being used by having a quick glance.

Matt
 0
Utf
2/19/2010 7:32:01 PM

Similar Artilces:

Count If Formula #4
I need a formula that will figure the following: If column C = 3, count all times < 00:45 If column C = 4, count all times < 00:45 If column C = 3, count all times > 00:46 Thanks. Your description is a bit confused.You have different actions for the same value (C=3). And where are the times, in a different column than C? So, making many assumptions, perhaps =SUMPRODUCT(--(ISNUMBER(MATCH(C1:C200,{3,4},0))),--(D1:D200<TIME(0,45,0)))+S UMPRODUCT(--(C1:C200=5),--(D1:D200<TIME(0,46,0))) -- HTH RP (remove nothere from the email address if mailing direct) "Denise"...

Need some advanced help on this one!
Hi guys, I found a sample Access program that takes data from its database to generate an EDI EDIFACT ORDERS file (OrdersS93a.edi). Here is the code: Private Sub Command0_Click() Dim oEdiDoc As Fredi.ediDocument Dim oSchema As Fredi.ediSchema Dim oInterchange As Fredi.ediInterchange Dim oGroup As Fredi.ediGroup Dim oTransactionset As Fredi.ediTransactionSet Dim oSegment As Fredi.ediDataSegment Dim oConn As ADODB.Connection Dim oRsInterchange As ADODB.Recordset Dim oRsGroup As ADODB.Recordset Dim oRsTransactionSet As ADODB.Reco...

Looking for Excel Help
I'm a very novice Excel user and am looking for a little help with creating a formula for a spreadsheet I'm creating for my personal use. I would appreciate some assistance if possible. Thanks in advance. Dan --- Message posted from http://www.ExcelForum.com/ Hi Dan! Post a sample of what you want to do. Your question is just a tad open ended <g> -- Regards Norman Harker MVP (Excel) Sydney, Australia njharker@optusnet.com.au Excel and Word Function Lists (Classifications, Syntax and Arguments) available free to good homes. "DanB4105" <DanB4105.ywtpa@excelfor...

New to excel
Hi All, I'm new to Excel ( and to this forum :) ) and so I hope somebody may b able to help me. I've got 2 questions.... QUESTION 1 I've got a spreadsheet which takes data from one worksheet and uses i to calculate data in a second worksheet using the following code formula: =IF('4th November 2005'!B19="","nothing here dude",IF(B19<'4th Novembe 2005'!B19,"UP",IF(B19='4th November 2005'!B19,"Same",IF(B19>'4t November 2005'!B19,"DOWN")))) The problem is, when I create a new worksheet I have...

Changing Cells and entering data in them
Thanks for the help again. Big thanks to Steve you've got me this far. I went out and bought a book, but it's like reading a foreign language. I was informed today that I can't have message boxes come up. I need to have the code point at the cells and if they are blank turn which ever one is blank red or if both are then both turn red then pause for each cell to be filled in. Cell F14 "Last Name" then automatically go to Cell F16 "First Name" on tab or enter. Basically if Cell F22 or F23 has an X in it, Cells F14 an F16 turn red and cell F14 has the focus...

Excel button problem
Hi All I have a macro that copies a worksheet in the active workbook and puts it into a new workbook - then formats it and deletes any buttons on the worksheet. On the first click on the button the macro works ok. On the second click, it fails because the all assigned macros on all buttons in the active workbook changed from "mba" to "book1!mba". Book 1 doesn't exists (wasn't opened, wasn't saved, doesn't have the macros). I've never experienced this problem before?? Can anyone help to solve this problem? FYI The macro to do this is c...

Excel 97 #9
Please can anyone help??? I have two columns in Excel 97. The first contains a list of statu values eg. pending, or granted or withdrawn. The second contains date eg.01/12/1997, 05/06/2003. I woudl like to know how to get all th granted apps before 31/12/2003. Can anyone help please -- Message posted from http://www.ExcelForum.com theres many ways, but an easiest way would be to do a sort. Highlight the 2 columns, click on data, then sort, then sort by status, then by date. this should group them all together. hope this helps...toe >-----Original Message----- >Please can anyo...

Formula without using numbers after decimal in the answer
I have a formula that derives the answer from a figure with a decimal. I don't want to use the figures after the decimal. Is there a way to just use the whole number and omit the numbers after the decimal without having to manually key in all these numbers manually? Thanks, Mustang You can use the INT function. This 'rounds down' any number to th nearest integer, e.g. if A1=2.567, a formula in B2 of =INT(A1) return 2 HTH Bruc -- swatsp0 ----------------------------------------------------------------------- swatsp0p's Profile: http://www.excelforum.com/member.php?...

Need Help, Task Start Date is wrong
I’m using MS Project 2007, have several task linked with finish to start. I have set date to schedule from, hours per day set to 8 and Working Monday thru Friday. My schedule shows Task 1 Duration 4 days, start Wed 6/2/10, Finish Mon 6/7/10 Task 2 Duration 3 days, start Mon 6/7/10, Finish Thu 6/10/10 Task 2 should have a Start Date of 6/8/10 not 6/7/10; what is causing this? Thanks in advance for your help. ...

I need a macro
I would like a macro to do the following: I would place the the cursor in any cell and this macro would give me the average of all the entries to the left if the selected cell. EX: I place the cursor in cell M12. I want this macro on display in cell M12 the average of all the values from Col C12 to Col L12. Note that there may NOT be entries in all the cells in that range. Also the start point would always be col C .Thanks You can do this easily with a worksheet_selection event in the sheet module but you would probably want to restrict to a certain range or columns and rows or it woul...

default values in a cell
Hello, can you help me please Cell B1 contains a complex mathematical formula which requires (in several places) a number from cell A1. Cell A1 can contain any integer number, but it is usually the same (30). I would like to be able to leave cell A1 empty, and only enter a number when it is not 30 , ie the default value of A1 is 30, unless specified. How do I go about this ? Should I look at conditional formatting, or put lots of IF functions into an already complex formula? Thank as always KK Use 2 cells Modify the complex formula to use B1 rather than A1 ( or any other un-u...

learning Excel #3
Hi, I was considering learning Excel as an additional tool for my data analysis work. Is it better to use data sets that I have previously used with SPSS and apply the same analysis tools as in SPSS? For applying the appropriate tools, I was considering using excel's online help. The second option I have is to use some excel book for data analysis and apply the techniques to data sets provided with the book. Any suggestions????? regards Metal ...

Show date, time & day of week in one cell
Can I show the date, time and day of week in one cell. I have: 09/03/07 8:30 AM in one cell using the format (Format/Cells/Custom): [\$-409]mm/dd/yy h:mm AM/PM;@ Excel refuses to accept ddd for Mon or dddd Monday at the end of the format I want it to read: 09/03/07 8:30 AM Monday in 1 cell. I have Excel 2003. One way: mm/dd/yy h:mm AM/PM dddd;@ In article <Xns99B8A3CAF9130pencilunlistedcom@208.49.82.220>, Burp <burp@beep.comINVALID> wrote: > Can I show the date, time and day of week in one cell. > > I have: > 09/03/07 8:30 AM > in one cell using the for...

How do I Remove a Split from my Comments in Excel 2003? #2
I have set my current workbook to split/freeze the first column and first 2 rows. Now, when I add a comment to the second row (in any column) my comments are cut off if I should scroll down. I don't ever remember the behavior before. And I don't know what I've done to enable it but it's really annoying. How do turn this off ? ...

unable to paste Excel 2003 chart into Outlook 2003
(This was posted on "excel.charting" group.) I have a user who's unable to paste an Excel 2003 chart into Outlook 2003 email message. In Outlook options, the checkbox is selected for "Use Microsoft Office Word 2003 to edit e-mail messages". When I tested this on my own computer running the same version of Office, if the box is check, I have no problem pasting; if this box is cleared, I cannot paste. But on his computer, it doesn't work regardless. Thanks and regards, TL ...

I am currenly playing a game of Ars Magica. I am using a spreadsheet to compute the info for my character. I am having a probllem with the casting total for spells related to a paticular character. The Formula is as follows : =IF(H13="","--",IF(J13="",INDIRECT(H13),MIN(INDIRECT(H13),INDIRECT(LEFT(J13,2)),INDIRECT(RIGHT(J13,2))))+IF(K13="",INDIRECT(I13),MIN(INDIRECT(I13),INDIRECT(LEFT(K13,2)),INDIRECT(RIGHT(K13,2))))+Sta+IF(N13="",0,\$H\$2)) I am trying to compute the casting total for the spells castable by this character. The total for the ...

Setting a dynamic range in a formula
Hi, I have a column of numbers and I always want the following arra formula to use the last 12 entries: =(PRODUCT(1+D1:D12/100)-1)*100 Any suggestions? Thanks, Phillycheese -- Phillycheese ----------------------------------------------------------------------- Phillycheese5's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=2419 View this thread: http://www.excelforum.com/showthread.php?threadid=37809 Assuming that Column D contains no blanks, try... =(PRODUCT(1+OFFSET(D1,MAX(0,COUNTA(D:D)-12),0,12,1)/100)-1)*100 ...confirmed with CONTROL+SHIFT+ENTER. Hope th...

Excel corrupts when asking to update vlookups
We are experiencing weird behavior with some Office 2K3 Excel spreadsheets that contain lots of calculations, but no macros. On some pc’s Excel acts normally, on others you get the error. I have a couple of screen shots available. Any help is appreciated. If desired, send your file to my address below. I will only look if: 1. You send a copy of this message on an inserted sheet 2. You give me the newsgroup and the subject line 3. You send a clear explanation of what you want 4. You send before/after examples and expected results. -- Don Gu...

Uninstall of mappoint has caused errors with excel
Hi, I am running Office 2003 on the terminal server (windows 2003) and had a copy of mappoint as well. This is a mapping program. We ininstalled mappoint which has caused an error message with Excel and other office products. The error says "Cd:\documents and settings\administrator.ocrdc1\application data\microsoft\addins c:\Program files\common files\microsoft shared\geography\mpoai9.dll is not a valid add-in." I then click OK and excel opens up and everything is fine. The problem is that we are using other programs as well such as Quickbooks that export to excel and t...

Fixing a formula to read a general format?
A few months ago I had asked a question and got this answer: Question: I have a a set of values in A1 through A100. I need to look up each value and find a match in another set of values located in C1 through C200. If a match is found then I need the formula located in column B to return the value in the same row but the next column over (D). Answer: =IF(ISNUMBER(VLOOKUP(A1,\$C\$1:\$D\$200,2,0)), VLOOKUP(A1,\$C\$1:\$D\$200,2,0), "") Copy down through A100. The formula worked fine, however the reference value and the look up value are not any more numbers but a combinatio...

how do I add error bars to a 3D chart in excel?
The help states you can only add error bars to data series in 2D area. Is there a way to add them to a 3D chart? Hi, I would not have thought so. Obviously as it is not a built-in option the only way would be a work around perhaps using dummy series. Unfortunately you can create 3d combination charts. Stick with the 2d view. Cheers Andy elahe wrote: > The help states you can only add error bars to data series in 2D area. Is > there a way to add them to a 3D chart? -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info I checked, and error bars are not offered for 3D ch...

Excel VBA
When you select the autofilter, the drop down list is created from the unique data in that column. Is there any way to customize this list, so the changes are permanent? For instance, I might have in one(1) column the following 4 row entries: red, blue, green (all are single cell entries) red, blue red blue, green I want my autofilter drop down list to read: red instead of red, blue, green blue red, blue green red blue, green (like normal) If I chose red from the drop down list...

Problem with named range for a large spreadsheet in Excel 2007
Hello, I am trying to generate a large Excel spreadsheet apprx. 10000 rows and 40 columns. I am generating defined name section in the Workbook.xml part of the XLSM package. Here is a sample entry from that section <definedName name="_._44802_._0_._0_._0_._top_line" localSheetId="0" hidden="1">Sheet1!\$B\$2</definedName> Although the generation goes fine, I can not open the spreadsheet as the Excel throws an error message saying the package is corrupt. But this is not the case if the spreadsheet is small say, 200 rows by 10 columns. ...

Converting Formula into Numbers?
With a cell/s selected is there a way to convert the cell's formula into straight numbers (in turn removing all formula and leaving the same number)? -- Emp-Designer ------------------------------------------------------------------------ Emp-Designer's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=37564 View this thread: http://www.excelforum.com/showthread.php?threadid=571948 Emp-Designer a �crit : > With a cell/s selected is there a way to convert the cell's formula into > straight numbers (in turn removing all formula and leaving the same &...

I need to print a word in PDF from excel.
Hi, In my excel Macro, I update several values and then open a word linked with that excel. Finally what I need to do is to print that word to PDF. I already have a PDF Printer, so I just need the code to do it. Can anybody help me? Thanks in advance. Gast=F3n. Habilita la impresora predeterminada como la PDF y ya lo puedes imprimir a al formato deseado Gracias Francisco,=20 Tienes alg=FAn codigo para ello? gracias Repitiendo: Desde el panel de impresoras asigno primero la que me interesa y despues ejecuto mi macro desde el archivo excel asignando la instruccion sig: midefaultes = a...