match function

Herbiec09

Active Member
Joined
Aug 29, 2006
Messages
250
Hi all,

Need some help with the match function. Normal syntax is match("value",b2:k2,0). I would like the formula to read =match("value",k2:b2,0), so that excel counts backwards from k towards b.

Would anybody know how i can achieve this?

Thanks

Herbert
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Hi all,

Need some help with the match function. Normal syntax is match("value",b2:k2,0). I would like the formula to read =match("value",k2:b2,0), so that excel counts backwards from k towards b.

Would anybody know how i can achieve this?

Thanks

Herbert

Control+shift+enter, not just enter:

=MATCH(9.99999999999999E+307,1/(B2:K2="value"))
 
Upvote 0
Thank you so much for this, is there a quick way of inserting th "..9.99999999..........." part?

Thanks

You can define BigNum as referring to:

=9.99999999999999E+307

and use this definition in the formulas:

=MATCH(BigNum,1/(B2:K2="value"))

Another option is to invoke its contracted equivalent:

9.99E+307
 
Upvote 0
You can define BigNum as referring to:

=9.99999999999999E+307

and use this definition in the formulas:

=MATCH(BigNum,1/(B2:K2="value"))

Another option is to invoke its contracted equivalent:

9.99E+307

Hi Aladin,

Thanks for the formula above, but this produces an #DIV/O error, I have tried to use it as follows: =MATCH(BigNum,1/(B8:M8="jhb"))

Any suggestions?

Thanks

Herbert
 
Upvote 0
Hi Aladin,

Thanks for the formula above, but this produces an #DIV/O error, I have tried to use it as follows: =MATCH(BigNum,1/(B8:M8="jhb"))

Any suggestions?

Thanks

Herbert

You need to confirm this formula with control+shift+enter, not just enter.That is: Press down the control and shift keys at the same time, while you hit the enter key.
 
Upvote 0

Forum statistics

Threads
1,214,641
Messages
6,120,685
Members
448,978
Latest member
rrauni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top