please see spread-sheet attached (example).
I want to find the ROW NUMBER of the last VISIBLE VALUE in the specific column?
please see spread-sheet attached (example).
I want to find the ROW NUMBER of the last VISIBLE VALUE in the specific column?
Try this
Formula:Please Login or Register to view this content.
If you like my answer please click on * Add Reputation
Don't forget to mark threads as "Solved" if your problem has been resolved
"Nothing is so firmly believed as what we least know."
--Michel de Montaigne
The MATCH function is being told to look down column A right to the end. What it is looking for is a match for 10^308 which is a very large number not at all likely to be found in the column. 10^308 is 1 with 308 zeros after it.
The MATCH isn't looking for an exact match so it keeps looking to the bottom of the column and stops at the last value and returns the row number. If you want the actual value, surround the MATCH function with INDEX like this and format in this case as a %.
Formula:Please Login or Register to view this content.
<---------If you like someone's answer, click the star to the left of one of their posts to give them a reputation point for that answer.Ron W
10^308 is an incredibly large number that can be entered in Excel and most likely doesn't exist withing the lookup_vector. So, the formula is looking to find this large number and since it is not there, it goes back to the last record in range.
Thank you two very much for you input.
If I wanted to use "=MATCH(10^308,A:A)" to find the last row number, how could I then use this row number (as my data updates from a web URL) in any array?
E.g. =COUNT("A50:A"&MATCH(10^308,A:A)) ?
I assume you want to count the number of rows filled with numeric values then you need to use INDIRECT function
E.g.
Formula:Please Login or Register to view this content.
Duuuur - I knew that! Perfect thank you.
Last question on this topic:
How can I use that formula:
Where the start of the array "A2" is MATCH(10^308,A:A)) - 100 rows? (so if MATCH(x) returns row 200, then I'd want A100:A200)Please Login or Register to view this content.
Any thoughts?
The formula =MATCH(10^308,A:A) is giving you the LAST numeric value in column A. What is under that last value? This doesn't make sense to me as described.
If you are wanting to SUM for example the values in column A starting at A2 and going to the end then something like this will do that
Formula:Please Login or Register to view this content.
If you are wanting to SUM 200 rows starting at A2 then this will work
Formula:Please Login or Register to view this content.
I used SUM just as an example because I really don't know what it is that you want to do.
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window (or use the paperclip icon).
Last edited by newdoverman; 04-07-2016 at 10:15 AM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks