Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formatting Question
I currently have a cell containing the following formula. =RIGHT("000"&(T2),3) This out puts a field like this: 00A What I need is A00. I tried =LEFT but that didn't work. Thanks for any help -- denileig ----------------------------------------------------------------------- denileigh's Profile: http://www.excelforum.com/member.php...fo&userid=3021 View this thread: http://www.excelforum.com/showthread.php?threadid=50955 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formatting Question
What might T2 contain? Is it just a single letter? What do you want t return if T2 is blank? Possibly =T2&"00" if T2 contains only one lette -- daddylongleg ----------------------------------------------------------------------- daddylonglegs's Profile: http://www.excelforum.com/member.php...fo&userid=3048 View this thread: http://www.excelforum.com/showthread.php?threadid=50955 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formatting Question
=Left(T2&"000",3)
would be the equivalent that produces what you show. If T2 is blank it would display 000 -- Regards, Tom Ogilvy "denileigh" wrote in message ... I currently have a cell containing the following formula. =RIGHT("000"&(T2),3) This out puts a field like this: 00A What I need is A00. I tried =LEFT but that didn't work. Thanks for any help. -- denileigh ------------------------------------------------------------------------ denileigh's Profile: http://www.excelforum.com/member.php...o&userid=30211 View this thread: http://www.excelforum.com/showthread...hreadid=509552 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Formatting Question
Hmmm..that is the trick. Sometimes it might contain A or B and others it might be BL or 1. Whatever it returns I need the characters on the left with the appropriate blank spaces at the end so that it makes 3 spaces and/or characters total. -- denileigh ------------------------------------------------------------------------ denileigh's Profile: http://www.excelforum.com/member.php...o&userid=30211 View this thread: http://www.excelforum.com/showthread...hreadid=509552 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Formatting question | Excel Discussion (Misc queries) | |||
Formatting Question | Excel Discussion (Misc queries) | |||
Formatting Question | Excel Discussion (Misc queries) | |||
Formatting Question | Excel Discussion (Misc queries) | |||
Formatting Question | Excel Worksheet Functions |