Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Problem is to find max Row() number for a value in column. Lets imagine that
you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Vlado,
Array enter (enter using Ctrl-Shift-Enter) =MAX(IF(A1:A7=100,ROW(A1:A7))) HTH, Bernie MS Excel MVP "Vlado Sveda" wrote in message ... Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
=MAX(INDEX((A1:A10=100)*ROW(A1:A10),0))
-- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Vlado Sveda" wrote in message ... Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
I see that you've used these newsgroups before, so I'm confident that this
isn't homework (right?). So....Try one of these: =LOOKUP(10^99,((A1:A7=100)*ROW(A1:A7))/(A1:A7=100)) or =SUMPRODUCT(LARGE((A1:A7=100)*ROW(A1:A7),1)) Does that help? *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN):
=MAX((A1:A1000=MAX(A1:A1000))*ROW(A1:A1000)) In article , Vlado Sveda wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#6
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Nice and compact, Bob...(I wish I'd thought of it!)
*********** Regards, Ron XL2002, WinXP "Bob Phillips" wrote: =MAX(INDEX((A1:A10=100)*ROW(A1:A10),0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Vlado Sveda" wrote in message ... Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#7
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Thanks a lot Ron, this is what I need - you helped me much.
Vlado P.S. It is not my homework - I'm pretty old for homeworks :-)) "Ron Coderre" wrote: I see that you've used these newsgroups before, so I'm confident that this isn't homework (right?). So....Try one of these: =LOOKUP(10^99,((A1:A7=100)*ROW(A1:A7))/(A1:A7=100)) or =SUMPRODUCT(LARGE((A1:A7=100)*ROW(A1:A7),1)) Does that help? *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#8
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Thanks Bernie, works great !
Vlado "Bernie Deitrick" wrote: Vlado, Array enter (enter using Ctrl-Shift-Enter) =MAX(IF(A1:A7=100,ROW(A1:A7))) HTH, Bernie MS Excel MVP "Vlado Sveda" wrote in message ... Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#9
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Great one ! Thank you !
Vlado "Bob Phillips" wrote: =MAX(INDEX((A1:A10=100)*ROW(A1:A10),0)) -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Vlado Sveda" wrote in message ... Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#10
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Thank you !
Vlado "JE McGimpsey" wrote: One way (array-entered: CTRL-SHIFT-ENTER or CMD-RETURN): =MAX((A1:A1000=MAX(A1:A1000))*ROW(A1:A1000)) In article , Vlado Sveda wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#11
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Regarding:
P.S. It is not my homework - I'm pretty old for homeworks :-)) One can be "pretty old for homework" and still not be too old for homework. <vbg ....and thanks for the feedback......it's much appreciated. *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Thanks a lot Ron, this is what I need - you helped me much. Vlado P.S. It is not my homework - I'm pretty old for homeworks :-)) "Ron Coderre" wrote: I see that you've used these newsgroups before, so I'm confident that this isn't homework (right?). So....Try one of these: =LOOKUP(10^99,((A1:A7=100)*ROW(A1:A7))/(A1:A7=100)) or =SUMPRODUCT(LARGE((A1:A7=100)*ROW(A1:A7),1)) Does that help? *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#12
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
Regarding:
P.S. It is not my homework - I'm pretty old for homeworks :-)) One can be "pretty old for homework" and still not be too old for homework. <vbg ....and thanks for the feedback......it's much appreciated. *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Thanks a lot Ron, this is what I need - you helped me much. Vlado P.S. It is not my homework - I'm pretty old for homeworks :-)) "Ron Coderre" wrote: I see that you've used these newsgroups before, so I'm confident that this isn't homework (right?). So....Try one of these: =LOOKUP(10^99,((A1:A7=100)*ROW(A1:A7))/(A1:A7=100)) or =SUMPRODUCT(LARGE((A1:A7=100)*ROW(A1:A7),1)) Does that help? *********** Regards, Ron XL2002, WinXP "Vlado Sveda" wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
#13
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Find max Row() number for a value in column
=SUMPRODUCT(MAX((A1:A7=100)*ROW(A1:A7)))
"Vlado Sveda" wrote: Problem is to find max Row() number for a value in column. Lets imagine that you have column like this: A1: 1 A2: 2 A3: 100 A4: 1 A5: 1 A6: 100 A7: 3 What I need is to get max Row() for value (100 in this example) without using VBA. (So in my example it'll return 6.) Thanks to all in advance ! Vlado |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Conditional Format as a MACRO | Excel Worksheet Functions | |||
Need to Improve Code Copying/Pasting Between Workbooks | Excel Discussion (Misc queries) | |||
Positioning Numeric Values Resulting from 6 Column Array Formula | Excel Worksheet Functions | |||
creating a bar graph | Excel Discussion (Misc queries) | |||
Running total w/2 columns - Excel | Excel Worksheet Functions |