PC Review


Reply
Thread Tools Rate Thread

Check that all cells in a range have same values

 
 
Finny388
Guest
Posts: n/a
 
      11th Jul 2007
All the formulas I can find pertain to only checking one cell agains
another:
EXACT() - "Compares two text strings and returns TRUE if they are
exactly the same..."

Is there no formula to compare several strings? Seems silly.

2007 only has 5 new formulas? yikes.

 
Reply With Quote
 
 
 
 
Bernie Deitrick
Guest
Posts: n/a
 
      11th Jul 2007
Finny,

=IF(COUNTIF(A:A,A1)=COUNTA(A:A),"ALL are the same","NOT all are the same")

can be used to tell if all the entries in column A are all the same.

HTH,
Bernie
MS Excel MVP


"Finny388" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> All the formulas I can find pertain to only checking one cell agains
> another:
> EXACT() - "Compares two text strings and returns TRUE if they are
> exactly the same..."
>
> Is there no formula to compare several strings? Seems silly.
>
> 2007 only has 5 new formulas? yikes.
>



 
Reply With Quote
 
Finny388
Guest
Posts: n/a
 
      11th Jul 2007
On Jul 11, 9:32 am, "Bernie Deitrick" <deitbe @ consumer dot org>
wrote:
> Finny,
>
> =IF(COUNTIF(A:A,A1)=COUNTA(A:A),"ALL are the same","NOT all are the same")
>
> can be used to tell if all the entries in column A are all the same.
>
> HTH,
> Bernie
> MS Excel MVP
>
> "Finny388" <finny...@yahoo.com> wrote in message
>
> news:(E-Mail Removed)...
>
> > All the formulas I can find pertain to only checking one cell agains
> > another:
> > EXACT() - "Compares two text strings and returns TRUE if they are
> > exactly the same..."

>
> > Is there no formula to compare several strings? Seems silly.

>
> > 2007 only has 5 new formulas? yikes.


thanks! nice work!

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check if the values in a range of cells are greater than 0 DP Microsoft Excel Worksheet Functions 3 19th Mar 2010 01:31 PM
calculate values in an unlimited range of cells in a column WITHOUTalso calculating values that had previously been filtered AGAINST? yadang Microsoft Excel Misc 2 1st Oct 2009 06:18 PM
Check range of cells for non-null values Dale Fye Microsoft Excel Programming 1 13th Dec 2007 03:21 PM
check for FALSE values in a range of cells in VBA Dave F Microsoft Excel Misc 2 7th Aug 2007 04:12 PM
loop through cells in a range and pick up corresponding cell values in another range patrice.cezzar@gmail.com Microsoft Excel Programming 9 19th Oct 2006 05:11 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:42 PM.