Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Coding problem

Hello.

I'm no expert on all this so please forgive the obvious :-)

I have a spreadsheet with 2 worksheets. The main sheet has several columns
that do SQL Lookups and populate columns with PC names dependent on
criteria. (Each column lists PCs with a software product installed. These
columns are dynamically updates agains an SMS 2003 reporting database.
(Replicated copy of live data, replicates weekly)

The front sheet also does an SQL Lookup of the database and lists all the
PCs SMS is aware of. I would like to put a tick (Wingdings 2 capital P!!)
against a PC name in the First tab if it has a given piece of software
installed.

So what I have is on one sheet a list of PCs and on the other a list of PCs
with given software installed. I want to compare the 2 lists and if a name
appears on both lists, tick a column on the front sheet. Each piece of
monitored software has a column on both the First and second sheets.

Can anyone give me any pointers on how to get this thing going? Has it
already been done? Is there a pre-existin formula or function that could do
this?

Any help greatly appreciated.

Regards,

John



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Coding problem

Assuming the PCs are both in column A, on the first

B2: = IF(ISNUMBER(MATCH(A2,Sheet2!A:A,0)),"a",""

format B2 as Marlett, and copy down.

--
HTH

Bob Phillips

"John" wrote in message
...
Hello.

I'm no expert on all this so please forgive the obvious :-)

I have a spreadsheet with 2 worksheets. The main sheet has several columns
that do SQL Lookups and populate columns with PC names dependent on
criteria. (Each column lists PCs with a software product installed. These
columns are dynamically updates agains an SMS 2003 reporting database.
(Replicated copy of live data, replicates weekly)

The front sheet also does an SQL Lookup of the database and lists all the
PCs SMS is aware of. I would like to put a tick (Wingdings 2 capital P!!)
against a PC name in the First tab if it has a given piece of software
installed.

So what I have is on one sheet a list of PCs and on the other a list of

PCs
with given software installed. I want to compare the 2 lists and if a name
appears on both lists, tick a column on the front sheet. Each piece of
monitored software has a column on both the First and second sheets.

Can anyone give me any pointers on how to get this thing going? Has it
already been done? Is there a pre-existin formula or function that could

do
this?

Any help greatly appreciated.

Regards,

John





  #3   Report Post  
Posted to microsoft.public.excel.programming
GB GB is offline
external usenet poster
 
Posts: 230
Default Coding problem

This comes from a post a few questions down regarding comparing two workbooks.
I think it would be beneficial to you and solve your problem.

Credit goes to Tom Ogilvy in this situation.
Your "flag" would be the existence of a number other than zero in the column
next to your computer list. So, if you have a list of computers, then a
column for each software package, the Countif statement would refer to the
page that has the software/computer number. There are other Count like
statements that can look through a range and count if they meet a given
value, or if they are empty, etc...

As far as indicating a particular character, if you use an if statement you
can have a column such that

If(CountIf(....) < 0, "(your marker)", "")
(I am not sure what results from a Countif if there is nothing found, but
whatever the particular result on your spreadsheet, that is the comparison to
be made, so if it is "" then countif(....) < "". Etc...



in an adjacent column

=Countif([Book2.xls]Sheet1!A:A,A1)

drag down the column

repeat in Book2 checking Book1.

then you can filter on the results.

See Chip Pearson's site for working with duplicates and uniques:

http://www.cpearson.com/excel/duplicat.htm

--
Regards,
Tom Ogilvy


"John" wrote:

Hello.

I'm no expert on all this so please forgive the obvious :-)

I have a spreadsheet with 2 worksheets. The main sheet has several columns
that do SQL Lookups and populate columns with PC names dependent on
criteria. (Each column lists PCs with a software product installed. These
columns are dynamically updates agains an SMS 2003 reporting database.
(Replicated copy of live data, replicates weekly)

The front sheet also does an SQL Lookup of the database and lists all the
PCs SMS is aware of. I would like to put a tick (Wingdings 2 capital P!!)
against a PC name in the First tab if it has a given piece of software
installed.

So what I have is on one sheet a list of PCs and on the other a list of PCs
with given software installed. I want to compare the 2 lists and if a name
appears on both lists, tick a column on the front sheet. Each piece of
monitored software has a column on both the First and second sheets.

Can anyone give me any pointers on how to get this thing going? Has it
already been done? Is there a pre-existin formula or function that could do
this?

Any help greatly appreciated.

Regards,

John




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,120
Default Coding problem

Typo

=IF(ISNUMBER(MATCH(A2,Sheet2!A:A,0)),"a","")

--
HTH

Bob Phillips

"Bob Phillips" wrote in message
...
Assuming the PCs are both in column A, on the first

B2: = IF(ISNUMBER(MATCH(A2,Sheet2!A:A,0)),"a",""

format B2 as Marlett, and copy down.

--
HTH

Bob Phillips

"John" wrote in message
...
Hello.

I'm no expert on all this so please forgive the obvious :-)

I have a spreadsheet with 2 worksheets. The main sheet has several

columns
that do SQL Lookups and populate columns with PC names dependent on
criteria. (Each column lists PCs with a software product installed.

These
columns are dynamically updates agains an SMS 2003 reporting database.
(Replicated copy of live data, replicates weekly)

The front sheet also does an SQL Lookup of the database and lists all

the
PCs SMS is aware of. I would like to put a tick (Wingdings 2 capital

P!!)
against a PC name in the First tab if it has a given piece of software
installed.

So what I have is on one sheet a list of PCs and on the other a list of

PCs
with given software installed. I want to compare the 2 lists and if a

name
appears on both lists, tick a column on the front sheet. Each piece of
monitored software has a column on both the First and second sheets.

Can anyone give me any pointers on how to get this thing going? Has it
already been done? Is there a pre-existin formula or function that could

do
this?

Any help greatly appreciated.

Regards,

John







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
Excel VBA coding problem adubbs99 Excel Discussion (Misc queries) 2 April 6th 09 06:28 PM
Help with my coding problem? Dan the Man[_2_] Excel Worksheet Functions 3 September 11th 07 12:02 AM
First attempt at VBA coding problem Rick in NS New Users to Excel 9 January 12th 06 05:11 PM
Excel VBA : Coding Problem wuming[_16_] Excel Programming 2 July 28th 04 02:19 AM
Excel Coding Problem Fraggs[_14_] Excel Programming 3 April 20th 04 01:50 PM


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