A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

combining conditional formatting and functions



 
 
Thread Tools Display Modes
  #1  
Old December 9th, 2005, 08:37 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default combining conditional formatting and functions

Hi all,

I want an empty given cell, say AA5, to become the color red when a
range of 8 cells in the same row starting 13 columns to the left of AA5
(i.e. the range is N5:U5) is blank. (To explain, if a payment was not
made over the 8 recent months, I want to get the automatic red
"alarm".)

This probably involves:
- conditional formatting of AA5 (to get the red color)
- the IF function (IF the range is blank)
- the OFFSET function (OFFSET(AA5, 0,-13,1,8)

Each month I insert a new column for the new month, making the given
cell AA5 become AB5, but the range (8 cells in the same row starting 13
columns to the left) stays the same. That is why I think the OFFSET
function should be used.

I cannot manage to put it all together and make it work. Any help
appreciated.

Thanks.

Zvi

  #2  
Old December 9th, 2005, 09:46 AM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default combining conditional formatting and functions

Use conditional formatting with that formula

=COUNTA(OFFSET($AA$5,0,-13,1,8))=0

When in C F, change Condition 1 to Formula Is

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"zvi" wrote in message
oups.com...
Hi all,

I want an empty given cell, say AA5, to become the color red when a
range of 8 cells in the same row starting 13 columns to the left of AA5
(i.e. the range is N5:U5) is blank. (To explain, if a payment was not
made over the 8 recent months, I want to get the automatic red
"alarm".)

This probably involves:
- conditional formatting of AA5 (to get the red color)
- the IF function (IF the range is blank)
- the OFFSET function (OFFSET(AA5, 0,-13,1,8)

Each month I insert a new column for the new month, making the given
cell AA5 become AB5, but the range (8 cells in the same row starting 13
columns to the left) stays the same. That is why I think the OFFSET
function should be used.

I cannot manage to put it all together and make it work. Any help
appreciated.

Thanks.

Zvi



  #3  
Old December 9th, 2005, 12:37 PM posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: n/a
Default combining conditional formatting and functions

Bob,

Your solution looks good.

Thanks,

Zvi

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
cannot use ISEVEN or ISODD functions in Conditional Formatting Scott Paine Worksheet Functions 6 December 6th, 2005 09:44 PM
Nested functions in conditional formatting formulae Joseph General Discussion 3 October 20th, 2005 11:52 PM
Conditional Formatting based on Text within Text George Lynch General Discussion 3 May 5th, 2005 07:58 PM
Banding with Conditional Formatting with Multiple Conditions Geremia Doan Worksheet Functions 7 February 2nd, 2005 03:14 PM
Multiple Conditional Formatting or IF Functions KAP22 Worksheet Functions 1 February 3rd, 2004 04:12 AM


All times are GMT +1. The time now is 05:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.