Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
shanjar
 
Posts: n/a
Default Checking crossword numbers


I want to write a formula that works out what the crossword number in a
daily newspaper should be.

For example, say the crossword number for today is 4000 and today is
Friday.

What formula would return tomorrow's (Saturday's) number (4001)
correctly?

And - most crucially - what formula would return Monday' correct
crossword number - 4002 - as there is no daily newspaper on a Sunday?

Help very gratefully received. I'm going round in circles...


--
shanjar
------------------------------------------------------------------------
shanjar's Profile: http://www.excelforum.com/member.php...o&userid=33278
View this thread: http://www.excelforum.com/showthread...hreadid=531043

  #2   Report Post  
Posted to microsoft.public.excel.misc
Sandy Mann
 
Posts: n/a
Default Checking crossword numbers

With the date in B2 then

=B2-INT((B2-38809)/7)-34814

seems to return the right number and if the date is a Sunday it returns the
previous day's (ie Saturday) date so if your list misses out Sundays the
formula will do so also.

If you have a complete list of dates then use:

=IF(WEEKDAY(B2,1)=1,"No paper",B2-INT((B2-38809)/7)-34814)

--
HTH

Sandy
In Perth, the ancient capital of Scotland


with @tiscali.co.uk


"shanjar" wrote in
message ...

I want to write a formula that works out what the crossword number in a
daily newspaper should be.

For example, say the crossword number for today is 4000 and today is
Friday.

What formula would return tomorrow's (Saturday's) number (4001)
correctly?

And - most crucially - what formula would return Monday' correct
crossword number - 4002 - as there is no daily newspaper on a Sunday?

Help very gratefully received. I'm going round in circles...


--
shanjar
------------------------------------------------------------------------
shanjar's Profile:
http://www.excelforum.com/member.php...o&userid=33278
View this thread: http://www.excelforum.com/showthread...hreadid=531043



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
VLOOKUP should compare numbers stored as text to plain numbers. VLOOKUP - Numbers stored as text Excel Worksheet Functions 0 March 31st 06 05:53 PM
How to sum top 5 numbers from the column of numbers Martin Excel Discussion (Misc queries) 1 May 23rd 05 07:32 PM
Averaging Numbers when 2 numbers in one cell Ourania Excel Worksheet Functions 8 January 12th 05 06:40 PM
Validating random numbers plsauditor Excel Worksheet Functions 2 January 11th 05 11:12 PM
Sorting when some numbers have a text suffix confused on the tundra Excel Discussion (Misc queries) 5 December 18th 04 10:19 PM


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