Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Warning text triggered by values of a cell range

I'm doing something wrong and can't figure it out. Can anybody help me?

Heres what I want: If user enter value in cells A1 through A5, I want cell
A6 to return €śMust be filled in€ť

Heres the formula I put in A6: =IF(A10,"Must be filled in!","") and it
works, but only for one reference cell.

What I want is a range of cells (A1:A5). So I enter in A6: =IF(A1:A50,"Must
be filled in!",""). And I get a #VALUE! Error in A6.

Help!
--
Merci!
Bonzai
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Warning text triggered by values of a cell range

=if(count(a1:a5)=5,"Must be filled in","")
if you enter numbers in a1:a5

=if(counta(a1:a5)=5,"Must be filled in","")
if you enter numbers or text in A1:A5

I would put the formula in B6, though and use a formula like:
=if(and(count(a1:a5)=5,a6=""),"A6 Must be filled in","")

Bonzai wrote:

I'm doing something wrong and can't figure it out. Can anybody help me?

Heres what I want: If user enter value in cells A1 through A5, I want cell
A6 to return €śMust be filled in€ť

Heres the formula I put in A6: =IF(A10,"Must be filled in!","") and it
works, but only for one reference cell.

What I want is a range of cells (A1:A5). So I enter in A6: =IF(A1:A50,"Must
be filled in!",""). And I get a #VALUE! Error in A6.

Help!
--
Merci!
Bonzai


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 9
Default Warning text triggered by values of a cell range

It works! Thank You Dave for taking the time to help me, I appreciate it!
Merci Beaucoup!
--
Bonzai

"Dave Peterson" wrote:

=if(count(a1:a5)=5,"Must be filled in","")
if you enter numbers in a1:a5

=if(counta(a1:a5)=5,"Must be filled in","")
if you enter numbers or text in A1:A5

I would put the formula in B6, though and use a formula like:
=if(and(count(a1:a5)=5,a6=""),"A6 Must be filled in","")

Bonzai wrote:

I'm doing something wrong and can't figure it out. Can anybody help me?

Here's what I want: If user enter value in cells A1 through A5, I want cell
A6 to return "Must be filled in"

Here's the formula I put in A6: =IF(A10,"Must be filled in!","") and it
works, but only for one reference cell.

What I want is a range of cells (A1:A5). So I enter in A6: =IF(A1:A50,"Must
be filled in!",""). And I get a #VALUE! Error in A6.

Help!
--
Merci!
Bonzai


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Warning text triggered by values of a cell range

Da Nada

Bonzai wrote:

It works! Thank You Dave for taking the time to help me, I appreciate it!
Merci Beaucoup!
--
Bonzai

"Dave Peterson" wrote:

=if(count(a1:a5)=5,"Must be filled in","")
if you enter numbers in a1:a5

=if(counta(a1:a5)=5,"Must be filled in","")
if you enter numbers or text in A1:A5

I would put the formula in B6, though and use a formula like:
=if(and(count(a1:a5)=5,a6=""),"A6 Must be filled in","")

Bonzai wrote:

I'm doing something wrong and can't figure it out. Can anybody help me?

Here's what I want: If user enter value in cells A1 through A5, I want cell
A6 to return "Must be filled in"

Here's the formula I put in A6: =IF(A10,"Must be filled in!","") and it
works, but only for one reference cell.

What I want is a range of cells (A1:A5). So I enter in A6: =IF(A1:A50,"Must
be filled in!",""). And I get a #VALUE! Error in A6.

Help!
--
Merci!
Bonzai


--

Dave Peterson


--

Dave Peterson
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
Functions- Finding and counting specified text in cell range holliedavis Excel Worksheet Functions 8 November 22nd 06 05:49 PM
Copy from a Cell to a text box. AJL Excel Worksheet Functions 9 November 7th 06 04:58 PM
25 days previous to today? MaQ Excel Discussion (Misc queries) 5 March 14th 06 06:57 PM
Warning while entering duplicate values in a cell Raj Mazumdar Excel Discussion (Misc queries) 2 February 28th 06 11:05 PM
Inserting two cell values into a new cell + text mmednick Excel Discussion (Misc queries) 6 December 6th 05 08:15 PM


All times are GMT +1. The time now is 12:09 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"