Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
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:BX122 - Contains a work of date.
K4 - Contains the date to be reported on.
AT147:BX166 - Contains a status for a processing site ("R", "Y", or "G")

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

At this point, the reporting cell shows an "R" or a "Y" if any cell in the
AT147:BX166 range contains an "R" or a "Y", regardless of the date.

Can someone help?

Thank you
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
Test cells for values if date matches Raul[_2_] Excel Discussion (Misc queries) 1 January 14th 10 01:45 PM
Test cells for values if date matches Raul[_2_] Excel Discussion (Misc queries) 1 January 11th 10 07:58 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


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