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 Compare two cells with same name

Hi,

I would like to Compare two cells with the same name ie. I1A215 and put "LP"
against the lower number but not compare two different names ie. IA219 with
IA227 as shown below.

I1A215 7567.16 LP
I1A215 9324.94
I1A219 5372.08 LP
I1A219 7127.87 LP
I1A227 7130.59 LP
I1A227 8307.19
I1A233 1983.48 LP
I1A233 3404.38

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Compare two cells with same name

You can use this array* formula, adjusting ranges as needed:

=IF(B1=MIN(IF($A$1:$A$8=A1,$B$1:$B$8)),"LP","")

*Confirm formula using Ctrl+Shift+Enter, not just enter.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Hamps hump" wrote:

Hi,

I would like to Compare two cells with the same name ie. I1A215 and put "LP"
against the lower number but not compare two different names ie. IA219 with
IA227 as shown below.

I1A215 7567.16 LP
I1A215 9324.94
I1A219 5372.08 LP
I1A219 7127.87 LP
I1A227 7130.59 LP
I1A227 8307.19
I1A233 1983.48 LP
I1A233 3404.38

Thanks

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 cells in a row puiuluipui Excel Discussion (Misc queries) 4 September 19th 09 09:06 PM
CAn IF compare two cells? KevinS Excel Worksheet Functions 1 June 26th 09 08:16 PM
Compare 400 cells to one Bill Lyttle Excel Worksheet Functions 4 July 1st 08 02:16 AM
How do I compare cells and if FALSE compare to next cell in EXCEL Cindie Excel Worksheet Functions 0 March 24th 06 05:29 PM
Compare two cells from reference cells Mike K Excel Worksheet Functions 2 November 26th 05 02:07 PM


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