PC Review


Reply
Thread Tools Rate Thread

different formatting, same cell

 
 
Matt
Guest
Posts: n/a
 
      17th Feb 2007
Say the date that a certain event occurs (2/17/07) is in cell A1.
I would like to have cell B1 display: Completed 2/17/07
If I use the formula ="Completed "&A1, it displays: Completed 39130
Is there another way to do this?

 
Reply With Quote
 
 
 
 
=?Utf-8?B?Um9uIENvZGVycmU=?=
Guest
Posts: n/a
 
      17th Feb 2007
To Excel, dates are just numbers, so you need to tell it to convert the
number (date) to text how to display that text.

Try something like this:
="Completed "&TEXT(A1,"MM/DD/YYYY")

Does that help?
***********
Regards,
Ron

XL2002, WinXP


"Matt" wrote:

> Say the date that a certain event occurs (2/17/07) is in cell A1.
> I would like to have cell B1 display: Completed 2/17/07
> If I use the formula ="Completed "&A1, it displays: Completed 39130
> Is there another way to do this?
>
>

 
Reply With Quote
 
Gord Dibben
Guest
Posts: n/a
 
      17th Feb 2007
Matt

="Completed " &TEXT(A1,"mmmm, d yyyy")

Your choice of date format.


Gord Dibben MS Excel MVP


On 17 Feb 2007 14:42:57 -0800, "Matt" <(E-Mail Removed)> wrote:

>Say the date that a certain event occurs (2/17/07) is in cell A1.
>I would like to have cell B1 display: Completed 2/17/07
>If I use the formula ="Completed "&A1, it displays: Completed 39130
>Is there another way to do this?


 
Reply With Quote
 
Matt
Guest
Posts: n/a
 
      18th Feb 2007
On Feb 17, 4:53 pm, Ron Coderre <ronREMOVETHIScode...@bigfoot.com>
wrote:
> To Excel, dates are just numbers, so you need to tell it to convert the
> number (date) to text how to display that text.
>
> Try something like this:
> ="Completed "&TEXT(A1,"MM/DD/YYYY")
>
> Does that help?
> ***********
> Regards,
> Ron
>
> XL2002, WinXP
>
> "Matt" wrote:
> > Say the date that a certain event occurs (2/17/07) is in cell A1.
> > I would like to have cell B1 display: Completed 2/17/07
> > If I use the formula ="Completed "&A1, it displays: Completed 39130
> > Is there another way to do this?




Exactly! Thanks!

 
Reply With Quote
 
Earl Kiosterud
Guest
Posts: n/a
 
      18th Feb 2007
Matt,

You can make A1 say "Completed 2/17/07". With A1 selected, Format - Cells - Number tab -
Custom. In the box, put:

"Completed" mm/dd/yy

Include the quote marks. Or you can make B1 do that with =A1, and the same formatting for
B1.

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Matt" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Say the date that a certain event occurs (2/17/07) is in cell A1.
> I would like to have cell B1 display: Completed 2/17/07
> If I use the formula ="Completed "&A1, it displays: Completed 39130
> Is there another way to do this?
>



 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      18th Feb 2007
Trouble with that Earl, is that empty cells will display:
Completed 01/00/00

So, the
=A1
formula should become something like this:
=IF(A1>0,A1,"")

OR ... to retain the
=A1
formula, the custom format should be something like:

[>0]"Completed "mm/dd/yy;General;

With the last semi-colon included to eliminate 0's when empty cells are in
the first column.
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Earl Kiosterud" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Matt,
>
> You can make A1 say "Completed 2/17/07". With A1 selected, Format -

Cells - Number tab -
> Custom. In the box, put:
>
> "Completed" mm/dd/yy
>
> Include the quote marks. Or you can make B1 do that with =A1, and the same

formatting for
> B1.
>
> --
> Earl Kiosterud
> www.smokeylake.com
> -----------------------------------------------------------------------
> "Matt" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Say the date that a certain event occurs (2/17/07) is in cell A1.
> > I would like to have cell B1 display: Completed 2/17/07
> > If I use the formula ="Completed "&A1, it displays: Completed 39130
> > Is there another way to do this?
> >

>
>


 
Reply With Quote
 
Earl Kiosterud
Guest
Posts: n/a
 
      18th Feb 2007
RD,

