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 Function or If statement help

I need to input a function or if statement that will perform the following
function:

If cell J27 contains the text "Y" complete this formula
(=NETWORKDAYS($C26,$E26,$D$85:$E$85)-1) in cell F27, if J27 is any other
letter cell F27 should remain blank

Also if cell J27 contains text "N" complete this formula
(=NETWORKDAYS($C26,$E26,$D$85:$E$85)-1) in cell G27, if J27 is any other
letter cell G27 should remain blank

The cells in the networkdays formula are all dates. The formula or function
will be used in a large column so cell numbers at each row will be different.

Any help would be appreciated



  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,389
Default Function or If statement help

In F27, enter:
=if(J27="Y",NETWORKDAYS($C26,$E26,$D$85:$E$85)-1,"")

In G27, enter:
=if(J27="N",NETWORKDAYS($C26,$E26,$D$85:$E$85)-1,"")

Just copy this down the column. If you need more help, post back.

Regards,
Fred

"KrissyiP" wrote in message
...
I need to input a function or if statement that will perform the following
function:

If cell J27 contains the text "Y" complete this formula
(=NETWORKDAYS($C26,$E26,$D$85:$E$85)-1) in cell F27, if J27 is any other
letter cell F27 should remain blank

Also if cell J27 contains text "N" complete this formula
(=NETWORKDAYS($C26,$E26,$D$85:$E$85)-1) in cell G27, if J27 is any other
letter cell G27 should remain blank

The cells in the networkdays formula are all dates. The formula or
function
will be used in a large column so cell numbers at each row will be
different.

Any help would be appreciated




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
IF function returns function statement rather than result ckrogers Excel Worksheet Functions 3 April 16th 09 09:21 PM
IF Then statement or another function to look for a value TerryD Excel Worksheet Functions 2 April 18th 08 02:11 PM
Function IF statement Raymond Excel Worksheet Functions 11 February 2nd 08 04:43 AM
Function Conflicts with an If/Then Statement mcowan3 Excel Worksheet Functions 3 November 15th 07 08:08 PM
WORKDAY Function in an IF statement [email protected] Excel Worksheet Functions 2 January 19th 07 03:45 PM


All times are GMT +1. The time now is 03:29 AM.

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"