#1   Report Post  
Posted to microsoft.public.excel.misc
Waara
 
Posts: n/a
Default converting question


Hi,
I'm wondering if it's possible to convert as shown in picture below?
If possible please describe how I would go about it too :)
thanks in advance

'[image: http://picuploader.com/uploads/dad7bd111e.jpg]'
(http://picuploader.com/view/dad7bd111e.jpg)


--
Waara
------------------------------------------------------------------------
Waara's Profile: http://www.excelforum.com/member.php...o&userid=31752
View this thread: http://www.excelforum.com/showthread...hreadid=514756

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default converting question


I got there in two steps, if your data had been in a colums so ended up
a b c
2 1 1
4 2 3
6 4
5

The result would be quite straightforward, but as you then want it
transposed I had to use this as an interim step

Basically you use an array like
=IF(ISERROR(SMALL(IF((B$2:B$70)*($A$2:$A$7),($A$2 :$A$7)),$A2)),"",SMALL(IF((B$2:B$70)*($A$2:$A$7), ($A$2:$A$7)),$A2))
Endered with ctrl shift enter

In the spreadsheet a2:a7 are your values 1-6
b2:b7 is your range of data under 'A'

This can then be copied to produce the interim result above

then using the offset function switching rows and columns will give the
results in the desired form
something along the lines of
=OFFSET($B$9,COLUMN()-COLUMN($A$18),ROW()-ROW($A$18))
where the data to return starts in b10 and the first cell to be
populated with the result is b18

If you send me a message with your email address I will send you the
spreadsheet which is probably clearer

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=514756

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
Summary Page Question EyeNoNothing via OfficeKB.com Excel Discussion (Misc queries) 1 February 18th 06 10:03 PM
Pivot table question gary Excel Discussion (Misc queries) 1 January 10th 06 06:25 PM
Second question converting seconds to hours bagoxc Excel Discussion (Misc queries) 2 January 5th 06 12:20 AM
How do I find and replace a question mark in Excel? Ranpalandil Excel Discussion (Misc queries) 1 September 7th 05 10:20 PM
An easy macro question and one I believe to be a little more diffi TroutKing Excel Worksheet Functions 3 January 18th 05 09:17 PM


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

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"