Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default if range b6:n6 has no content, return A6

Would welcome assistance to determine which function I use to check whether a
range of cells have any content or not, then return a text string from
another cell, if not?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default if range b6:n6 has no content, return A6

What should happen if there is content?

Try something like this:

=IF(COUNTA(B6:N6),do_something,A6)

You need to define what you want for do_something.

--
Biff
Microsoft Excel MVP


"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check
whether a
range of cells have any content or not, then return a text string from
another cell, if not?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default if range b6:n6 has no content, return A6

What do you want to do if the range *does* contain data?

=If (B6:N6="",A6,"What To Do Here?")

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check

whether a
range of cells have any content or not, then return a text string from
another cell, if not?


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,572
Default if range b6:n6 has no content, return A6

Forgot to mention that the formula is an *array* formula.
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.
You *must also* use CSE when revising the formula.


--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
What do you want to do if the range *does* contain data?

=If (B6:N6="",A6,"What To Do Here?")

--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check

whether a
range of cells have any content or not, then return a text string from
another cell, if not?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default if range b6:n6 has no content, return A6

Really appreciate your replies. OK, I've tried both suggestions on a row
where A4 contains text and there is no content in range B4:O4, with following
result.

=IF(B4:O4="",A4,"") entered as an array, returns no display.
=IF(COUNTA(B4:O4),"",A4) entered as normal function , or as an array,
returns no display
I'm trying to draw out a list of items (Col A) which have no action listed
against them in the columns to their right (B:O) Is it the 'do_something/what
to do here' argument that I'm not grasping?

"Ragdyer" wrote:

Forgot to mention that the formula is an *array* formula.
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead of
the regular <Enter, which will *automatically* enclose the formula in curly
brackets, which *cannot* be done manually.
You *must also* use CSE when revising the formula.


--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
What do you want to do if the range *does* contain data?

=If (B6:N6="",A6,"What To Do Here?")

--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit !
--------------------------------------------------------------------------

-
"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check

whether a
range of cells have any content or not, then return a text string from
another cell, if not?






  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default if range b6:n6 has no content, return A6

Are you sure that the cells are actually empty, and that they don't have
spaces or empty strings in them? Check them with ISTEXT.
--
David Biddulph

"Twishlist" wrote in message
...
Really appreciate your replies. OK, I've tried both suggestions on a row
where A4 contains text and there is no content in range B4:O4, with
following
result.

=IF(B4:O4="",A4,"") entered as an array, returns no display.
=IF(COUNTA(B4:O4),"",A4) entered as normal function , or as an array,
returns no display
I'm trying to draw out a list of items (Col A) which have no action listed
against them in the columns to their right (B:O) Is it the
'do_something/what
to do here' argument that I'm not grasping?

"Ragdyer" wrote:

Forgot to mention that the formula is an *array* formula.
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead
of
the regular <Enter, which will *automatically* enclose the formula in
curly
brackets, which *cannot* be done manually.
You *must also* use CSE when revising the formula.


--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
What do you want to do if the range *does* contain data?

=If (B6:N6="",A6,"What To Do Here?")

--
HTH,

RD

--------------------------------------------------------------------------

-
Please keep all correspondence within the NewsGroup, so all may benefit
!
--------------------------------------------------------------------------

-
"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check
whether a
range of cells have any content or not, then return a text string
from
another cell, if not?





  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 54
Default if range b6:n6 has no content, return A6

Yep, that was it. Couldn't see anything, but cleared all the contents of
these cells to be on the safe side and both these clever formulas worked
perfectly...thanks, David.

"David Biddulph" wrote:

Are you sure that the cells are actually empty, and that they don't have
spaces or empty strings in them? Check them with ISTEXT.
--
David Biddulph

"Twishlist" wrote in message
...
Really appreciate your replies. OK, I've tried both suggestions on a row
where A4 contains text and there is no content in range B4:O4, with
following
result.

=IF(B4:O4="",A4,"") entered as an array, returns no display.
=IF(COUNTA(B4:O4),"",A4) entered as normal function , or as an array,
returns no display
I'm trying to draw out a list of items (Col A) which have no action listed
against them in the columns to their right (B:O) Is it the
'do_something/what
to do here' argument that I'm not grasping?

"Ragdyer" wrote:

Forgot to mention that the formula is an *array* formula.
--
Array formulas must be entered with CSE, <Ctrl <Shift <Enter, instead
of
the regular <Enter, which will *automatically* enclose the formula in
curly
brackets, which *cannot* be done manually.
You *must also* use CSE when revising the formula.


--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Ragdyer" wrote in message
...
What do you want to do if the range *does* contain data?

=If (B6:N6="",A6,"What To Do Here?")

--
HTH,

RD

--------------------------------------------------------------------------
-
Please keep all correspondence within the NewsGroup, so all may benefit
!
--------------------------------------------------------------------------
-
"Twishlist" wrote in message
...
Would welcome assistance to determine which function I use to check
whether a
range of cells have any content or not, then return a text string
from
another cell, if not?






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
Using Formula based Cell Content Return Unique Consecutive Duplicate Values Sam via OfficeKB.com Excel Worksheet Functions 8 February 7th 07 11:33 PM
how to compare cell content to a row pf data in excel and return . Abdel Excel Discussion (Misc queries) 0 December 12th 06 09:43 PM
Retrieve text content from range with criteria DoctorG Excel Worksheet Functions 2 June 21st 06 11:31 PM
Copy the formatting and content of a range davidthegolfer Excel Discussion (Misc queries) 2 February 22nd 06 03:43 PM
Drop down defining content of a range of cells philm13 Links and Linking in Excel 5 March 25th 05 03:31 PM


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