Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formatting involving year

In a column I have a current setup of "yy-#####" (ex: 96-12345) I want
"Ryyyy-#####"(ex: R1996-12345). Also, I have data from 1990-current. Any
tips?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,355
Default Formatting involving year

Try something like this

="R" & IF(VALUE(LEFT(A1,2))<=7,"20","19")& A1

--
HTH,
Barb Reinhardt



"allycat1186" wrote:

In a column I have a current setup of "yy-#####" (ex: 96-12345) I want
"Ryyyy-#####"(ex: R1996-12345). Also, I have data from 1990-current. Any
tips?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4
Default Formatting involving year

Thank you!

"Barb Reinhardt" wrote:

Try something like this

="R" & IF(VALUE(LEFT(A1,2))<=7,"20","19")& A1

--
HTH,
Barb Reinhardt



"allycat1186" wrote:

In a column I have a current setup of "yy-#####" (ex: 96-12345) I want
"Ryyyy-#####"(ex: R1996-12345). Also, I have data from 1990-current. Any
tips?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Copyright Year Re-Formatting RefLib1978 Excel Worksheet Functions 3 September 7th 07 04:14 PM
condition formatting involving formula [email protected] Excel Worksheet Functions 2 May 17th 07 02:19 AM
Combination Graph with current year and prior year sales JanW Charts and Charting in Excel 2 April 5th 07 09:20 PM
Formula for Fiscal Year Conditional Formatting eppersbl Excel Discussion (Misc queries) 2 October 5th 06 06:31 PM
How to compare current year to prior year in bar chart? substring Charts and Charting in Excel 4 May 12th 05 07:04 PM


All times are GMT +1. The time now is 05:21 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"