Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Macro or formula to compare columns and give a result of the odd o

User State Plate User State Plate User State Plate
jmolini OK 2MO980 mboulette OK 2MD980 jbradley OK 2MO980 1
jmolini TX 30VVF8 dfoose TX 60VVF8 awright TX 30VVF8 1
jmolini TX 4D0U558 dherrera CA 4DOU558 awright CA 4DOU558 1

I need to compare entry from three different users. The user names are in
columns L, O, R.
I need to compare M and N, to P and Q, to S and T, which ever one is
different, I need that User name inserted into column M. In my example, line
one, mboulette (P and Q) would be the one different and the user name would
need to be copied to column V (mboulette).
Please help me with a macro of formula, I have a spreadsheet of 1000 to 2000
rows each day and it takes me 3 hours.

Thanks for your help.

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Macro or formula to compare columns and give a result of the odd o

With the data you had, I came up with the following formula for V1:
=IF(N1=Q1,IF(N1=T1,O1,IF(Q1=T1,"None",R1)),IF(Q1=T 1,"None",O1))

It may need further tweaking depending on other examples.

Regards,
Fred

"Rhett C" wrote in message
...
User State Plate User State Plate User State Plate
jmolini OK 2MO980 mboulette OK 2MD980 jbradley OK 2MO980 1
jmolini TX 30VVF8 dfoose TX 60VVF8 awright TX 30VVF8 1
jmolini TX 4D0U558 dherrera CA 4DOU558 awright CA 4DOU558 1

I need to compare entry from three different users. The user names are in
columns L, O, R.
I need to compare M and N, to P and Q, to S and T, which ever one is
different, I need that User name inserted into column M. In my example,
line
one, mboulette (P and Q) would be the one different and the user name
would
need to be copied to column V (mboulette).
Please help me with a macro of formula, I have a spreadsheet of 1000 to
2000
rows each day and it takes me 3 hours.

Thanks for your help.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default Macro or formula to compare columns and give a result of the odd o

I'm sorry, correction, "I need that User name inserted into column M" it
should be column V. Thanks

"Rhett C" wrote:

User State Plate User State Plate User State Plate
jmolini OK 2MO980 mboulette OK 2MD980 jbradley OK 2MO980 1
jmolini TX 30VVF8 dfoose TX 60VVF8 awright TX 30VVF8 1
jmolini TX 4D0U558 dherrera CA 4DOU558 awright CA 4DOU558 1

I need to compare entry from three different users. The user names are in
columns L, O, R.
I need to compare M and N, to P and Q, to S and T, which ever one is
different, I need that User name inserted into column M. In my example, line
one, mboulette (P and Q) would be the one different and the user name would
need to be copied to column V (mboulette).
Please help me with a macro of formula, I have a spreadsheet of 1000 to 2000
rows each day and it takes me 3 hours.

Thanks for your help.

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
Compare formula result with text KimW Excel Discussion (Misc queries) 2 October 29th 09 03:20 PM
Match criteria in two columns and give a third colums result [email protected] Excel Discussion (Misc queries) 4 November 19th 08 04:37 AM
need result of formula to compare itself to another number andincrease if needed. rudyeb Excel Discussion (Misc queries) 1 October 17th 08 08:59 PM
compare two columns, then calculate a result dazp1970 Excel Discussion (Misc queries) 9 December 11th 05 01:35 PM
Macro to compare two columns of data Odawg Excel Discussion (Misc queries) 0 October 12th 05 03:13 AM


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