Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default finding coordinates of cells in an excel worksheet

I have a number of blocks of data highlighted in blue in an excel
worksheet. “Blocks” refer to a number of consecutive rows of data in
the same column. How would it be possible to find the “coordinates” for
each block in the worksheet?

By “coordinates” are meant:
Look for the first blue block in the excel sheet. Put the cursor on any
cell in the block.

1) country coordinate: Find the word “country” in the worksheet. The
country coordinate is the contents of the cell immediate to the right of
the cell containing the word “country”.

2) name coordinate:
To find the “name” coordinate one has to find the field heading row in
the worksheet. The field heading row can be found by finding the row
where the word “name” appears in the worksheet. Note the column for the
word “name” in the field heading row. The “name” coordinate for the
block is the contents of the cell which is the intersection of the row
where the cursor is (in the blue block) and the column for “name” in the
field heading.

3) ethnicity coordinate:
Find the column in the field heading row which contains the word
“ethnicity”. Field heading row is the same as above. The “ethnicity”
coordinate for the block is the contents of the cell which is the
intersection of the row where the cursor is in the blue block and the
ethnicity column in the field heading row.

4) year coordinate (this is alittle different from above):
The “year” coordinate is the contents of the cell which is the
intersection of the row of the field heading row and the column where
the cursor in the blue block is positioned.

Since all the cells within a block have the same coordinates, this would
only have to be done for one cell within the block.
But I’d like to be able to do this for all of the blocks in the
worksheet.

It would be good if the “coordinates” for all of the blocks in the
worksheet could be listed in a new worksheet by year across with name
and ethnicity in parenthesis at the intersection of year and country in
the following way:

Company History
Country 1950 1960 (the year coordinates)
Belgium name(ethnicity) name (ethnicity) etc.
Australia name(ethnicity) name (ethnicity) etc.

Your help on this would be much appreciated.

Best regards,
Brian Kaufmann




*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
finding a cell from numerical coordinates Chip New Users to Excel 5 July 8th 09 11:36 PM
finding a cell from numerical coordinates Chip New Users to Excel 3 July 8th 09 10:14 PM
finding the coordinates of the maximum point on a graph eastham85 Charts and Charting in Excel 2 January 16th 05 01:34 PM
Simple way to convert UTM ED50 coordinates to decimal coordinates? Dan[_38_] Excel Programming 8 July 11th 04 04:54 PM
Converting MouseDown Coordinates to Chart Point Coordinates Steve[_50_] Excel Programming 3 December 2nd 03 06:48 PM


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