Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default formula referring to a worksheet

Dear all,

In sheet2 a cell A1 has the formula = sheet1!A1,

I would like to replace sheet1 by VLOOKUP(A2,sheet3!A1:B10,2,FALSE) so
the formula should be instead of sheet1!A1 - (VLOOKUP(A2,sheet3!
A1:B10,2,FALSE))!A1 but xl does not allow this?

thank you

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default formula referring to a worksheet


Try:

=Indirect("'"&VLOOKUP(A2,sheet3!A1:B10,2,FALSE) &"'!A1")


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=122347

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,276
Default formula referring to a worksheet

Hi,

formula to work has to be

=VLOOKUP(A2,sheet3!A1:B10,2,FALSE)

why are you entering A1 at the end

if doesn't resolve your problem post some example of sheet1 2 and 3 and the
results you'd like to get

"Nicawette" wrote:

Dear all,

In sheet2 a cell A1 has the formula = sheet1!A1,

I would like to replace sheet1 by VLOOKUP(A2,sheet3!A1:B10,2,FALSE) so
the formula should be instead of sheet1!A1 - (VLOOKUP(A2,sheet3!
A1:B10,2,FALSE))!A1 but xl does not allow this?

thank you


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default formula referring to a worksheet

=INDIRECT(VLOOKUP(A2,sheet3!A1:B10,2,FALSE)&"!A1")
--
David Biddulph

"Nicawette" wrote in message
...
Dear all,

In sheet2 a cell A1 has the formula = sheet1!A1,

I would like to replace sheet1 by VLOOKUP(A2,sheet3!A1:B10,2,FALSE) so
the formula should be instead of sheet1!A1 - (VLOOKUP(A2,sheet3!
A1:B10,2,FALSE))!A1 but xl does not allow this?

thank you



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 27
Default formula referring to a worksheet

Hi NBVC, it works fine,

thank you for your help

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
referring to previous worksheet in workbook Freida Excel Worksheet Functions 9 September 29th 09 09:33 PM
referring a worksheet lazmanyak Excel Worksheet Functions 1 July 23rd 05 02:55 PM
SUMIF function referring to values on different Worksheet TeeBee0831 Excel Worksheet Functions 10 May 3rd 05 10:28 PM
referring to other worksheet Geetu M Excel Worksheet Functions 2 March 29th 05 09:37 PM
Referring to Previous Worksheet - coding Denis Excel Worksheet Functions 7 December 10th 04 05:24 PM


All times are GMT +1. The time now is 01:39 PM.

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

About Us

"It's about Microsoft Excel"