#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Offset.

If let's say My A1 cell formula is =sheet2!a2 on my sheet1, and this pulls up
a client's name, and i want to have a formula in a3 of Sheet1, that will pull
up the data on =sheet2!b2..


BUT...
i want i want the formula to read offset(a1,0,3) Only thing, the offset
doesnt read the actual formula that is in A1. How do i get the offset to read
the formula in A1.
=sheet2!b2,

I want it to work so i have a formula set up in the client's number section,
that all i have to do is type in the reference in my A column of my Sheet2,
in my sheet1 and the client numbers will auto populate..

Is this possible.. it's so hard to explain this proprely i think.
Thanks for your help
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Offset.

In Sheet1,

Try in A3:
=IF(A1="","",INDEX(OFFSET(Sheet2!$1:$1,MATCH(A1,Sh eet2!A:A,0)-1,),2))
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Joe Edwards" wrote:
If let's say My A1 cell formula is =sheet2!a2 on my sheet1, and this pulls up
a client's name, and i want to have a formula in a3 of Sheet1, that will pull
up the data on =sheet2!b2..


BUT...
i want i want the formula to read offset(a1,0,3) Only thing, the offset
doesnt read the actual formula that is in A1. How do i get the offset to read
the formula in A1.
=sheet2!b2,

I want it to work so i have a formula set up in the client's number section,
that all i have to do is type in the reference in my A column of my Sheet2,
in my sheet1 and the client numbers will auto populate..

Is this possible.. it's so hard to explain this proprely i think.
Thanks for your help

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Offset.

In case you are copying A3 across to return similarly
we would need to fix the match col in Sheet2,
ie use: Sheet2!$A:$A

In A3 would be:
=IF(A1="","",INDEX(OFFSET(Sheet2!$1:$1,MATCH(A1,Sh eet2!$A:$A,0)-1,),2))
A3 can now be copied across
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Offset of a minumum Mike K Excel Worksheet Functions 3 September 8th 06 03:10 PM
Macro question Chris Excel Worksheet Functions 12 July 7th 06 02:23 AM
Offset Function jagbabbra Excel Worksheet Functions 2 May 24th 06 04:17 PM
Offset Function works in cell, not in named range DragonslayerApps Excel Worksheet Functions 0 July 25th 05 05:39 PM
Question for use of offset and range Demi Excel Worksheet Functions 3 July 22nd 05 09:48 PM


All times are GMT +1. The time now is 07:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"