Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Using two formulae

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Using two formulae

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 622
Default Using two formulae

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   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Using two formulae

"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
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
Formulae: Paste value formulae after doing an average operation Lim Excel Discussion (Misc queries) 4 April 20th 08 07:31 PM
Help with formulae Pivot Man[_2_] Excel Discussion (Misc queries) 3 August 16th 07 06:16 AM
Formulae Richard[_3_] New Users to Excel 4 August 14th 07 02:41 PM
age formulae Gerald Excel Discussion (Misc queries) 10 April 11th 06 06:43 AM
Searching TEXT in formulae, rather than results of formulae AndyE Excel Worksheet Functions 1 July 15th 05 10:57 AM


All times are GMT +1. The time now is 12:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"