Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,872
Default Return a value if a range of cells contain text

Hi,

Am Wed, 3 Oct 2012 08:53:34 +0000 schrieb the-chauffeur:

I have a range of cells (B3,B5,B7,B9 and B11) that start out blank and
are validated so users can only select one of 4 responses:

<BLANK
RED
AMBER
GREEN

I want to put some kind of function in cell A2 so that if any one of the
B range cells contains text, A2 shows Y - and if not, it's blank.


try in A2:
=IF(COUNTA(B3,B5,B7,B9,B11)0,"Y","")


Regards
Claus Busch
--
Win XP PRof SP2 / Vista Ultimate SP2
Office 2003 SP2 /2007 Ultimate SP2
  #2   Report Post  
Junior Member
 
Posts: 2
Default

Quote:
Originally Posted by Claus Busch View Post
Hi,

try in A2:
=IF(COUNTA(B3,B5,B7,B9,B11)0,"Y","")


Regards
Claus Busch

Claus

You're a genius - that's exactly what I was after.

Thanks so much for your time.



Neil
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
return the greatest value in a range of cells Jen Excel Discussion (Misc queries) 3 October 29th 09 06:24 PM
See if a range of cells contains certain text to return the value Eliah Excel Worksheet Functions 3 November 3rd 08 09:18 PM
Find value between range & return text RangeFinder Excel Worksheet Functions 1 October 15th 08 11:13 PM
lookup and return range of cells ark Excel Worksheet Functions 3 August 6th 05 05:18 PM
How do I return the highest value in a range of cells pjs83 Excel Worksheet Functions 5 July 6th 05 09:25 PM


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