We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!

'Simple' Excel spreadsheet - date next due

Options
Hello
I would like to create a spreadsheet to organise my work round.  Column 1 would be date last actioned, column 2 would be 'frequency' ie 4 weeks, 6 weeks, 2 months, 3 months and column 3 would be 'Date next due'.

In the frequency column I have created 'drop down lists to chose one of the interval options.  Can someone suggest a formula that I can use to complete the 'Date next due'?

So date completed is say '15/12/2021', frequency is '4 weeks'. how do I get excel to calculate the 'date next due' as '12/01/2022'?

I hope you can help

Thanks ain advance

Comments

  • molerat
    molerat Posts: 34,504 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 27 December 2021 at 5:34PM
    You simply need to add the correct number of days - cell+number of days - or months - EDATE(cell,number of months) - to the first date.  Multiple IFs based on the drop down box text. Something like, for C1
    =IF(B1="4 weeks",A1+28,IF(B1="2 weeks",A1+14,IF(B1="2 Months",EDATE(A1,2))))

  • Thanks Molerat.

    Does Excel recognise 'month' as a quantity if you use 'edate'?
    Do I need to specify the data type for the 'date next due date' to 'date'?
  • molerat
    molerat Posts: 34,504 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 20 December 2021 at 12:53PM
    Do I need to specify the data type for the 'date next due date' to 'date'?
    That is purely a heading, it is not a data type, could be "sausages" for all it matters. All you need to do is ensure the cells are formatted to show the date in the format you wish to see.  In Excel date is simply a number displayed as a recognisable date and EDATE increases that number accordingly also incrementing the year when necessary. 
  • Just re-read the formula and it makes sense now, just tried it out and it works, thank you very much!

    Being cheeky, I might push it a bit by asking how I can stop the lines that do not yet have a 'date last actioned' (i.e blank) from saying 'FALSE' in the 'date next due' column?


  • Mistral001
    Mistral001 Posts: 5,425 Forumite
    Part of the Furniture 1,000 Posts Name Dropper I've been Money Tipped!
    edited 22 December 2021 at 2:50PM
    Just re-read the formula and it makes sense now, just tried it out and it works, thank you very much!

    Being cheeky, I might push it a bit by asking how I can stop the lines that do not yet have a 'date last actioned' (i.e blank) from saying 'FALSE' in the 'date next due' column?


    Can you arrange the formula  to give a zero value instead of false? Then you can use the display or hide zero values option to give you a blank cell.

    PS: You will probably not be able to do the above in one cell because the IF() function to get the zero, will be referencing the same cell as the AND() function is referencing..  You will have to have the AND() and IF() functions in different cells.  This is OK if you are able to hide the cell with the AND() function by hide row or hide column or put it off to the side or top or bottom of the table.
  • molerat
    molerat Posts: 34,504 Forumite
    Part of the Furniture 10,000 Posts Name Dropper Photogenic
    edited 22 December 2021 at 4:27PM
    Just re-read the formula and it makes sense now, just tried it out and it works, thank you very much!

    Being cheeky, I might push it a bit by asking how I can stop the lines that do not yet have a 'date last actioned' (i.e blank) from saying 'FALSE' in the 'date next due' column?



    Change the formula to
    =IF(ISBLANK(A1),"",IF(B1="4 weeks",A1+28,IF(B1="2 weeks",A1+14,IF(B1="2 Months",EDATE(A1,2)))))
    so it checks if the date last actioned is empty before doing anything else.  If you clear the date last actioned cell at any time you need to "clear contents" and not just overwrite with the space bar as that does not clear the cell but leaves a space and will return FALSE.

  • Just use Calendar??
    No longer a spouse, or trailing, but MSE won't allow me to change my username...
  • Just use Calendar??
    How do I do that exactly?
  • molerat said:
    Just re-read the formula and it makes sense now, just tried it out and it works, thank you very much!

    Being cheeky, I might push it a bit by asking how I can stop the lines that do not yet have a 'date last actioned' (i.e blank) from saying 'FALSE' in the 'date next due' column?



    Change the formula to
    =IF(ISBLANK(A1),"",IF(B1="4 weeks",A1+28,IF(B1="2 weeks",A1+14,IF(B1="2 Months",EDATE(A1,2)))))
    so it checks if the date last actioned is empty before doing anything else.  If you clear the date last actioned cell at any time you need to "clear contents" and not just overwrite with the space bar as that does not clear the cell but leaves a space and will return FALSE.

    Thanks again Molerat.  very informative
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 350.8K Banking & Borrowing
  • 253K Reduce Debt & Boost Income
  • 453.5K Spending & Discounts
  • 243.8K Work, Benefits & Business
  • 598.6K Mortgages, Homes & Bills
  • 176.8K Life & Family
  • 257K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.6K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.