Oops. You're right. Similar to your second solution, you could use

"Completed" mm/dd/yy;;

--
Earl Kiosterud
www.smokeylake.com
-----------------------------------------------------------------------
"Ragdyer" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Trouble with that Earl, is that empty cells will display:
> Completed 01/00/00
>
> So, the
> =A1
> formula should become something like this:
> =IF(A1>0,A1,"")
>
> OR ... to retain the
> =A1
> formula, the custom format should be something like:
>
> [>0]"Completed "mm/dd/yy;General;
>
> With the last semi-colon included to eliminate 0's when empty cells are in
> the first column.
> --
> Regards,
>
> RD
>
> ---------------------------------------------------------------------------
> Please keep all correspondence within the NewsGroup, so all may benefit !
> ---------------------------------------------------------------------------
> "Earl Kiosterud" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Matt,
>>
>> You can make A1 say "Completed 2/17/07". With A1 selected, Format -

> Cells - Number tab -
>> Custom. In the box, put:
>>
>> "Completed" mm/dd/yy
>>
>> Include the quote marks. Or you can make B1 do that with =A1, and the same

> formatting for
>> B1.
>>
>> --
>> Earl Kiosterud
>> www.smokeylake.com
>> -----------------------------------------------------------------------
>> "Matt" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>> > Say the date that a certain event occurs (2/17/07) is in cell A1.
>> > I would like to have cell B1 display: Completed 2/17/07
>> > If I use the formula ="Completed "&A1, it displays: Completed 39130
>> > Is there another way to do this?
>> >

>>
>>

>



 
Reply With Quote
 
Ragdyer
Guest
Posts: n/a
 
      18th Feb 2007
I like that one even better!<g>
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Earl Kiosterud" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> RD,
>
> Oops. You're right. Similar to your second solution, you could use
>
> "Completed" mm/dd/yy;;
>
> --
> Earl Kiosterud
> www.smokeylake.com
> -----------------------------------------------------------------------
> "Ragdyer" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
> > Trouble with that Earl, is that empty cells will display:
> > Completed 01/00/00
> >
> > So, the
> > =A1
> > formula should become something like this:
> > =IF(A1>0,A1,"")
> >
> > OR ... to retain the
> > =A1
> > formula, the custom format should be something like:
> >
> > [>0]"Completed "mm/dd/yy;General;
> >
> > With the last semi-colon included to eliminate 0's when empty cells are

in
> > the first column.
> > --
> > Regards,
> >
> > RD
> >

>
> --------------------------------------------------------------------------

-
> > Please keep all correspondence within the NewsGroup, so all may benefit

!
>
> --------------------------------------------------------------------------

-
> > "Earl Kiosterud" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> >> Matt,
> >>
> >> You can make A1 say "Completed 2/17/07". With A1 selected, Format -

> > Cells - Number tab -
> >> Custom. In the box, put:
> >>
> >> "Completed" mm/dd/yy
> >>
> >> Include the quote marks. Or you can make B1 do that with =A1, and the

same
> > formatting for
> >> B1.
> >>
> >> --
> >> Earl Kiosterud
> >> www.smokeylake.com
> >> -----------------------------------------------------------------------
> >> "Matt" <(E-Mail Removed)> wrote in message
> >> news:(E-Mail Removed)...
> >> > Say the date that a certain event occurs (2/17/07) is in cell A1.
> >> > I would like to have cell B1 display: Completed 2/17/07
> >> > If I use the formula ="Completed "&A1, it displays: Completed 39130
> >> > Is there another way to do this?
> >> >
> >>
> >>

> >

>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Conditional formatting--different formatting depending on cell con Tammy S. Microsoft Excel Misc 3 30th Mar 2009 08:11 PM
code for formatting like custom cell formatting in excel DawnTreader Microsoft Access Form Coding 12 12th Jul 2008 01:12 PM
Find formatting in text in cell, insert tags around formatting. CarlC Microsoft Excel Programming 2 27th Feb 2008 09:26 PM
Protect Cell Formatting including Conditional Formatting =?Utf-8?B?TWljayBKZW5uaW5ncw==?= Microsoft Excel Misc 5 13th Nov 2007 05:32 PM
expanding custom formatting without removing existing cell formatting? Keith Microsoft Excel Worksheet Functions 3 27th Dec 2006 01:54 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:59 PM.