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: 11
Default Test cells for values if date matches

I have the following formula:
=IF($AT$122:$BX$122=K$4,(IF(OR($AT$147:$BX$166="R" ),"R",IF(OR($AT$147:$BX$166="Y"),"Y","G"))),"G")

AT122 to BX122 contains a date (not all dates for a month are present)
K4 contains the date I need to report on
AT147 to BX166 contain the processing status by site for each date.

I am trying to get the cell I am reporting in to display an "R" if any of
the cells in the column that corresponds to the date that matches K4 contains
an "R", if there is no "R", then I want to display a "Y" if any cell has a
""Y", nd if there are no "R" or "Y" values, display a "G".

Right now, if I find an "R" or "Y" anywhere in the AT122 to BX122 array, it
shows in the reporting cell, even though the date does not match.

I would appreciate any help I can get with this.

THank you

 
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
If a cell matches a list of values...... Simon Excel Discussion (Misc queries) 3 August 14th 09 09:01 PM
Two Matches, then Sumproduct of Values ryguy7272 Excel Worksheet Functions 16 February 19th 09 03:08 PM
Count cells w/values in column if the data in column a matches cri mdcgpw Excel Worksheet Functions 4 January 12th 09 11:55 PM
Add up Values if Find Matches x 2 Sean Excel Worksheet Functions 9 November 16th 07 12:21 PM
how to get values from different sheet when info. matches? juanpauk Excel Worksheet Functions 3 March 2nd 06 07:02 PM


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