One Conditional Format to Check Different Ranges Depending on the Position of the Root Cell

Michael Kensy

New Member
Joined
Sep 27, 2017
Messages
25
first one thing for the admins. I always have the problem that I am obviously logged out while I write my post. That means I always lose everything and must be smarter next time to first copy my post before I try to post, so that I can paste after I am forced to login again.

Anyway

I am trying to implement ONE CF which investigates Area1 if it operates in column L or Area2 if it operates in column M

Semester 01-2017

LMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAOAPAQARASATAUAVAWAXAYAZBABBBCBDBEBFBGBHBIBJBKBLBMBNBOBPBQBRBSBTBUBVBWBXBYBZCACBCCCDCECFCGCHCICJCKCLCMCNCOCPCQCRCSCTCUCVCWCXCYCZ
4001020304050607080910111213141516171819201-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??1-23-45-67-8??
411
422 Mr. Excel
43 2 Mr. Excel
44 1

<colgroup><col style="font-weight:bold; width:30px; "><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:29px;"><col style="width:59px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:41px;"><col style="width:55px;"><col style="width:41px;"></colgroup><tbody>
</tbody>


Excel tables to the web >> Excel Jeanie HTML 4


More concrete, I want that CF to deliver TRUE if L41>1 and AG41:BO41 is not empty. That one I can do and it also works for below rows. The thing I dont know is how can the same CF applied to M41 check if M41>1 and $BQ41:CZ41 is not empty? Please notice also that column BP can not be checked if blank as it always contains a value.
--
Regards Michael
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
These should do it.
Idientify what column you're looking at and adjust the range as necessary

OR(AND(COLUMN()=12,COUNTA(AG41:BO41)=0),AND(COLUMN()=13,COUNTA(BQ41:CZ41)=0))
 
Upvote 0
Hola Special-K99

I guess that skips the first part I want to be checked. The first part is if the value in that column is >1.

I created a new example which is hopefully more clear:

Excel Workbook
ABCDEFGHIJKLMNOPQR
1Weeks StatusWeek 1Week 2Week 3
2123MondayTuesdayWednesdayThursdayFridayMondayTuesdayWednesdayThursdayFridayMondayTuesdayWednesdayThursdayFriday
31Something in here does not matter as A3
41Something in here does not matter as B4
52No alarm in column A needed as column A>1
63
74No alarm in column C needed as column C=4
Sheet1


So, I want B6 to turn yellow because the range I6:M6 is blank.
--
Regards Michael
 
Upvote 0
I dont know where we are now as you've changed the column references from your initial example.
What's the current formula ?
 
Upvote 0

Forum statistics

Threads
1,214,627
Messages
6,120,610
Members
448,973
Latest member
ChristineC

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top