Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Business Applications
Tag Cloud
access acer asus bios bsod computer crash desktop driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory modem monitor motherboard mouse network printer problem ram registry repair router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Software & Hardware > Business Applications >
Excel Function problems

Reply  
Thread Tools
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
05-Sep-2010, 04:06 PM #1
Wink Excel Function problems
Hi everyone,
1.
I have a excel files contain 800+ sms,
one of the column is the date, like this 21/07/2010 20:48.
my question is, is there a way I can change them into format like this 2010.07.21 20:48 ?


2.
another problem is can I add 2 digits (61)in front of other numbers
e.g. 455445654, 456544565, 402156441...etc
change them to 61455445654, 61456544565, 61402156441...etc
these number are mobile no. so they are pretty much random


Thanks everyone
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Sep-2010, 04:30 PM #2
Hi there, welcome to the board!

1.
Yes. If it is an Excel-recognized date. Just select your data and format the cells. I'd tell you how to get there but not sure what version of Excel you have. You can either right click the selection and go to Format Cells, or just hit Ctrl + 1. Change the format to:
yyyy.mm.dd hh:mm

2.
Download and install ASAP Utilities (www.asap-utilities.com). Easiest way to do it. You can do this manually by formulas (separate column, copy, paste values) or by vba (just like how asap utilities does it).

HTH
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
05-Sep-2010, 05:29 PM #3
1. Fixed. It was a cvs file. after change it to xls, It can be changed easily. Thank you

2. could you tell me more about how to do it manually by formulas? Just want to learn more about excel

Thanks a lot for your help
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
05-Sep-2010, 07:01 PM #4
In a separate column, enter something like this, assuming your data is in A1 and your formula is in an adjacent cell, like B1:

Code:
=61&A1
Then select that cell, hover your mouse over the bottom right corner until your mouse cursor turns into a bold plus sign, click, drag and copy down as far as you want to go (assuming your data is contiguous).

If you want to make the formula values static at this point, select the entire formula range, copy it (Ctrl + C), then paste special values (Alt + E, S, V, Enter).

But ASAP Utilities will do this for you.
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
06-Sep-2010, 08:52 AM #5
thank you for your help.. This forum rocks!
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
06-Sep-2010, 09:04 AM #6
Question2:
I installed ASAP Utilities, I'm not familiar with the software. which function should I use?
Also there's some number already have 61 in front, is there a faster way I can change those without 61 while those have 61 remain unchanged?

Thank you
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
06-Sep-2010, 09:48 AM #7
this seems work
=IF(LEFT(B2,2)="61",B2,VALUE("61"&B2))

where is the best place, can I learn this kind of formula?
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
06-Sep-2010, 10:55 AM #8
http://img.whirltools.com/i/92548477085572888184.jpg
another question:
the date are not sort.. I was wondering how can I sort them to oldest to newest?
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
06-Sep-2010, 12:40 PM #9
Remember, if you use quotation marks in your formula, you'll get text, not a number, and could get a number stored as text. The formula you have should work ok, so long as the formula cell doesn't have a text format, but it's always something to look for, and a common cause of headaches. One way to coerce it to a number would be:

=0+A1
or
=1*A1
or
=--A1

As far as the date not sorting, ensure it is actually a date. There is no built-in function to check for an Excel-recognized date, not in a worksheet function anyway, there is in VBA. If you want this simple functionality in the worksheet as well, you can use a UDF like shown here:

http://www.vbaexpress.com/kb/getarticle.php?kb_id=323

Make sure they're actually a date, otherwise it will sort as text.

As far as the ASAP Utilities question, I don't know what version of Excel you have, but it's under the Text submenu, look for something that says Add characters before... I don't remember exactly what it says, but look around and you'll find it.
motom's Avatar
Junior Member with 7 posts.
 
Join Date: Sep 2010
Experience: Intermediate
06-Sep-2010, 01:41 PM #10
I'm using Excel 2003
Zack Barresse's Avatar
Computer Specs
Distinguished Member with 5,030 posts.
 
Join Date: Jul 2004
Location: Oregon, United States
Experience: I'ma learnin'!
06-Sep-2010, 01:46 PM #11
Look under the Text submenu:
slurpee55's Avatar
Computer Specs
Distinguished Member with 7,837 posts.
 
Join Date: Oct 2004
Location: Southwest Iowa....
Experience: Currently stupid...
08-Sep-2010, 12:41 PM #12
one thing is that "sorting" text will not give you the results you want if you treat them as if they are numbers. Excel sorts text by the first digit, so if you have the numbers 1-100 as text, then sorting them will give you the order 1, 10, 100, 11, 12, 13, 14, 15, 16, 17, 18, 19, 2, 20, 21,....
__________________
Iowa? I could have sworn this was heaven.
Well, I think I can answer this question most successfully in mime.
My theme song... | Affero - rate me!
Reply

Tags
excel function

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools


Similar Threads
Title Thread Starter Forum Replies Last Post
Request for help on excel comparison nabilram Business Applications 27 02-Feb-2010 10:54 AM
Solved: Excel Backspace Improper Functioning MikeGrumbach Business Applications 15 09-Oct-2009 01:22 PM
Solved: copying select data meeting criteria from one excel workbook to another bkinman Business Applications 9 09-Mar-2009 02:05 PM
Solved: Need help with complex excel functions emydee23 Business Applications 51 16-Jan-2009 04:21 AM
Word 2007 Review function problem editor88 Business Applications 20 21-May-2008 05:18 PM


Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:29 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.