Double quotes for function when using another function/text as argument

alek

New Member
Joined
Jul 19, 2021
Messages
5
Hello,

I try to use theis function:
=MATCH(A1;M1:M10;1)
but I want the letter M of the array argument to generated by another function (like another MATCH.
When using for example:
=MATCH(A1;CHAR(64+13)&1&":"&CHAR(64+13)&10;1)
I get #VALUE! error, as the whole CHAR(64+13)&1&":"&CHAR(64+13)&10 introduces double quotes when evaluated.

How to get rid of the quotes?
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.
You would need to use the indirect function, but it's best to avoid it where possible, as it's slow & volatile.
What exactly are you trying to do?
 
Upvote 0
As said in the first post, I want the letter M of the array argument to generated by another function, ie have a variable letter for the array. Is there any other way without indirectfunction?
 
Upvote 0
Depends on what exactly you are trying to do & why. This
I want the letter M of the array argument to generated by another function
tells us nothing at all
 
Upvote 0
ok, I want to change the list that MATCH (the MATCH in the example) searches depending on another MATCH. The first MATCH finds the collumn, second MATCH finds the row. It's going to be like nested MATCHes. I cannot make it more simple than this. I also inclued an example with CHAR function. Can you make the above example work? If you can, then nested MATCHes can work too.
 
Upvote 0
Think of itlike manual addressing. I tried R1C1 too, but its offset-based, so its not good.
 
Upvote 0
What is the match function that you are using to find the column?
 
Upvote 0
Can we just stay on topic and answer the well documented question? I I am looking for a solution to the example I set.
 
Upvote 0
I am trying to do that. Whilst you know exactly what you are trying to do & what your data is like, I do not.
So far you have been very vague, which does not help me to help you.
That said you can possibly use something like
Excel Formula:
=MATCH(A1,INDEX(H1:Z100,,MATCH(B1,H1:Z1,0)),0)
 
Upvote 0

Forum statistics

Threads
1,223,164
Messages
6,170,444
Members
452,326
Latest member
johnshaji

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