Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Custom formatting

I have a very large spreadsheet in which I need to change all dates that
appear this way: 1994 - 1995, to this: (1994 - 1995).

Is there any way I can create a custom format for the latter? Otherwise I
have to go through each cell one by one and change each one individually.

I hope someone can help...
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default Custom formatting

If the data is in a column, then use a helper column. Say the data is in
column A. In B1 enter:

="(" & A1 & ")" and copy down.


If you dates are scattered, then a macro is the best approach.
--
Gary''s Student - gsnu200777


"Yvonne" wrote:

I have a very large spreadsheet in which I need to change all dates that
appear this way: 1994 - 1995, to this: (1994 - 1995).

Is there any way I can create a custom format for the latter? Otherwise I
have to go through each cell one by one and change each one individually.

I hope someone can help...

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Custom formatting

On Apr 3, 11:50*pm, Gary''s Student
wrote:
If the data is in a column, then use a helper column. *Say the data is in
column A. *In B1 enter:

="(" & A1 & ")" and copy down.

If you dates are scattered, then a macro is the best approach.
--
Gary''s Student - gsnu200777



"Yvonne" wrote:
I have a very large spreadsheet in which I need to change all dates that
appear this way: 1994 - 1995, to this: (1994 - 1995). *


Is there any way I can create a custom format for the latter? *Otherwise I
have to go through each cell one by one and change each one individually..


I hope someone can help...- Hide quoted text -


- Show quoted text -


Or as a custom format: (@)

Cheers,
Ivan.
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 26
Default Custom formatting

Thanks, it is helpful, but I am relatively new to Excel, and I'm not familiar
with macros.

The dates are scattered. I need this:

National Yeast 1950-1951,1955-1957; General Motors 1954-1955; Parker Sheet
Metal 1956-1960; Sun Oil Co., 1965-1986

to look like this:

National Yeast (1950-1951,1955-1957); General Motors (1954-1955); Parker
Sheet Metal (1956-1960); Sun Oil Co., (1965-1986)

We have a database at work that runs reports, and puts all information into
an Excel document. If the information isn't entered correctly into our
database in the first place, then we are left to clean up the mess in the
reports. It wastes a great deal of time, and I was hoping there might be a
way to cut back on that time.

Is there a macro for me somewhere out there?

"Gary''s Student" wrote:

If the data is in a column, then use a helper column. Say the data is in
column A. In B1 enter:

="(" & A1 & ")" and copy down.


If you dates are scattered, then a macro is the best approach.
--
Gary''s Student - gsnu200777


"Yvonne" wrote:

I have a very large spreadsheet in which I need to change all dates that
appear this way: 1994 - 1995, to this: (1994 - 1995).

Is there any way I can create a custom format for the latter? Otherwise I
have to go through each cell one by one and change each one individually.

I hope someone can help...

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 141
Default Custom formatting

On Apr 4, 1:25*am, Yvonne wrote:
Thanks, it is helpful, but I am relatively new to Excel, and I'm not familiar
with macros. *

The dates are scattered. *I need this:

National Yeast 1950-1951,1955-1957; General Motors 1954-1955; Parker Sheet
Metal 1956-1960; Sun Oil Co., 1965-1986

to look like this:

National Yeast (1950-1951,1955-1957); General Motors (1954-1955); Parker
Sheet Metal (1956-1960); Sun Oil Co., (1965-1986)

We have a database at work that runs reports, and puts all information into
an Excel document. *If the information isn't entered correctly into our
database in the first place, then we are left to clean up the mess in the
reports. *It wastes a great deal of time, and I was hoping there might be a
way to cut back on that time.

Is there a macro for me somewhere out there? *



"Gary''s Student" wrote:
If the data is in a column, then use a helper column. *Say the data is in
column A. *In B1 enter:


="(" & A1 & ")" and copy down.


If you dates are scattered, then a macro is the best approach.
--
Gary''s Student - gsnu200777


"Yvonne" wrote:


I have a very large spreadsheet in which I need to change all dates that
appear this way: 1994 - 1995, to this: (1994 - 1995). *


Is there any way I can create a custom format for the latter? *Otherwise I
have to go through each cell one by one and change each one individually.


I hope someone can help...- Hide quoted text -


- Show quoted text -


Hi Yvonne,

Where you write the example, do the semicolons represent different
cells? i.e. is the data as such:

cell A1: "National Yeast 1950-1951"
cell A2: "General Motors 1954-1955"
cell A3: "Parker Sheet Metal 1956-1960"
cell A4: "Sun Oil Co., 1965-1986"
etc...

or do they run across in a row, or is the whole thing just one big
string in a cell? Shouldn't be hard to write a macro for it, but the
more info we have on the structure of your data te easier it will be.

Cheers,
Ivan.
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
custom formatting BorisS Excel Discussion (Misc queries) 0 March 10th 08 02:07 AM
custom formatting Nuhuskr7 Excel Discussion (Misc queries) 1 February 20th 07 07:59 AM
expanding custom formatting without removing existing cell formatting? Keith Excel Worksheet Functions 3 December 27th 06 01:54 PM
Custom Formatting Gary''s Student Excel Worksheet Functions 0 February 13th 06 08:36 PM
Custom Formatting nastech Excel Discussion (Misc queries) 5 January 27th 06 03:54 AM


All times are GMT +1. The time now is 12:25 PM.

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

About Us

"It's about Microsoft Excel"