Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11
Default Testing for a consistent value counting blanks

I am trying make a formula that returns a value if all of them are the
same in a column but it has to include blanks. Say column H1:H10 is
the range and one and H1=2, H4=""or blank, H5=2 and so on....I need 2
to populate the cell. Now lets say H1=2, H4=""or blank, H5=4, I need
it to return an error message or a not available because H5 is a
diferent value than H1. I am trying to protect against a key entry
error in a spread sheet. Not all of the cells in the column will be
populated(some will remain blank) but the ones that are must be the
same value in the column. Any suggestions?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default Testing for a consistent value counting blanks

M,

Select H1:H10, use Data / Validation Custom, with the formula

=MAX(H$1:H$10)=MIN(H$1:H$10)

HTH,
Bernie
MS Excel MVP


wrote in message
oups.com...
I am trying make a formula that returns a value if all of them are the
same in a column but it has to include blanks. Say column H1:H10 is
the range and one and H1=2, H4=""or blank, H5=2 and so on....I need 2
to populate the cell. Now lets say H1=2, H4=""or blank, H5=4, I need
it to return an error message or a not available because H5 is a
diferent value than H1. I am trying to protect against a key entry
error in a spread sheet. Not all of the cells in the column will be
populated(some will remain blank) but the ones that are must be the
same value in the column. Any suggestions?



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
counting blanks Paul Excel Worksheet Functions 1 December 10th 06 02:14 AM
Counting blanks, either 1, 2 or 3 Steve Excel Worksheet Functions 5 January 14th 06 02:18 AM
Counting Blanks T De Villiers Excel Worksheet Functions 2 August 23rd 05 02:34 PM
If Then, not using values, or not counting blanks Need Help 123 Excel Worksheet Functions 8 July 20th 05 06:23 PM
Counting rows of blanks across certain columns crossingboston New Users to Excel 1 May 26th 05 05:20 PM


All times are GMT +1. The time now is 12:07 PM.

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"