Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bryan Hessey
 
Posts: n/a
Default


Claude,

Sorting moves cell contents, not cells, but for your problem you could
move the name to the column before the answer (ie, don't use the 'Name'
feature, put a name in a cell) and use
=Match("required-name",D:D,1)
for names in column D to return to you the row number for your
answer.
I don't think the Match likes to find numbers even if described as
text, but 'label9' etc works ok.

Assuming that the answers are in culumn E and the 'Match' is in cell
F1,
=Indirect("E"&F1)
should provide the answer you need.


Earl Kiosterud Wrote:
Claude,

Sorting effectively copies cells, not moves cells, something most
apparent
when you have formulas in the table that's been sorted, but also with
range
names -- they stay put. Perhaps you can use a name column instead of
range
names.
--
Earl Kiosterud
www.smokeylake.com

"Claude38" wrote in message
...
Hello,

I have an array of cells containing questions and answers. I want

to
present those question in a different order every time. So I

generate a
list
of random numbers associated with the question-answer duets and I

use
those
numbers to change the order when I need to. But for future

processing,
each
answer cell has a name, and the name stays in its original place

after
sorting, which seems strange to me.

Is there a way around this problem ?

Thanks for helping.
Claude



--
Bryan Hessey
------------------------------------------------------------------------
Bryan Hessey's Profile: http://www.excelforum.com/member.php...o&userid=21059
View this thread: http://www.excelforum.com/showthread...hreadid=395565

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
sorting data on protected worksheet Sue Excel Discussion (Misc queries) 20 November 7th 06 07:31 PM
How do I sort protected cells? Stephen238 Excel Discussion (Misc queries) 5 September 13th 05 11:11 PM
Unable to sort in Excel because of merged cells Bruce Excel Discussion (Misc queries) 5 July 23rd 05 12:21 AM
Help adding text values Texas-DC_271 Excel Worksheet Functions 7 January 15th 05 11:14 PM
Convert data type of cells to Text,Number,Date and Time Kevin Excel Worksheet Functions 1 December 31st 04 12:57 PM


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