LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 31
Default Returning text from nested IF and Vlookup statements

I am trying to return a text statement using nested IF statements. In order
to find the value in the IF statements, I have to use lookups.
Example: Find out if a site is open, scheduled to open or neither
I have three spreadsheets: All Sites, Open Sites, Pending Sites. I've
inserted a column in All sites to the left of column SiteNumber called
status. I'd like status to be Open, Pending or Other. My formula entered is:
=IF(VLOOKUP(B3,'Pending_Sites'!A2:E118,1,FALSE),"P ending",IF(VLOOKUP(B3,'Open_Sites'!A1:E63,1,FALSE) ,"Open",Other))
I get replies back correctly for Pending but #N/A for any other sites.
Any help is appreciated.
 
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
vlookup not returning full field value (text) JohnC Excel Worksheet Functions 0 June 27th 06 12:03 PM
Complex Vlookup and List Validation and Nested IF statements Bobby Excel Worksheet Functions 2 March 9th 06 05:37 PM
Vlookup of list with text and number robertjtucker Excel Discussion (Misc queries) 2 February 8th 06 05:23 PM
Numbers stored as text causes problem with VLOOKUP bpeltzer Excel Worksheet Functions 0 February 4th 06 08:07 PM
Combining Text and Date for VLOOKUP biggymismyname Excel Worksheet Functions 2 December 5th 05 04:01 PM


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