LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 195
Default IF and LOOKUP formulas

Please enter this pressing <CTRL<SHIFT<ENTER together

shail wrote:
Hi
I guess one can do it this way to lookup multiple sheets

sheet1

AB1001 200
AB1002 300

sheet2

BC1001 500
BC1002 400

sheet3

CD1001 600
CD1002 700

The formula will be

=IF(OR(sheet1!A1:A2=A1),VLOOKUP(A1,sheet1!A1:B2,2, FALSE),IF(OR(sheet2!A1:B1=A1),VLOOKUP(A1,sheet2!A1 :B2,2,FALSE),IF(OR(sheet3!A1:A2=A1),VLOOKUP(A1,she et3!A1:B2,2,FALSE),"")))

Hope this helps.

Thanks,
Shail


Gord Dibben wrote:
Sue

From here we can't see your data or your formula.

Could you paste a sample of your data and formula(s) that "don't work"?


Gord Dibben MS Excel MVP

On Fri, 8 Dec 2006 10:04:00 -0800, Sue wrote:

I have three different worksheets and I am trying to use IF and LOOkUP
formulas to search two of the three worksheets for a specific result... I was
just using the LOOKUP function when I had just one worksheet to look at, but
now I want it to search two worksheets and thought using the if with the
lookup but... but the logical test is returning a "false" result even though
it found the correct result.


 
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
lookup formulas cquatro Excel Worksheet Functions 3 November 10th 06 11:50 PM
Lookup formulas Heather O'Malley Excel Discussion (Misc queries) 1 June 14th 06 11:54 AM
Lookup Tables and Formulas Da' Vane Excel Worksheet Functions 1 March 2nd 06 03:29 PM
Lookup formulas: Must manuly type in look up value over downloaded value Charleswdowd Excel Discussion (Misc queries) 4 November 23rd 05 04:46 AM
How do I highlight all lookup formulas in a worksheet in one shot. JT Excel Discussion (Misc queries) 7 March 4th 05 10:35 PM


All times are GMT +1. The time now is 08:28 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"