#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Help with tables

I would like to thank everybody for your help. I was able to piece together a
formula that works.

=IF((ISERROR(VLOOKUP(F16,'2000'!A1:D32,2,FALSE))), (OFFSET('2000'!A3,(MATCH(F16,'2000'!A3:A34,1)),1,1 ,1)),(VLOOKUP(F16,'2000'!A1:D32,2,FALSE)))

I used VLOOKUP with the FALSE option, which will return an error if a exact
match is not found, inside the ISERROR which will give a TRUE or FALSE
answer. That is the test for the IF function. If an exact match was not
found, I went with the MATCH/OFFSET method. If a exact match was found I just
used VLOOKUP

Now for my next question.
I have a sheets in the workbook named 1000, 2000, 3000 & 4000
the formula above refers to the 2000 sheet. At different time I need to
refer to the other sheets. Is there a way have a cell that I type in the name
of the sheet I need to refer to and the formula use that value to determine
which sheet to reference from?

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
some tables hosni Excel Discussion (Misc queries) 3 March 1st 07 05:38 PM
Which Tax Tables to use? [email protected] Excel Discussion (Misc queries) 6 July 8th 06 05:19 PM
ref tables Colin McLure Setting up and Configuration of Excel 0 December 21st 04 04:40 PM
Ref Tables Colin McLure New Users to Excel 0 December 21st 04 04:38 PM
Tables fastcar Excel Worksheet Functions 2 November 14th 04 07:20 PM


All times are GMT +1. The time now is 11:00 PM.

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"