LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Rae Rae is offline
external usenet poster
 
Posts: 27
Default VLOOKUP with IF logic

How do you write the following IF statement using vlookup functionality? Can
I use vlookup function imbedded in an IF statement for this scenario or is
there another function to use?

Look for project number in another worksheet (tab) (within the same
workbook), if project is found (true) return the open date. Else if not
found return the comment "no project found". Open date is stored/defined as
<date,time.

I think the IF statement with vlookup would be written in this manner but
it's not working for me.

=IF(VLOOKUP,B2,Sheet1!C2:C154,1,false),Sheet1!F2:F 154,"no project found")

b2 = project number that vlookup is searching for on worksheet 1, range
c2:c154
sheet1!f2:f154 = is where the open date would be found if the project is
found on worksheet 1.


Thanks,
Rae
 
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
Need help with logic or Vlookup formula Andrea Excel Worksheet Functions 9 October 17th 08 02:11 AM
LOGIC H0MELY Excel Discussion (Misc queries) 6 June 4th 08 10:41 PM
I Then logic help robnet Excel Worksheet Functions 4 July 13th 07 10:08 PM
If Then logic not enough workerbeeVAB Excel Discussion (Misc queries) 4 January 5th 06 05:24 PM
IF THEN LOGIC flotowntiger Excel Discussion (Misc queries) 5 December 7th 04 12:12 AM


All times are GMT +1. The time now is 06:51 AM.

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"