LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default Transposing data into new format

Hi,
Am trying to create a macro in Excel that will take different datasets and
transpose data into a different format. I have species names and counts in
sets across columns. A and B are a set (Location A), C and D (Location B) a
set, etc. Would like to have all the information in A and B only, with row C
location data. How do I take the data out of C and D or E and F and paste it
below A and B? The data varies across several sheets and while the columns A
and B have the same number of entries in one wheet, they maybe different in
another sheet.
Example (Have)
A B C D E F
1 a 1 f 6 h 8
2 b 2 g 7
3 c 3
4 d 4
5 e 5
Want
A B C
1 a 1 Location A
2 b 2 Location A
3 c 3 Location A
4 d 4 Location A
5 e 5 Location A
6 f 6 Location B
7 g 7 Location B
8 h 8 Location C
 
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
Transposing data? Sarah (OGI) Excel Worksheet Functions 3 September 7th 07 10:36 PM
Transposing data Biff Excel Worksheet Functions 3 August 21st 07 09:06 PM
transposing vertical data to horizontal with varying amount of data Ghosty Excel Discussion (Misc queries) 5 August 1st 06 05:20 AM
Transposing data Smish Excel Discussion (Misc queries) 1 November 15th 05 03:57 AM
Transposing Data jacqui Excel Programming 3 April 4th 04 01:59 AM


All times are GMT +1. The time now is 07:12 AM.

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"