+ Reply to Thread
Results 1 to 4 of 4

Week number returns #Value error when cell is blank

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Week number returns #Value error when cell is blank

    Hi,

    I have a calendar that populates the months by entering only the first date of the year and it will continuously populate the rest of the months according to the first date entered.

    I have a row formatted to Date, DD and Week number, but the problem is, on February, if it's not leap year, the cell returns blank so the Week Number shows #Value error.

    The February has a formula to identify if it is a leap year or not and it will populate if its leap year and it will be blank if not.

    I have tried inserting WEEKNUM function but nothing seems to work.

    Can you help please?

    Thanks in advance. Please see attached sample file.
    Attached Files Attached Files

  2. #2
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Week number returns #Value error when cell is blank

    Hi there,

    Try entering the following formula in Cell AG3 of the "Feb" worksheet:

    Please Login or Register  to view this content.

    Hope this helps.

    Regards,

    Greg M

  3. #3
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Week number returns #Value error when cell is blank

    Hi Greg M That works. Thank you.

  4. #4
    Forum Expert Greg M's Avatar
    Join Date
    08-16-2007
    Location
    Dublin. Ireland
    MS-Off Ver
    Office 2016
    Posts
    4,481

    Re: Week number returns #Value error when cell is blank

    Hi again,

    Many thanks for your feedback and also for the Reputation increase - much appreciated!

    You're welcome - glad I was able to help.

    Best regards,

    Greg M

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 11
    Last Post: 01-17-2023, 03:51 PM
  2. [SOLVED] IF SUM blank cell returns as blank cell & 0 values returns 0
    By chaiyya345 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-03-2019, 05:56 AM
  3. Replies: 5
    Last Post: 04-11-2017, 09:23 AM
  4. Replies: 5
    Last Post: 09-01-2014, 03:55 PM
  5. Replies: 4
    Last Post: 10-27-2011, 03:33 PM
  6. Replies: 4
    Last Post: 06-30-2009, 02:40 AM
  7. Function that returns a week number
    By hayaperi in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-13-2007, 09:28 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1