LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 12
Default fitting within a range

I'm trying to compare 2 sheets and highlight any discrapancies from the first
sheet.
Currently sheet 1 (IM) has a column of procedures, a column describing each
procedure and a column showing how many images are acceptable per
procedure(column L).(ie 1<4).

Sheet 2 is copy/pasted from another application to show Patient ID#, name
Procedure code body part description actual image number taken for this
study.
I need to highlight any studies who's image count falls outside that of the
range in the IM sheet coumn L.

This is the formula I'm using to compare the columns and use conditional
formatting to highlight discrepancies in image number, however it only uses
the last number when I use a range. for example 4 when I use 1<4.

=IF(COUNTA(D2:G2),COUNT(MATCH(D2&"*"&G2,IM!A$2:A$1 151&"*"&IM!L$2:L$1151,0)),"")

How do I have the cell highlight if the actual number of images fall outside
the range in column L on the worksheet called IM?
Go easy on me I copied and tweaked this formula from another post.
Thank you in advance for your help.

Rory.
 
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
Curve fitting Z=f( X & Y) [email protected] Charts and Charting in Excel 2 October 29th 07 12:37 PM
Curve Fitting Tayseer Charts and Charting in Excel 1 October 7th 07 12:12 PM
curve fitting [email protected] Charts and Charting in Excel 1 June 3rd 06 07:06 PM
best curve fitting ladee_bird Charts and Charting in Excel 1 September 20th 05 07:25 AM


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