Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using IF function and validation list

I want to return a result, "Operator" or "Hotel" using a drop-down list. The
data for the drop-down is listed on another worksheet.

D4 =IF(C4="Summary!A5:A40","Operator","Hotel")

C4 is the dropdown list and the cell in question D4, would return the result

"Summary!A5:A40" is the range of the validation on that I want assigned to
"Operator" with the remainder Summary!A41:A60" to be assigned "Hotel"

Thanks

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Dav Dav is offline
external usenet poster
 
Posts: 1
Default Using IF function and validation list


Im not sure why you need a dropdown list for d4, if the value to be
returned is the result of matching it from another list.
IF(isna(match(c4,summary!a5:a40,0)),"Hotel","Opera tor")



Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=558017

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using IF function and validation list

Thanks Dav, that worked perfectly.

D4 is not a dropdown but rather the outcome of the IF formula.

Appreciated your help...

"Dav" wrote:


Im not sure why you need a dropdown list for d4, if the value to be
returned is the result of matching it from another list.
IF(isna(match(c4,summary!a5:a40,0)),"Hotel","Opera tor")



Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=558017


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5
Default Using IF function and validation list

How do I clear the cell if the reference cell is empty?
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10,593
Default Using IF function and validation list

=IF(c4="","",IF(isna(match(c4,summary!a5:a40,0))," Hotel","Operator"))

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Shavey" wrote in message
...
How do I clear the cell if the reference cell is empty?



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
Validation function that created from another drop down list Jamie Excel Discussion (Misc queries) 2 May 9th 06 12:56 AM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
Copy workbook- Validation function sjs Excel Worksheet Functions 3 December 28th 05 03:00 PM
Validation List and VLookup are ackting strange Jasper Excel Worksheet Functions 1 January 24th 05 01:49 PM
Validation - List - Separate Worksheet J. Osborne Excel Worksheet Functions 1 October 28th 04 04:23 PM


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