Jyggalag

Active Member
Joined
Mar 8, 2021
Messages
445
Office Version
  1. 365
  2. 2019
Platform
  1. Windows
Hi all,

I currently have this setup:

1650548872247.png

Formula in full: INDEX('Q4'!$V$3:$V$73,MATCH(1, ('Q4'!$B$3:$B$73=List!$D651)*('Q4'!$A$3:$A$73=List!$N651),0))

My sheet used to be simply called "Sheet1". However, I have renamed it "Q4" now.

I want my formula to pull in data based on the value in column N. Right now, in the example above, the cell N651 has the value "Q4". I want the formula to pull in this information and based on that get the results from the sheet "Q4".

It used to work before, however, that was before i wanted it to be reliant on the sheet name.

Can somebody please help me update my formula so it works like this?

I hope that what I am asking makes sense. If not, please feel free to ask me for an elaboration! :)

Thank you all!
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
How about
Excel Formula:
=INDEX(indirect("'"&N651&"'!$V$3:$V$73"),MATCH(1, (indirect("'"&N651&"'!$B$3:$B$73")=$D651)*(indirect("'"&N651&"'!$A$3:$A$73")=$N651),0))
 
Upvote 0
Solution
How about
Excel Formula:
=INDEX(indirect("'"&N651&"'!$V$3:$V$73"),MATCH(1, (indirect("'"&N651&"'!$B$3:$B$73")=$D651)*(indirect("'"&N651&"'!$A$3:$A$73")=$N651),0))
You're amazing Fluff. And inhumanly fast!

Thank you so much, once again! :)

Kindest regards,

Jyggalag
 
Upvote 0

Forum statistics

Threads
1,223,884
Messages
6,175,177
Members
452,615
Latest member
bogeys2birdies

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