Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&" "&"in the
amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Thanks. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
Try this
=IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&TEXT(K2,"mm/dd/yy")) Mike "Perkykid" wrote: I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Thanks. |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&"
"&"in the amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Instead of just K2, include this as the last part of the formula: TEXT(K2,"mm/dd/yy") |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
it worked. Thanks a lot.
"Mike H" wrote: Try this =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&TEXT(K2,"mm/dd/yy")) Mike "Perkykid" wrote: I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Thanks. |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
I thought it might, glad I could help and thanks for the feedback
"Perkykid" wrote: it worked. Thanks a lot. "Mike H" wrote: Try this =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&TEXT(K2,"mm/dd/yy")) Mike "Perkykid" wrote: I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Thanks. |
#6
Posted to microsoft.public.excel.misc
|
|||
|
|||
Date Format
hi
a date format technically is a number format and your cell that contains the formula =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&(K2)) retuns text. you cann't apply a number format to text. solution. incorperate the format in the formula..... =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&Text(K2, "mm/dd/yy")) note that portion of the formula that refers to k2 not is.... text(k2, "mm/d/yy") regards FSt1 "Perkykid" wrote: I have this formula in a cell =IF(K2="","","Check Number"&" "&J2&" "&"in the amount of "&I2&" was mailed on "&(K2)), and on cell K2 i have the date format as mm/dd/yy, but the result returned this "Check Number 12345 in the amount of 258.93 was mailed on 39797." How can I change the 39797 to show 12/15/08? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
convert serial date format to normal date format | Excel Discussion (Misc queries) | |||
Convert date from text format to date format | Excel Discussion (Misc queries) | |||
Convert date + time text format to date format | Excel Worksheet Functions | |||
Can I change a date with no format (20051111) to date format? | New Users to Excel | |||
Excel 2000 date format cannot be set to Australian date format | Excel Discussion (Misc queries) |