Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default Specific Days in a NOW() formula Q

I have the formula below which states that if NOW is greater than the
Time in B1 (which is 3:00pm) then return NOW, oherwise return 3pm.

=IF(NOW()B1,NOW(),B1)

How would I construct a formula that says if the days is any day other
than Tuesday or Wednesday, then use the formula above, but if it is
Tuesday or Wednesday, then B1 should be 8:00pm?

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 772
Default Specific Days in a NOW() formula Q

Not sure exactly what you wanted but try this
=IF(WEEKDAY(NOW())=2,"8:00 p.m.",IF(WEEKDAY(NOW())=3,"8:00
p.m.",IF(NOW()B1,NOW(),B1)))

if you want to check just in B1 change my now() to B1
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.


"Sean" wrote:

I have the formula below which states that if NOW is greater than the
Time in B1 (which is 3:00pm) then return NOW, oherwise return 3pm.

=IF(NOW()B1,NOW(),B1)

How would I construct a formula that says if the days is any day other
than Tuesday or Wednesday, then use the formula above, but if it is
Tuesday or Wednesday, then B1 should be 8:00pm?

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Specific Days in a NOW() formula Q

Perhaps this, in say, C1:
=IF(OR(WEEKDAY(TODAY())<{2,3}),MAX(NOW(),B1),MAX( NOW(),TIME(20,0,0)))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Sean" wrote in message
ups.com...
I have the formula below which states that if NOW is greater than the
Time in B1 (which is 3:00pm) then return NOW, oherwise return 3pm.

=IF(NOW()B1,NOW(),B1)

How would I construct a formula that says if the days is any day other
than Tuesday or Wednesday, then use the formula above, but if it is
Tuesday or Wednesday, then B1 should be 8:00pm?

Thanks



  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Specific Days in a NOW() formula Q

Format C1 as: h:mm AM/PM
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 454
Default Specific Days in a NOW() formula Q

On Feb 3, 10:51 am, John Bundy (remove) wrote:
Not sure exactly what you wanted but try this
=IF(WEEKDAY(NOW())=2,"8:00 p.m.",IF(WEEKDAY(NOW())=3,"8:00
p.m.",IF(NOW()B1,NOW(),B1)))

if you want to check just in B1 change my now() to B1
--
-John Northwest11
Please rate when your question is answered to help us and others know what
is helpful.



Thanks John, took me a while to work out that Sunday = 1


"Sean" wrote:
I have the formula below which states that if NOW is greater than the
Time in B1 (which is 3:00pm) then return NOW, oherwise return 3pm.


=IF(NOW()B1,NOW(),B1)


How would I construct a formula that says if the days is any day other
than Tuesday or Wednesday, then use the formula above, but if it is
Tuesday or Wednesday, then B1 should be 8:00pm?


Thanks- Hide quoted text -


- Show quoted text -



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
Calculating Excess Days Formula richardwo Excel Worksheet Functions 4 January 30th 07 04:21 PM
Reusing formula Tony29 Excel Discussion (Misc queries) 7 September 7th 06 03:34 AM
Match then lookup Tenacity Excel Worksheet Functions 9 December 3rd 05 05:30 AM
Vacation Accrual Formula MissNadine Excel Worksheet Functions 0 August 18th 05 04:02 AM
Formula for # of sales days in a month? Kerry Rosvold Excel Worksheet Functions 2 June 1st 05 09:11 PM


All times are GMT +1. The time now is 08:27 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"