+ Reply to Thread
Results 1 to 4 of 4

Display a value if the date o.t. month in the cell left of it is a certain day o.t. month

  1. #1
    Registered User
    Join Date
    10-30-2020
    Location
    Den Bosch, Netherlands
    MS-Off Ver
    365
    Posts
    15

    Display a value if the date o.t. month in the cell left of it is a certain day o.t. month

    Good morning,

    I have a excel sheet with every day of the year inserted. I want to use it to make a prognosis for the upcoming year.
    What I cannot figure out is the following:
    On a certain day of the month (for example 26th) I want a certain value (for example 300) to appear in a cell.

    I dont want to do this manually, because I want to be able to quickly change either the value or the date this happens on.

    [25-01-24] [formula that provides empty cell]
    [26-01-24] [formula that provides certain value]

    Can someone help me with this?

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2412 (Windows 11 24H2 64-bit)
    Posts
    88,707

    Re: Display a value if the date o.t. month in the cell left of it is a certain day o.t. mo

    Welcome to the forum.

    To generate the dates AND values, either this:

    =LET(d,SEQUENCE(366,,DATE(2024,1,1)),a,IF(DAY(d)=26,300,""),HSTACK(d,a))

    or this:

    =LET(d,SEQUENCE(366,,DATE(2024,1,1)),a,IF(DAY(d)=D1,E1,""),HSTACK(d,a))
    Attached Files Attached Files
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    10-30-2020
    Location
    Den Bosch, Netherlands
    MS-Off Ver
    365
    Posts
    15

    Re: Display a value if the date o.t. month in the cell left of it is a certain day o.t. mo

    Thanks this works and is exactly what I was looking for.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2412 (Windows 11 24H2 64-bit)
    Posts
    88,707

    Re: Display a value if the date o.t. month in the cell left of it is a certain day o.t. mo

    Glad to have helped.

    If you have not already done so, you may not be aware that you can thank anyone who offered you help towards a solution for your issue by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of each of those who offered help.

+ 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: 4
    Last Post: 05-13-2022, 01:28 PM
  2. Replies: 5
    Last Post: 01-24-2019, 05:30 PM
  3. Replies: 4
    Last Post: 05-17-2016, 05:32 PM
  4. [SOLVED] Display the first date of the month when the month and year are selected
    By john dalton in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-05-2013, 11:59 AM
  5. [SOLVED] display cell to show only Month/year to do sumif calc if today()= any day of month
    By fireguy7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2013, 06:55 PM
  6. Display end of month date for previous month
    By erikwvb in forum Excel General
    Replies: 3
    Last Post: 06-20-2011, 01:22 PM
  7. [SOLVED] i want to display the month from a date into another cell
    By weazal5 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-26-2005, 04:06 AM

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