Xmatch function

sksanjeev786

Well-known Member
Joined
Aug 5, 2020
Messages
883
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Hi Team

Can we have a data like column "D"

Book1
ABCD
1Solution
2Ad Fanta1=XMATCH($A2,$A$2:$A$10,0,1)1
3Ad Fanta9=XMATCH($A3,$A$2:$A$10,0,-2)2
4Ad Fanta93
5Ad Fanta94
6Ad Fanta95
7Ad Fanta96
8Ad Fanta97
9Ad Fanta98
10Ad Fanta99
Sheet2
Cell Formulas
RangeFormula
C2:C3C2=FORMULATEXT(B2)
B2B2=XMATCH($A2,$A$2:$A$10,0,1)
B3:B10B3=XMATCH($A3,$A$2:$A$10,0,-2)



Thanks in advance
Sanjeev.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
Can you explain in words exactly what you are trying to do?

Also, can you clarify about using XMATCH? Your profile says you have Excel 2016 where XMATCH is not available.
1605959560297.png
 
Upvote 0
Is this what you mean?
Book1
ABCD
1Solution
2Ad Fanta1
3Ad Fanta2
4Ad Fanta3
5Ad Fanta4
6Ad Fanta5
7Ad Fanta6
8Ad Fanta7
9Ad Fanta8
10Ad Fanta9
Sheet1
Cell Formulas
RangeFormula
D2:D10D2=COUNTIF(A$2:A2,A2)
 
Upvote 0
Can you explain in words exactly what you are trying to do?

Also, can you clarify about using XMATCH? Your profile says you have Excel 2016 where XMATCH is not available.
View attachment 26497


Hi Peter,

In my pc i have office 365 :) as I was using Xmatch function so I got +1 and -2 instant so I was looking for other option.

so with the help of Count if, i got the solution I think it is not possible with the XMATCH function.

Thanks for your help:)
Sanjeev
 
Upvote 0
Hi Peter,

In my pc i have office 365 :)
In that case why don't you update your forum profile to show that so that helpers can give you answers appropriate to your version in the future?

I think it is not possible with the XMATCH function.
Yes, that is not what XMATCH is designed for.
 
Upvote 0
In that case why don't you update your forum profile to show that so that helpers can give you answers appropriate to your version in the future?


Yes, that is not what XMATCH is designed for.

Sure thanks for the update.
 
Upvote 0

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

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