Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Bennie
 
Posts: n/a
Default LOOKUP or VLOOKUP

Hello! I have a very large spreadsheet and I need to search it for a
duplicate invoice numbers. I am entering invoice numbers in the first seven
columns. Can you tell me the easiest way to check the first seven columns
for for duplicate numbers? Thanks for your help!!!
  #2   Report Post  
Trevor Shuttleworth
 
Posts: n/a
Default

Bennie

select columns A to G. Now Select Format | Conditional formatting... and
input:

Formula is: =COUNTIF($A:$G,E4)1

Pick a suitable format, perhaps a yellow background and press OK

You might be better selecting a limited range rather than all of columns A
to G as this could be very slow.

Perhaps Formula is: =COUNTIF($A1:$G1000,E4)1

Regards

Trevor


"Bennie" wrote in message
...
Hello! I have a very large spreadsheet and I need to search it for a
duplicate invoice numbers. I am entering invoice numbers in the first
seven
columns. Can you tell me the easiest way to check the first seven columns
for for duplicate numbers? Thanks for your help!!!



  #3   Report Post  
Cesar Zapata
 
Posts: n/a
Default

I hope I understood your question. You can Highlicght duplicated items
with conditional formatting. Lets say your data is in A1:C5

Select your range then go to Formatconditional formatting then select
Value is and change it to "Formula Is".

then type this =IF(COUNTIF($A$1:$C$5,A1)1,TRUE,FALSE)

click on format button and select the colors you like to hightlight the
Dups.

You can find more info here
http://www.cpearson.com/excel/duplicat.htm

  #4   Report Post  
Arvi Laanemets
 
Posts: n/a
Default

Hi

When you want to find all occurrences of entries, starting from second (i.e.
you mark out 2nd, 3rd, etc. occurrence of incoice number in table), then
select the range A1:Gx (x is at least the number of rows in your table),
from Format menu select conditional formatting, like in Cezar's response set
'Formula is', and into formula field enter
=(COUNTIF($A$1:A1,A1)1)
After that set the cell format for case the formula returns TRUE, and click
on OK.


Arvi Laanemets


"Bennie" wrote in message
...
Hello! I have a very large spreadsheet and I need to search it for a
duplicate invoice numbers. I am entering invoice numbers in the first

seven
columns. Can you tell me the easiest way to check the first seven columns
for for duplicate numbers? Thanks for your help!!!



  #5   Report Post  
Bennie
 
Posts: n/a
Default

This worked perfect...I do have another column on another worksheet within
this spreadsheet, is it possible to incoporate another worksheet column into
this formula? Thanks for everything!!!

"Cesar Zapata" wrote:

I hope I understood your question. You can Highlicght duplicated items
with conditional formatting. Lets say your data is in A1:C5

Select your range then go to Formatconditional formatting then select
Value is and change it to "Formula Is".

then type this =IF(COUNTIF($A$1:$C$5,A1)1,TRUE,FALSE)

click on format button and select the colors you like to hightlight the
Dups.

You can find more info here
http://www.cpearson.com/excel/duplicat.htm


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
lookup combine vlookup with hlookup Doug Excel Worksheet Functions 2 April 23rd 23 11:42 AM
how do i get mutiple values using vlookup in excel, lookup value . Abhijeet Excel Discussion (Misc queries) 4 May 19th 05 04:30 AM
Vlookup & Lookup function error Beginner Excel Worksheet Functions 9 January 11th 05 12:37 AM
Problem with LOOKUP & VLOOKUP ramsdesk Excel Worksheet Functions 1 November 17th 04 07:52 AM
double lookup, nest, or macro? Josef.angel Excel Worksheet Functions 1 October 29th 04 09:50 AM


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