cell info into formula

JOEE1979

Active Member
Joined
Dec 18, 2022
Messages
271
Office Version
  1. 365
Platform
  1. Windows
Cell 'D9' is the name of a worksheet
Cell 'D10' has the formula =XLOOKUP(B10,'Jan 05 - Feb 16 2024'!$C$6:$C$200,'Jan 05 - Feb 16 2024'!$L$6:$L$200)

How would I be able to automatically extract 'D9' into my formula?

Thank you

HOS - Copy - Copy.xlsm
DE
9Jan 05 - Feb 16 2024Feb 23 - Apr 05 2024
1016-Feb-245-Apr-24
calculate (2)
Cell Formulas
RangeFormula
D10D10=XLOOKUP($B$10,'Jan 05 - Feb 16 2024'!$C$6:$C$200,'Jan 05 - Feb 16 2024'!$L$6:$L$200)
E10E10=XLOOKUP($B$10,'Feb 23 - Apr 05 2024'!$C$6:$C$200,'Feb 23 - Apr 05 2024'!$L$6:$L$200)
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A1:A6,D1:XFD6,C3:C4,7:1048576Cellcontains a blank value textYES
 

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.
D10: =XLOOKUP($B$10,INDIRECT("'"&D9&"'!$C$6:$C$200"),INDIRECT("'"&D9&"'!$L$6:$L$200"))
 
Upvote 0
Solution

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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