#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Workdays

I need an "IF" formula. If there is a date in the cell "Date A" I need a
formula to calculate Date A plus 7 workdays. If there is no date in Date A,
I want that formula to simply show a blank space or maybe a dash "-".

How do I know if my add-ins are installed?
--
collshops
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Workdays

Hi,

I assume DATE A is a named range, if so it's invalid because spaces aren't
allowed in named ranges so try this

=IF(ISNUMBER(Date_A),WORKDAY(Date_A,7),"-")

or if you really mean a cell reference try this

=IF(ISNUMBER(A2),WORKDAY(A2,7),"-")

Workday can have an optional parameter of holidays

=IF(ISNUMBER(A2),WORKDAY(A2,7,Holidays),"-")

Where Holidays is a named range of holiday dates.

Mike

"collshops" wrote:

I need an "IF" formula. If there is a date in the cell "Date A" I need a
formula to calculate Date A plus 7 workdays. If there is no date in Date A,
I want that formula to simply show a blank space or maybe a dash "-".

How do I know if my add-ins are installed?
--
collshops

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Workdays

Perfect. Thanks!
--
collshops


"Mike H" wrote:

Hi,

I assume DATE A is a named range, if so it's invalid because spaces aren't
allowed in named ranges so try this

=IF(ISNUMBER(Date_A),WORKDAY(Date_A,7),"-")

or if you really mean a cell reference try this

=IF(ISNUMBER(A2),WORKDAY(A2,7),"-")

Workday can have an optional parameter of holidays

=IF(ISNUMBER(A2),WORKDAY(A2,7,Holidays),"-")

Where Holidays is a named range of holiday dates.

Mike

"collshops" wrote:

I need an "IF" formula. If there is a date in the cell "Date A" I need a
formula to calculate Date A plus 7 workdays. If there is no date in Date A,
I want that formula to simply show a blank space or maybe a dash "-".

How do I know if my add-ins are installed?
--
collshops

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
Workdays issue Lorderon Excel Discussion (Misc queries) 3 October 16th 08 10:43 PM
Net Workdays Katie Excel Discussion (Misc queries) 4 September 19th 08 10:59 PM
Workdays Andrew Excel Worksheet Functions 3 September 9th 08 03:48 PM
Workdays Function KeyMike Excel Worksheet Functions 1 August 9th 06 02:42 PM
Workdays Alpur Excel Discussion (Misc queries) 3 November 3rd 05 04:00 PM


All times are GMT +1. The time now is 10:13 PM.

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

About Us

"It's about Microsoft Excel"