Dear all,
ScreenHunter_005.jpg
Whenever I input a figure at E4, the name with Mark equal or smaller than E4 are list out in E5:E8 in descending order. What is the formula please?
Dear all,
ScreenHunter_005.jpg
Whenever I input a figure at E4, the name with Mark equal or smaller than E4 are list out in E5:E8 in descending order. What is the formula please?
Yes, it's:
![]()
Please Login or Register to view this content.
Ctrl + Shift + Enter!![]()
Please Login or Register to view this content.
Last edited by tamthat; 10-10-2016 at 11:58 PM.
Try this array entered formula (Ctrl + Shift + Enter)Formula:
Please Login or Register to view this content.
Dave
My previous formula works for 70 but fails for 99. This one does not.
With a helper column in G5:G8 this array formulathen this array entered formula in F5:F8Formula:
Please Login or Register to view this content.Formula:
Please Login or Register to view this content.
With 70 as the criteria:
Row\Col B C D E F G 2Data Result 3 4Name Mark 70 5Alice 6David David 70 6Tom 27Peter Peter 66 7Jane 34Jane Jane 34 8David 70Judy Judy 34 9Peter 66 10Judy 34 11Mary 5 12Kent 99
With 99 as the criteria:
Row\Col B C D E F G 2Data Result 3 4Name Mark 99 5Alice 6David Kent 99 6Tom 27Peter David 70 7Jane 34Jane Peter 66 8David 70Judy Jane 34 9Peter 66 10Judy 34 11Mary 5 12Kent 99
Here it is
Formula for cell E5
Formula:
Please Login or Register to view this content.
Confirm with the Keystroke CTRL+SHIFT+ENTER
Copy down
Hi FlameRetired,
Thanks so much for your patience and detailed answer.
Thank you for the feedback.
Hi,
By using this formula,
=LOOKUP(1,1/(LARGE((C$5:C$12<=E$4)*RANK(C$5:C$12,C$5:C$12,1)*ROW($12:$12)-ROW($5:$12),ROWS($1:1))=RANK(C$5:C$12,C$5:C$12,1)*ROW($12:$12)-ROW($5:$12)),B$5:B$12)
I can find out the name with Mark equal or smaller than E4 are list out in E5:E8 in descending order.
How about if I want to find out the name with Mark equal or LARGER than E4 and list out in E5:E8 in ASCENDING order.
ScreenHunter_007.jpg
soledad appears to be logged off at this time.
I tried doing this with soledad's formula and it works with one possible glitch.
With 34 in 'Mark' it returns the correct people, but with Jane and Judy in the same relative order as when 'Mark' was equal or SMALLER than E4. Try it (array entered) and see what I mean.Formula:
Please Login or Register to view this content.
Presently I don't know how to resolve this part of soledad's formula. Will it work just the same?
You are welcome, but soledad did all the "heavy lifting" on this one.![]()
In this case you use the following formula
Formula:
Please Login or Register to view this content.
You can replace the function SMALL by function LARGE if you wish to order by descending
Also, you can rewrite the formula in case Mark equal or SMALLER than E4 as following
Formula:
Please Login or Register to view this content.
Hope it helps
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks