Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 08-24-2015, 02:50 AM
tinfanide tinfanide is offline Indirect Reference? Windows 7 64bit Indirect Reference? Office 2010 32bit
Expert
Indirect Reference?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default Indirect Reference?

On Sheet 1 (named "Fruits"), there is a value (e.g. "Apple") on Cell A1.



Now, on Sheet 2, I would like to display the value of Sheet 1 Cell A1 on Cell B1 of Sheet 2. And there is a value "Fruits" (the name of Sheet 1).

If I just reference it the simplest way, the formula is:
Code:
' the formula below is put on Sheet 2 Cell B1:
='Fruits'!A1
But I would like the part "'Fruits'" to be dynamic. I have tried to use INDIRECT.
Code:
' the formula below is put on Sheet 2 Cell B1:
=INDIRECT("'"&$A1&"'!A1")
However, if the red part (the cell reference of Sheet 1 target cell) is put within the INDIRECT function parentheses, that cell reference is not going to be dynamic. Is there a way to achieve it?

Any help is appreciated.
Reply With Quote
  #2  
Old 08-25-2015, 06:13 AM
macropod's Avatar
macropod macropod is offline Indirect Reference? Windows 7 64bit Indirect Reference? Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could combine it with an OFFSET function, like:
Code:
=OFFSET(INDIRECT("'"&$A1&"'!A1"),ROW()-1,COLUMN()-1)
You can replace ROW()-1 & COLUMN()-1 with whatever other functions/values you require to get the desired results.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 08-28-2015, 05:11 PM
tinfanide tinfanide is offline Indirect Reference? Windows 7 64bit Indirect Reference? Office 2010 32bit
Expert
Indirect Reference?
 
Join Date: Aug 2011
Posts: 312
tinfanide is on a distinguished road
Default

Thanks! OFFSET is the solution.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Confusion on INDIRECT function thatgirlaudrey Excel 4 06-06-2014 09:23 PM
Indirect Reference? Indirect Formula with dynamic rows bluionz Excel 1 03-13-2014 11:00 AM
Filter indirect dependencies SirPercival Project 1 07-04-2012 01:03 PM
Indirect Reference? Data validation using indirect function BullMouse Excel 2 11-30-2011 05:25 PM
Indirect zleyphox Excel 1 02-11-2010 09:57 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:20 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft