Hello Everyone,
I am having trouble finding a formula to get the next matching number. Please see example uploaded. Expected output is on Sheet2. Is there a formula that can make this happen?Example.xlsx
Hello Everyone,
I am having trouble finding a formula to get the next matching number. Please see example uploaded. Expected output is on Sheet2. Is there a formula that can make this happen?Example.xlsx
You can do it using a Helper Row on Sheet1
B4:and copy across.Formula:![]()
Please Login or Register to view this content.
Then, on Sheet2, use: Row 4:committed with Ctrl-Shift-Enter and copied down.Formula:![]()
Please Login or Register to view this content.
See the updated example.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
Try the formula for cell C4 at Sheet2, likes this:
Formula:![]()
Please Login or Register to view this content.
Best regard, -)iger-/iger
If you are pleased with a solution mark your post SOLVED.
Thanks to both of you. They both worked!
well if you are using a helper then
in sheet1!b1
=RANK(B3,$B$3:$Q$3)+COUNTIF($B$3:B3,B3)-1 filled acros
then
sheet2!c4 is
=INDEX(Sheet1!$B$2:$Q$2,,MATCH(ROWS($1:1),Sheet1!$B$1:$Q$1,0)) filled down
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
You're welcome. Thanks for the rep.
I like Martin's solution because, although it uses a Helper row, it doesn't need an Array Formula. And I like Tiger's solution too as it's self contained ... though I would really struggle to work out a formula like that from scratch.
But hey, three different and working solutions in less than 40 minutes ... can't be bad![]()
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks