Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Art Art is offline
external usenet poster
 
Posts: 587
Default check for double information

How can I make a formula in one cell, to check in a list of products if there
is any double information. Like if there is twice "Eggs" in the list?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,173
Default check for double information

If your data is in say A1:A100, then in B2 enter

=COUNTIF($A$1:$A$100,A1)

and copy down. This will give you a column alongside in B, with 1,2,3,etc,
which is the number of times that entry appears in the dataset

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"art" wrote in message
...
How can I make a formula in one cell, to check in a list of products if
there
is any double information. Like if there is twice "Eggs" in the list?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Art Art is offline
external usenet poster
 
Posts: 587
Default check for double information

I made already next to each cell lets say in B2 and on this formula
SUMPRODUCT(LEN($A$26:$A$33)-LEN(SUBSTITUTE(LOWER($A$26:$A$33),D27,"")))/LEN(D27))
and in C2 I put in
=A1
And then in a different place I put in
=IF(SUM(C26:C30)-COUNT(C26:C30)0,"''You entered a product twice''","")

But I want to do this all in one cell, is there a way to do this in one cell?

"Nick Hodge" wrote:

If your data is in say A1:A100, then in B2 enter

=COUNTIF($A$1:$A$100,A1)

and copy down. This will give you a column alongside in B, with 1,2,3,etc,
which is the number of times that entry appears in the dataset

--
HTH
Nick Hodge
Microsoft MVP - Excel
Southampton, England
DTHIS
www.nickhodge.co.uk


"art" wrote in message
...
How can I make a formula in one cell, to check in a list of products if
there
is any double information. Like if there is twice "Eggs" in the list?


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
Entering information from 1 worksheet to another, if criteria is m Victoria Excel Discussion (Misc queries) 8 May 22nd 06 02:47 AM
Importing information from 2 workbooks into a 3rd one Susanneec Links and Linking in Excel 2 April 29th 06 12:57 AM
check boxes - copy MarkT Excel Discussion (Misc queries) 2 October 20th 05 04:33 PM
Excell Check Digit Formula tnelson Excel Worksheet Functions 1 August 28th 05 11:30 PM
Creating a check box that does not require security clearance. Maverick2U Excel Worksheet Functions 6 December 14th 04 02:46 AM


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