#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default left & right

Hi,
I need copy a part of a field setted as date/hour.
then if I had in a field:

16/12/2008 20.50

I need take in new fields:

A1: 16 (like number)
A2: 20.50
A3: 50 (that's the minutes)
A4: 12 ( that's the month)

anyone got any idea about?
thanks 4 ur precious help.

--
BBB
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default left & right

With your data presumed in A1, ie: 16/12/2008 20.50
try this battery in A2:A5
=LEFT(A1,SEARCH("/",A1)-1)+0
=MID(A1,SEARCH(" ",A1)+1,99)+0
=MID(A1,SEARCH(".",A1)+1,99)+0
=MID(A1,SEARCH("/",A1)+1,2)+0
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Andrew" wrote:
I need copy a part of a field setted as date/hour.
then if I had in a field:

16/12/2008 20.50

I need take in new fields:

A1: 16 (like number)
A2: 20.50
A3: 50 (that's the minutes)
A4: 12 ( that's the month)


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default left & right

max,
thanks a lot.

--
BBB


"Max" wrote:

With your data presumed in A1, ie: 16/12/2008 20.50
try this battery in A2:A5
=LEFT(A1,SEARCH("/",A1)-1)+0
=MID(A1,SEARCH(" ",A1)+1,99)+0
=MID(A1,SEARCH(".",A1)+1,99)+0
=MID(A1,SEARCH("/",A1)+1,2)+0
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Andrew" wrote:
I need copy a part of a field setted as date/hour.
then if I had in a field:

16/12/2008 20.50

I need take in new fields:

A1: 16 (like number)
A2: 20.50
A3: 50 (that's the minutes)
A4: 12 ( that's the month)


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default left & right

Welcome, pl press the YES button (like the one below) in that response. Thanks
--
Max
Singapore
http://savefile.com/projects/236895
Downloads:21,000 Files:370 Subscribers:66
xdemechanik
---
"Andrew" wrote:
max,
thanks a lot.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 510
Default left & right

Hi

X1: 16/12/2008 20:50

A1: =DAY(X1)
A2: = MOD(X1,1) formatted as Custom "hh:mm"
A3: = MINUTE(X1)
A4: =MONTH(X1)


Arvi Laanemets



"Andrew" wrote in message
...
Hi,
I need copy a part of a field setted as date/hour.
then if I had in a field:

16/12/2008 20.50

I need take in new fields:

A1: 16 (like number)
A2: 20.50
A3: 50 (that's the minutes)
A4: 12 ( that's the month)

anyone got any idea about?
thanks 4 ur precious help.

--
BBB





  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 358
Default left & right

thanks a lot to all.
--
BBB


"Arvi Laanemets" wrote:

Hi

X1: 16/12/2008 20:50

A1: =DAY(X1)
A2: = MOD(X1,1) formatted as Custom "hh:mm"
A3: = MINUTE(X1)
A4: =MONTH(X1)


Arvi Laanemets



"Andrew" wrote in message
...
Hi,
I need copy a part of a field setted as date/hour.
then if I had in a field:

16/12/2008 20.50

I need take in new fields:

A1: 16 (like number)
A2: 20.50
A3: 50 (that's the minutes)
A4: 12 ( that's the month)

anyone got any idea about?
thanks 4 ur precious help.

--
BBB




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
when inserting new worksheets they read right to left not left to. Andy Setting up and Configuration of Excel 2 December 3rd 08 09:51 PM
how to make left side stay still and right side can move left to r AAS Excel Discussion (Misc queries) 1 May 27th 08 09:50 PM
My Excel view is Right to Left instead of Left to Right !!! Akash Puri Excel Discussion (Misc queries) 2 May 5th 08 07:15 PM
Column labels run right to left, not left to right tmassey Excel Discussion (Misc queries) 1 November 10th 06 11:03 AM
How to change the right-to-left worksheet to left-to-right workshe RAMA Excel Discussion (Misc queries) 1 July 4th 05 01:57 PM


All times are GMT +1. The time now is 11:12 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"