Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I want to use two formulae within one cell.
=IF(A50="",260,NETWORKDAYS($B$4,A50)) and IF(B50="",260,260-NETWORKDAYS($B$4,B50)) are the general formulae I am trying to use. Can I tell excel to use the first formula and the second formula together in one cell? (I am working out Number of Working Days using Start Dates and Leave Dates). |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Kirsty,
What do you want to do with the two formulas? Add the results? =IF(A50="",260,NETWORKDAYS($B$4,A50)) + IF(B50="",260,260-NETWORKDAYS($B$4,B50)) Display the results with some words? ="Column A: " & IF(A50="",260,NETWORKDAYS($B$4,A50)) & ", Column B: " & IF(B50="",260,260-NETWORKDAYS($B$4,B50)) HTH, Bernie MS Excel MVP "Kirsty_H" wrote in message ... I want to use two formulae within one cell. =IF(A50="",260,NETWORKDAYS($B$4,A50)) and IF(B50="",260,260-NETWORKDAYS($B$4,B50)) are the general formulae I am trying to use. Can I tell excel to use the first formula and the second formula together in one cell? (I am working out Number of Working Days using Start Dates and Leave Dates). |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Aug 6, 10:19 am, Kirsty_H
wrote: I want to use two formulae within one cell. =IF(A50="",260,NETWORKDAYS($B$4,A50)) and IF(B50="",260,260-NETWORKDAYS($B$4,B50)) are the general formulae I am trying to use. Can I tell excel to use the first formula and the second formula together in one cell? (I am working out Number of Working Days using Start Dates and Leave Dates). I think you may be looking for this: =IF(AND(A50="",B50=""),260,NETWORKDAYS($B$4,A50)) |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
"Spiky" wrote:
On Aug 6, 10:19 am, Kirsty_H wrote: I want to use two formulae within one cell. =IF(A50="",260,NETWORKDAYS($B$4,A50)) and IF(B50="",260,260-NETWORKDAYS($B$4,B50)) are the general formulae I am trying to use. Can I tell excel to use the first formula and the second formula together in one cell? (I am working out Number of Working Days using Start Dates and Leave Dates). I think you may be looking for this: =IF(AND(A50="",B50=""),260,NETWORKDAYS($B$4,A50)) That is definitely bringing me closer to what I am trying to do, thank you! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Formulae: Paste value formulae after doing an average operation | Excel Discussion (Misc queries) | |||
Help with formulae | Excel Discussion (Misc queries) | |||
Formulae | New Users to Excel | |||
age formulae | Excel Discussion (Misc queries) | |||
Searching TEXT in formulae, rather than results of formulae | Excel Worksheet Functions |