Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
Little pete
 
Posts: n/a
Default format plan into tables

I have been given heaps of maintenance plans which i need to extract the
information from. they are currently set out like the following;
With the asset on the side, days on the top and letters in the middle which
represent the maintainence task.


DAYS
1 2 3 4 5 6 7
Asset 1 D
Asset 2 F
Asset 3 D
Asset 4 D
Asset 5
Asset 6 E
Asset 7 E


I want to be able to quickly format, run a macro, or code to get this
information into the following format.

Task Day
Asset 1 D 1
Asset 4 D 2
Asset 7 E 2
Asset 2 F 3
Asset 6 E 6
Asset 3 D 7


Any help on this would be great.

Cheers Peter





  #2   Report Post  
Posted to microsoft.public.excel.misc
Ardus Petus
 
Posts: n/a
Default format plan into tables

Say your original table (with day# headers) is in A1:H8

Results for Asset 1 are given by following Array formula:
=INDEX(B2:H2,1,MATCH(FALSE,ISBLANK(B2:H2),0))&"
"&MATCH(FALSE,ISBLANK(B2:H2),0)
which must be validated with Ctrl+Shift+Enter.

You can copy it down for the other assets

See example: http://cjoint.com/?gcnYyVtWmH

HTH
--
AP

"Little pete" a écrit dans le message
de news: ...
I have been given heaps of maintenance plans which i need to extract the
information from. they are currently set out like the following;
With the asset on the side, days on the top and letters in the middle
which
represent the maintainence task.


DAYS
1 2 3 4 5 6 7
Asset 1 D
Asset 2 F
Asset 3 D
Asset 4 D
Asset 5
Asset 6 E
Asset 7 E


I want to be able to quickly format, run a macro, or code to get this
information into the following format.

Task Day
Asset 1 D 1
Asset 4 D 2
Asset 7 E 2
Asset 2 F 3
Asset 6 E 6
Asset 3 D 7


Any help on this would be great.

Cheers Peter







  #3   Report Post  
Posted to microsoft.public.excel.misc
Little pete
 
Posts: n/a
Default format plan into tables


Is there a way that the formular can pick up the Asset number at the same
time. i.e. paste a formula which captures the asset number, task, day - all
in seperate columns?

Thanks

also what does validate with Ctrl+Shift+Enter mean??

"Ardus Petus" wrote:

Say your original table (with day# headers) is in A1:H8

Results for Asset 1 are given by following Array formula:
=INDEX(B2:H2,1,MATCH(FALSE,ISBLANK(B2:H2),0))&"
"&MATCH(FALSE,ISBLANK(B2:H2),0)
which must be validated with Ctrl+Shift+Enter.

You can copy it down for the other assets

See example: http://cjoint.com/?gcnYyVtWmH

HTH
--
AP

"Little pete" a écrit dans le message
de news: ...
I have been given heaps of maintenance plans which i need to extract the
information from. they are currently set out like the following;
With the asset on the side, days on the top and letters in the middle
which
represent the maintainence task.


DAYS
1 2 3 4 5 6 7
Asset 1 D
Asset 2 F
Asset 3 D
Asset 4 D
Asset 5
Asset 6 E
Asset 7 E


I want to be able to quickly format, run a macro, or code to get this
information into the following format.

Task Day
Asset 1 D 1
Asset 4 D 2
Asset 7 E 2
Asset 2 F 3
Asset 6 E 6
Asset 3 D 7


Any help on this would be great.

Cheers Peter








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 Format Cell nastech Excel Discussion (Misc queries) 13 April 28th 06 08:31 PM
can't format cell - have tried unlocking and unprotecting griffin Excel Discussion (Misc queries) 1 April 5th 05 02:11 AM
why does currency format change to number format? Cassie Excel Discussion (Misc queries) 3 March 18th 05 06:57 PM
Keep custom format in new worksheet Buddy Excel Discussion (Misc queries) 2 March 14th 05 10:03 AM
How to format a date to a different format Laura Excel Discussion (Misc queries) 1 March 5th 05 09:59 PM


All times are GMT +1. The time now is 04:54 PM.

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"