How can i add/improve this to excel?

wndncg

Board Regular
Joined
Mar 24, 2017
Messages
82
Office Version
  1. 2019
  2. 2016
  3. 2013
This is the code (formula): ='2024'!$B$1

2024=IS THE SHEET
B is the column
1 is the row

I want 1 will base on the data on cell A1
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
What is in cell A1? Is it a number or a formula? Please provide more detail to your scenario.
 
Upvote 0
Not sure what you want, exactly. But, maybe this works:

Book1
ABC
17Test
2
3
4
5
6
7Test
8
9
Sheet3
Cell Formulas
RangeFormula
B1B1=INDIRECT("B"&A1)
 
Upvote 0
Thanks for the reply sir, to give you a visual explanation:

image 1=See Column F row 1 (i want on the code if what i added data on that column reflects on the code)
image 2=the output (sample output for reference is column F row 3)
 

Attachments

  • 1.png
    1.png
    9.5 KB · Views: 6
  • 2.png
    2.png
    1.9 KB · Views: 6
Upvote 0
add:

pic 1 is sheet (2024)
pic 2 is sheet (Sheet1)

the code will be pasted at Sheet1
 
Upvote 0
Hi, looks like this to me:

Excel Formula:
=INDEX('2024'!F3:F1000,'2024'!F1)
 
Upvote 1
Solution

Forum statistics

Threads
1,215,461
Messages
6,124,955
Members
449,200
Latest member
indiansth

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