Filehost.ro - gazduire fisiere
Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Nou pe simpatie:
Lorena13
Femeie
24 ani
Bucuresti
cauta Barbat
26 - 40 ani
Mrrrr's Forum (VIEW ONLY)ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides /

[EXCEL] Include previous month name in formula containing other text

Pagini: 1 Moderat de TRaP, TonyTzu
#1
TRaP
Moderator
Postari: 960
So I want a title in an excel document to be:

BLA BLA BLA BLA - October 2020

Now is November and every month I am doing the report for the previous month.

I don't want to forget to change the month - it can happen.

The formula for the title above should be:

="BLA BLA BLA BLA - " &    PROPER(      TEXT(      DATE(      YEAR(TODAY());     MONTH(TODAY())-1;      DAY(TODAY())      );      "MMMM" & " YYYY"      )      )

You can leave the spaces above in Excel so you can easily distinguish between parts of the formula.

Source:
https://www.excelforum.com/excel-genera ... month.html


 
   
Pagini: 1  
Mergi la