Match using fixed columns but dynamic row

CROY1985

Well-known Member
Joined
Sep 21, 2009
Messages
501
Office Version
  1. 365
Platform
  1. Windows
Hi all
I'd like some help making the following more dynamic:

Excel Formula:
=IFERROR(MATCH(Y80,BudgetInputs!GO$26:GZ$26,0),MATCH(Y80,BudgetInputs!GO$26:GZ$26,1)+1)

effectively i want to make row dynamic, the Row i want to match within can be determined with the following formula:

Excel Formula:
=MATCH($M80&" - "&AB$3,BudgetInputs!$A:$A,0)

I've almost figured a way to do it using indirect (combining the above) but wondered if anyone knew a better, less likely to break, way?

Thanks

Chris
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
What version of Excel are you using?

I suggest that you update your Account details (or click your user name at the top right of the forum) so helpers always know what Excel version(s) & platform(s) you are using as the best solution often varies by version. (Don’t forget to scroll down & ‘Save’)
 
Upvote 0
Thanks for updating your profile.
How about
Excel Formula:
=LET(x,INDEX(BudgetInputs!GO:GZ,MATCH($M80&" - "&AB$3,BudgetInputs!$A:$A,0),0),IFNA(MATCH(Y80,x,0),MATCH(Y80,x,1)+1))
 
Upvote 0
Solution
Thanks for updating your profile.
How about
Excel Formula:
=LET(x,INDEX(BudgetInputs!GO:GZ,MATCH($M80&" - "&AB$3,BudgetInputs!$A:$A,0),0),IFNA(MATCH(Y80,x,0),MATCH(Y80,x,1)+1))

This works perfectly. Loving the "LET" function, had no idea it existed!
 
Upvote 0
You're welcome & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,197
Messages
6,123,581
Members
449,108
Latest member
rache47

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