ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Match value in column number received from previous match (https://www.excelbanter.com/excel-worksheet-functions/455071-match-value-column-number-received-previous-match.html)

Håkan Björkström

Match value in column number received from previous match
 
How to use MATCH when you know only the column number to lookup in?
I know that the column to lookup in is column 7, but I cannot use it in MATCH like MATCH(1910,$g$g,0) .

Thankful for any hints.
HBj

Claus Busch

Match value in column number received from previous match
 
Hi Hakan,

Am Wed, 3 Mar 2021 05:12:03 -0800 (PST) schrieb Håkan Björkström:

How to use MATCH when you know only the column number to lookup in?
I know that the column to lookup in is column 7, but I cannot use it in MATCH like MATCH(1910,$g$g,0) .


you could try:
=MATCH(1900,INDEX(A:Z,,7),0)


Regards
Claus B.
--
Windows10
Microsoft 365 for business

Håkan Björkström

Match value in column number received from previous match
 
On Wednesday, March 3, 2021 at 3:37:20 PM UTC+2, wrote:
Hi Hakan,
Am Wed, 3 Mar 2021 05:12:03 -0800 (PST) schrieb Håkan Björkström:

How to use MATCH when you know only the column number to lookup in?
I know that the column to lookup in is column 7, but I cannot use it in MATCH like MATCH(1910,$g$g,0) .

you could try:
=MATCH(1900,INDEX(A:Z,,7),0)


Regards
Claus B.
--
Windows10
Microsoft 365 for business



Sorry, this function returns an error

MyVeryOwnSelf[_3_]

Match value in column number received from previous match
 
How to use MATCH when you know only the column number to lookup in?
I know that the column to lookup in is column 7, but I cannot use it in MATCH like MATCH(1910,$g$g,0) .


This works for me with Excel 365 and Windows 10, and with all the relevant cells being Excel numbers:
=MATCH(1910, $G:$G, 0)

(I'm not clear what you mean by "... cannot use it in MATCH ..." Is an error of some kind reported?)


All times are GMT +1. The time now is 03:18 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com