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 Searching for multiple numbers

I have spreadsheets from several Field Service Engineers with serial numbers
and other information. I want to select a column of serial numbers from
these spreadsheets, find and highlight those serial numbers in my workbook.
Doing one serial number at a time is tedious. Is there a way to get Excel to
do several at a time?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 73
Default Searching for multiple numbers

You could use conditional format for this...

Set a cell as the "key" and format cells if they equal the key value.

This should help you see how to make this work.
http://www.contextures.com/xlCondFormat02.html

--
If my posting was helpful, please click the "Yes" button.

ROCK ON!,

Scott


"darnduk" wrote:

I have spreadsheets from several Field Service Engineers with serial numbers
and other information. I want to select a column of serial numbers from
these spreadsheets, find and highlight those serial numbers in my workbook.
Doing one serial number at a time is tedious. Is there a way to get Excel to
do several at a time?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Searching for multiple numbers

Hi,

Ok, if I understand you want to highlight the serial numbers in your
workbook which are also in the other files? If you want to keep those other
number in their own files here is what you would do:

1. In your spreadsheet, in an empty column, reference the first cell in one
of the serial number column in the other sheet, for example
='[10-21-2008.xls]Sheet2'!$A2

Copy this formula down as far as necessary. Say you put this in column
C1:C100

2. Select you serial numbers, suppose A1:A200

To conditionally format your cell(s):

In 2003:
1. Select the cell you want to format
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=OR(A1=$C$1:$C$100)
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=OR(A1=$C$1:$C$100)
5. Click the Format button and choose a format.
6. Click OK twice

If this helps, please click the Yes button.

Cheers,
Shane Devenshire

"darnduk" wrote:

I have spreadsheets from several Field Service Engineers with serial numbers
and other information. I want to select a column of serial numbers from
these spreadsheets, find and highlight those serial numbers in my workbook.
Doing one serial number at a time is tedious. Is there a way to get Excel to
do several at a time?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Searching for multiple numbers

Hi,

I gave you one solution earlier, now here is another - which Microsoft says
can't be done.

1. In the Engineers workbooks name the range containing the serial numbers,
here I named it Data. (highlight the range and choose Insert, Name, Define,
type Data into the Names in workbook box and click OK).
2. Move to your workbook in an empty cell type = and then click on any cell
in the other workbook to build a formula like
'[10-21-2008.xls]Sheet2'!$A5
3. Edit this formula so it reads
'[10-21-2008.xls]Sheet2'!Data
Press Enter and the formula will change to
='10-21-2008.xls'!Data
4. Highlight the formula on the Formula Bar and copy it, press Enter once to
escape the Formula Bar
5. Choose the command Insert, Name, Define and enter a name like FSE1 in the
Names in workbook box (if you are using 2007 make it four letter followed by
a number to be on the safe side)
6. Click in the Refers to box, clear the existing entry and choose Paste.
This should paste the formula from step 3 into the Refers to box. Click OK.
7. Select the range with your serial numbers say A1:A100 and choose Format,
Conditional Formatting, Formula is from the first drop down, and in the
second box enter =OR(A1=FSE1) pick Format and choose what you want. Click
OK twice.

Remember Microsoft says you can't use external references in Conditional
Formatting, but apparently you can!

If this helps, please click the Yes button

Cheers,
Shane Devenshire

"darnduk" wrote:

I have spreadsheets from several Field Service Engineers with serial numbers
and other information. I want to select a column of serial numbers from
these spreadsheets, find and highlight those serial numbers in my workbook.
Doing one serial number at a time is tedious. Is there a way to get Excel to
do several at a time?

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
Searching for multiple strings and return multiple solutions Ron Excel Worksheet Functions 2 October 6th 06 05:29 PM
Searching for duplicate numbers Uncle Guinness Excel Worksheet Functions 2 August 10th 06 10:59 PM
Searching numbers in Worksheet Johncobb45 Excel Worksheet Functions 6 August 5th 06 08:00 PM
Searching numbers in Worksheet? Johncobb45 Excel Worksheet Functions 2 July 31st 06 10:02 AM
Searching numbers in Worksheet? Johncobb45 Excel Worksheet Functions 3 July 28th 06 07:07 PM


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

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"