PC Review


Reply
Thread Tools Rate Thread

How to determine the cell location?

 
 
Eric
Guest
Posts: n/a
 
      6th Mar 2009
Does anyone have any suggestions on how to determine the cell location within
table?
The range of table is from C10 to AU54, there is a list of numbers within
this table
Starting from
C10 is 1, D10 is 56, ... AU10 is 1981
C11 is 2, D11 is 57, ... AU11 is 1982
C12 is 3, D12 is 58, ... AU12 is 1983
....
C54 is 45, D54 is 90, ... AU54 is 2025

There is a given value in BB1, which is 197, it should return the cell
location G26 in cell BB2.
Does anyone have any suggesitons?
Thanks in advance for any suggestions
Eric
 
Reply With Quote
 
 
 
 
T. Valko
Guest
Posts: n/a
 
      6th Mar 2009
Your table doesn't match your description.

I'll bet D10 = 46 not 56.

To find the address of the cell that contains 197:

Arrary entered** :

=ADDRESS(MAX((C10:AU54=BB1)*ROW(C10:AU54)),MAX((C10:AU54=BB1)*COLUMN(C10:AU54)),4)

** array formulas need to be entered using the key combination of
CTRL,SHIFT,ENTER (not just ENTER). Hold down both the CTRL key and the SHIFT
key then hit ENTER.

--
Biff
Microsoft Excel MVP


"Eric" <(E-Mail Removed)> wrote in message
news:0E33D78C-37A4-41C5-935D-(E-Mail Removed)...
> Does anyone have any suggestions on how to determine the cell location
> within
> table?
> The range of table is from C10 to AU54, there is a list of numbers within
> this table
> Starting from
> C10 is 1, D10 is 56, ... AU10 is 1981
> C11 is 2, D11 is 57, ... AU11 is 1982
> C12 is 3, D12 is 58, ... AU12 is 1983
> ...
> C54 is 45, D54 is 90, ... AU54 is 2025
>
> There is a given value in BB1, which is 197, it should return the cell
> location G26 in cell BB2.
> Does anyone have any suggesitons?
> Thanks in advance for any suggestions
> Eric



 
Reply With Quote
 
Ashish Mathur
Guest
Posts: n/a
 
      6th Mar 2009
Hi,

You could try this formula

=ADDRESS(IF(C49-45*FLOOR(C49/45,1)=0,45,C49-45*FLOOR(C49/45,1)),CEILING(C49/45,1)+2)

Please note that formula is based on the premise that the numbers are listed
consecutively and the difference between lowest and highest is 44.

Hope this helps.

--
Regards,

Ashish Mathur
Microsoft Excel MVP
www.ashishmathur.com

"Eric" <(E-Mail Removed)> wrote in message
news:0E33D78C-37A4-41C5-935D-(E-Mail Removed)...
> Does anyone have any suggestions on how to determine the cell location
> within
> table?
> The range of table is from C10 to AU54, there is a list of numbers within
> this table
> Starting from
> C10 is 1, D10 is 56, ... AU10 is 1981
> C11 is 2, D11 is 57, ... AU11 is 1982
> C12 is 3, D12 is 58, ... AU12 is 1983
> ...
> C54 is 45, D54 is 90, ... AU54 is 2025
>
> There is a given value in BB1, which is 197, it should return the cell
> location G26 in cell BB2.
> Does anyone have any suggesitons?
> Thanks in advance for any suggestions
> Eric


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine Excel cell location John Microsoft Excel Programming 1 11th Feb 2009 06:52 PM
Can VB determine location of last cell changed? John Microsoft Excel Programming 5 6th Oct 2008 07:13 PM
Ho do I determine the Active Cell location of the data being sele. =?Utf-8?B?SGliYnM=?= Microsoft Excel Programming 2 17th Mar 2005 09:19 PM
Determine location in XML Jeff Microsoft C# .NET 1 31st May 2004 10:18 PM
Determine Clients's Location????? Laszlo Csabi Microsoft Dot NET 1 24th Nov 2003 02:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:44 PM.