Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Adding 3 columns of criteria simultaneously

I have used a RANDOM NUMBERS web page to make a collection of 6 columns from
A1 to F50. Now I want to scan them to see if I have repeated any rows. Can
someone help with a formula

Mike Cosgriff
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,805
Default Adding 3 columns of criteria simultaneously

One way is to concatenate the values in Column G like this
=A1&B1&C1&D1&E1&F1

then use this in Col H
=Countif(G1:$G100,G1)
(change 100 to the last row number) and copy down.

Cells with value 1 will show duplicate cells.

"Michael Joseph Cosgriff" wrote:

I have used a RANDOM NUMBERS web page to make a collection of 6 columns from
A1 to F50. Now I want to scan them to see if I have repeated any rows. Can
someone help with a formula

Mike Cosgriff

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Adding 3 columns of criteria simultaneously

Hi Mike,

You could use a helper column and concatenate the data then use conditional
format to highlight identical lines.

Following assumes data in A1:F50 as per your post.
In cell G1 insert the following formula.
=A1&B1&C1&D1&E1&F1
Copy the formula to the bottom of the data.
Select the full range in column G
Select conditional format and select formula for the rule type.
Insert the following formula for the rule.
=COUNTIF($G$1:$G$50,G1)1
(Note that $G$1:$G$50 must be absolute with $ signs and G1 is relative.)
Set the format required like yellow fill.

Then matching lines will be shown up with yellow fill. Note that if you have
multiple matching rows then all will be yellow and you will have to sort out
the matching ones but in 50 samples 6 wide the probability of that is low.



--
Regards,

OssieMac


"Michael Joseph Cosgriff" wrote:

I have used a RANDOM NUMBERS web page to make a collection of 6 columns from
A1 to F50. Now I want to scan them to see if I have repeated any rows. Can
someone help with a formula

Mike Cosgriff

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Adding 3 columns of criteria simultaneously

Hi Sheeloo,

At least the rows in the range need to be absolute to enable the formula to
be copied down.

=COUNTIF(G$1:G$100,G1)
--
Regards,

OssieMac


"Sheeloo" wrote:

One way is to concatenate the values in Column G like this
=A1&B1&C1&D1&E1&F1

then use this in Col H
=Countif(G1:$G100,G1)
(change 100 to the last row number) and copy down.

Cells with value 1 will show duplicate cells.

"Michael Joseph Cosgriff" wrote:

I have used a RANDOM NUMBERS web page to make a collection of 6 columns from
A1 to F50. Now I want to scan them to see if I have repeated any rows. Can
someone help with a formula

Mike Cosgriff

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
Adding Columns if Criteria Met JD_Ottawa Excel Worksheet Functions 1 September 26th 08 10:00 PM
Adding data in columns based on criteria in more than one column.. Setts Excel Worksheet Functions 6 June 21st 08 07:23 AM
adding data simultaneously onto 3 worksheets Joy Excel Worksheet Functions 1 May 13th 07 07:26 PM
Delete columns simultaneously in several different workbooks [email protected] Excel Discussion (Misc queries) 1 August 9th 06 05:51 PM
In Excel how can I filter multiple columns SIMULTANEOUSLY? Keleigh-G Excel Discussion (Misc queries) 5 May 25th 06 08:09 PM


All times are GMT +1. The time now is 06:03 AM.

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"