Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 4
Default Determining row number in which a value occurs

Hello,

If I have an Excel 2007 spreadsheet containing a column of numbers which are
sorted according to magnitude. I want to determine which row a specified
value occurs in, how do I do this? The value to be found is contained in a
user-entry cell and is a Named variable. Is there a way to do this with the
ROW function? If I for example assign the value the Name of "Sales" and refer
to the cell where it is stored, how do I seek that value in my column of data
and report the row number in which it occurs?

Thanks,
Harold
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 99
Default Determining row number in which a value occurs

Hi,
Is this any help?
Assuming your column of figures is in column A, with a heading in A1, and
the number you wish to find is in B2, then enter =MATCH(B2,A:A,0) in C2
should give you it's row number.Add or subract from the formula to adjust if
you have more or fewer heading rows.

Dave

"Harold Christian" wrote:

Hello,

If I have an Excel 2007 spreadsheet containing a column of numbers which are
sorted according to magnitude. I want to determine which row a specified
value occurs in, how do I do this? The value to be found is contained in a
user-entry cell and is a Named variable. Is there a way to do this with the
ROW function? If I for example assign the value the Name of "Sales" and refer
to the cell where it is stored, how do I seek that value in my column of data
and report the row number in which it occurs?

Thanks,
Harold

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
Counting number of times a value occurs da Excel Discussion (Misc queries) 6 September 9th 08 03:51 PM
count number of instances a number occurs mark (plymouth) Excel Worksheet Functions 5 July 30th 08 04:05 PM
if number occurs twice ekkeindoha Excel Discussion (Misc queries) 1 September 25th 07 12:14 PM
finding a number and the number of times it occurs luposlipophobia Excel Discussion (Misc queries) 3 June 22nd 06 03:51 AM
I want to see how many times each number occurs in an array. eingram Excel Discussion (Misc queries) 3 June 21st 06 02:53 AM


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