Using Cell Address in formula

Kpbeard

New Member
Joined
Jun 23, 2016
Messages
27
I am using this formula, =@CELL("address",INDEX(A$14:A$3000,MATCH(B10,A$14:A$3000,1))), to find the cell address for B10, which is a date on sheet 1 of my workbook. This formula results in $A$2364 on sheet1. On sheet2 I would like to use the result of the CELL formula, $A$2364 in a formula that is using SUMIFS back on Sheet1!$A:$A as part of the complete formula. I would like to replace the Sheet!$A:$A with Sheet!$A$2364 but have not found a way to do this yet. If I can find a way to do this, then the rest of the formula will work out as I have several variables using the same method described above. Any help would be great appreciated and I'm working on a general spreadsheet example to help explain my problem.
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
Hi,

You can use the reference which produces your result ... say A2364 is located in cell A1:
Excel Formula:
=INDIRECT("Sheet2!"&A1)
 
Upvote 0
James, Thank you for your response. When I put in the indirect formula you provided it returns a blank cell.
 
Upvote 0
Would you mind posting your revisited formula ? Have you tried to evaluate it ?
 
Upvote 0
These are the formulas on Sheet1, where the 5 digit numbers are dates.
Screen Shot 2023-02-20 at 7.29.42 AM.png


This is the formula I'm trying to figure out.


Screen Shot 2023-02-20 at 7.28.24 AM.png
 

Attachments

  • Screen Shot 2023-02-20 at 7.24.25 AM.png
    Screen Shot 2023-02-20 at 7.24.25 AM.png
    92.3 KB · Views: 6
  • Screen Shot 2023-02-20 at 7.25.33 AM.png
    Screen Shot 2023-02-20 at 7.25.33 AM.png
    82.8 KB · Views: 6
  • Screen Shot 2023-02-20 at 7.27.15 AM.png
    Screen Shot 2023-02-20 at 7.27.15 AM.png
    26.3 KB · Views: 6
Upvote 0
A couple of remarks :
1. Do you already have a SUMIF function producing the expected result without the Indirect() element ?
2. In post # 2, have you noticed how Indirect is built ... =INDIRECT("Sheet2!"&A1)
 
Upvote 0
In trying to get the value ($A$14) in cell A10 on Sheet1,
based on the formula =@CELL("address",INDEX(A$14:A$3000,MATCH(B10,A$14:A$3000,1))).

On Sheet2 in cell A5 I have the formula =indirect("Sheet1!"&A10), this returns #REF!

When I evaluate the formula, there is nothing there that shows an error.

Thank you for your questions and ideas.
 
Upvote 0
Excel Formula:
=INDIRECT("Sheet1!A10")

Book1.xlsb
A
1
2
3
4
5
6
7
8
9
10$A$14
11
12
13
14
15
16
17
18
19
Sheet1


Book1.xlsb
A
1
2
3
4
5$A$14
6#REF!
7
8
9
10
Sheet2
Cell Formulas
RangeFormula
A5A5=INDIRECT("Sheet1!A10")
A6A6=INDIRECT("Sheet1!"&A10)
 
Upvote 0
Success!!! The formula format in A5 of your response is what I've been looking for.

Thank you a thousand times!
 
Upvote 0
You're welcome

Another option
Book1.xlsb
A
4
5$A$14
6
Sheet2
Cell Formulas
RangeFormula
A5A5=INDIRECT("Sheet1!"&CELL("address",$A10))
 
Last edited:
Upvote 0

Forum statistics

Threads
1,215,509
Messages
6,125,216
Members
449,215
Latest member
texmansru47

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