Combine Text and Date formula

gibsongk55

Board Regular
Joined
Feb 15, 2010
Messages
61
Hello,

I need some help please with a formula. I need to combine text in a cell plus the current date and another formula with the day prior to the current date.

For the first formula I have this:

=B2&"_"&TEXT(TEXT(TODAY(),"ddmmyyyy")

The above formula only shows the formula and not the desired result Cell B2 text_11012014

Also I need a formula for the previous day. Appreciate any help.

Thanks,

Gibs
 

Some videos you may like

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try

=B2&"_"&TEXT(TODAY(),"ddmmyyyy")

and

=B2&"_"&TEXT(TODAY()-1,"ddmmyyyy")
 

Watch MrExcel Video

Forum statistics

Threads
1,122,842
Messages
5,598,396
Members
414,235
Latest member
sucosama

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top