Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text


I have 4 cells BA8:BA11

Each one contains a if statement that returns text if it is true.
Only one of the 4 can be true and all could be false.

I want BA12 to return the text in the true cell and return "" if all
are false.

I tried this equation and a variation using ISBLANK

=IF(ISTEXT(BA8),BA8,IF(ISTEXT(BA9),BA9,IF(ISTEXT(B A10),BA10,IF(ISTEXT(BA11),BA11,""))))

but it always returns "" even if there is a true result.

Any other way to do this.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=557073

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Marcelo
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text

Hi,

notice that "" is text also, if the cells ba8:ba11 return "" too.

hth
regards from Brazil
Marcelo

"jermsalerms" escreveu:


I have 4 cells BA8:BA11

Each one contains a if statement that returns text if it is true.
Only one of the 4 can be true and all could be false.

I want BA12 to return the text in the true cell and return "" if all
are false.

I tried this equation and a variation using ISBLANK

=IF(ISTEXT(BA8),BA8,IF(ISTEXT(BA9),BA9,IF(ISTEXT(B A10),BA10,IF(ISTEXT(BA11),BA11,""))))

but it always returns "" even if there is a true result.

Any other way to do this.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=557073


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text


=concatenate(ba8,ba9,ba10,ba11)

Hth


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=557073

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text


The cells do result in "" if they are false

So what is another way to do this...there must be some formula that
will search BA8:BA11 for text that IS NOT "" and return the text in
that cell.


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=557073

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Bearacade
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text


Did you try the Concatenate?


--
Bearacade


------------------------------------------------------------------------
Bearacade's Profile: http://www.excelforum.com/member.php...o&userid=35016
View this thread: http://www.excelforum.com/showthread...hreadid=557073



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
jermsalerms
 
Posts: n/a
Default Function that will = 1 of 4 cell containing text


Worked like a charm! Thanks!


--
jermsalerms
------------------------------------------------------------------------
jermsalerms's Profile: http://www.excelforum.com/member.php...o&userid=30167
View this thread: http://www.excelforum.com/showthread...hreadid=557073

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
How do I set text to top of cell next to wrap text in Excel? Carpenter Gary New Users to Excel 1 October 25th 05 06:26 PM
Text in formula bar is not displaying in cell Mike Excel Discussion (Misc queries) 0 August 29th 05 09:47 PM
Wrap text ceases to function in Excel if cell exceeds 9 lines nycemail Excel Worksheet Functions 1 July 24th 05 06:09 PM
Function syntax to compare cell contents ES Excel Worksheet Functions 2 May 18th 05 03:53 PM
How can I combine text and a function in a single cell slot guy Excel Worksheet Functions 3 January 19th 05 04:13 PM


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