Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default Excel 2007: Three comparisons

I am working on a spreadsheet that tracks salespeople.
I want to show when a salesperson move merchandise to another
salesperson.

Column A has the salesperson code
Column B has the transaction code.

When a salesperson gets merchandise, a transaction code is recorded.
When the salesperson swaps the merchandise with another salesperson,
the same
transaction gets recorded for the first salesperson.
Lastly, the next salesperson gets the merchandise, and the same
transaction code is
recorded for them.

So, we have two different salespeople, with two rows that have same
transaction code.

I want to flag the line items when the same transaction is recorded
for two sales people.
I only want to flag the line items when it is traded among two sales
people.

I have tried this:
=b2=b1
I drag the cell down the column.
(It will say TRUE if the transaction code matches the one above).

I have another column that checks to see if the salesperson is
different:
=a2<a1
(It will say TRUE if the sales person is different.)

I have tried to see if the two conditions say TRUE, but this does not
seem to work:
=if((c1="TRUE") and (d1="TRUE"), "merchandise has moved salesperson to
salesperson")

This does not seem to work. Any thoughts?
Maybe with a conditional format to check the two conditions?




  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,522
Default Excel 2007: Three comparisons

On Wednesday, April 11, 2012 7:42:07 PM UTC-5, Tony O wrote:
I am working on a spreadsheet that tracks salespeople.
I want to show when a salesperson move merchandise to another
salesperson.

Column A has the salesperson code
Column B has the transaction code.

When a salesperson gets merchandise, a transaction code is recorded.
When the salesperson swaps the merchandise with another salesperson,
the same
transaction gets recorded for the first salesperson.
Lastly, the next salesperson gets the merchandise, and the same
transaction code is
recorded for them.

So, we have two different salespeople, with two rows that have same
transaction code.

I want to flag the line items when the same transaction is recorded
for two sales people.
I only want to flag the line items when it is traded among two sales
people.

I have tried this:
=b2=b1
I drag the cell down the column.
(It will say TRUE if the transaction code matches the one above).

I have another column that checks to see if the salesperson is
different:
=a2<a1
(It will say TRUE if the sales person is different.)

I have tried to see if the two conditions say TRUE, but this does not
seem to work:
=if((c1="TRUE") and (d1="TRUE"), "merchandise has moved salesperson to
salesperson")

This does not seem to work. Any thoughts?
Maybe with a conditional format to check the two conditions?


Look in the help index for AND
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
Yr to Yr comparisons cisse_5 Excel Discussion (Misc queries) 7 May 15th 09 06:10 PM
Excel File Comparisons Twila Excel Discussion (Misc queries) 2 December 5th 08 08:42 PM
Sheet Comparisons. Jeff[_10_] Excel Worksheet Functions 1 February 18th 08 11:52 PM
Pivot Table Comparisons in Excel 2007 whynot0611 Excel Discussion (Misc queries) 2 May 19th 07 12:51 AM
Error Table For Excel Comparisons ajocius[_6_] Excel Programming 1 July 26th 05 02:35 PM


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