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.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Nebunyka la Simpatie.ro
Femeie
21 ani
Bacau
cauta Barbat
21 - 52 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Include previous month name in formula containing other text Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 739
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:


pus acum 3 ani
   
Pagini: 1  

Mergi la