#1   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


Hiya guys and gals

I have a tricky problems here, what i have is the following code:

(OR(AND(F11(Current-26),F11<=Current),F11(Current+26))

What i need to do is adapt it so that aswell as performing this
function it can also be used for conditional formatting.

If the statement is true it will shade a certain colour

I am really stumped here and feel that i am very close but just missing
something really simple.

Any help greatly apprieciated

Cheers

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bernard Liengme
 
Posts: n/a
Default Formula problem

It looks like AND(F11(Current-26),F11<=Current) could be simplified to
(Current-F1<26)
So the new formula is =OR(Current-F11<26, F11Current+26) (removing
unneeded parentheses)

To use in condition formatting.
Select cell; use menu commands Format|Condition Formatting; in dialog box
"Formula is" and type in formula
(DO REMEMBER THE = sign)
Now click format button and set Pattern to red

come back if I have been too brief

--
Bernard V Liengme
www.stfx.ca/people/bliengme
remove caps from email

"superkopite"
wrote in message
...

Hiya guys and gals

I have a tricky problems here, what i have is the following code:

(OR(AND(F11(Current-26),F11<=Current),F11(Current+26))

What i need to do is adapt it so that aswell as performing this
function it can also be used for conditional formatting.

If the statement is true it will shade a certain colour

I am really stumped here and feel that i am very close but just missing
something really simple.

Any help greatly apprieciated

Cheers

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile:
http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456



  #3   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


As always that works a treat!!

Thanks alot

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

  #4   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


After more testing, actually anything that is + current is still
highlighted.

i'm not too sure what is going wrong.

=OR(Current-F30<26, F30Current+26)

Anything less than current - 26 is not highlighted, which is correct

but everything above current is highlighted.

As small error that i am sure is easily correct, i am just ashamed to
say that my currently abilities make the answer illegible to me!

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

  #5   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


After more testing, actually anything that is + current is still
highlighted.

i'm not too sure what is going wrong.

=OR(Current-F30<26, F30Current+26)

Anything less than current - 26 is not highlighted, which is correct

but everything above current is highlighted.

As small error that i am sure is easily correct, i am just ashamed to
say that my currently abilities make the answer illegible to me!

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456



  #6   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


After more testing, actually anything that is + current is still
highlighted.

i'm not too sure what is going wrong.

=OR(Current-F30<26, F30Current+26)

Anything less than current - 26 is not highlighted, which is correct

but everything above current is highlighted.

As small error that i am sure is easily correct, i am just ashamed to
say that my currently abilities make the answer illegible to me!

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

  #7   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


sorry for the multiple post my browser was playing about


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

  #8   Report Post  
Posted to microsoft.public.excel.misc
superkopite
 
Posts: n/a
Default Formula problem


it's okay guy, i managed to work it out (i must be getting good at
this!)

i used a combo of all of the above

=OR(AND(F29(Current-26),F29<=Current), F29Current+26)

Thanks again guys

James


--
superkopite
------------------------------------------------------------------------
superkopite's Profile: http://www.excelforum.com/member.php...o&userid=29496
View this thread: http://www.excelforum.com/showthread...hreadid=505456

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
formula percentage problem thinkpic New Users to Excel 4 November 2nd 05 08:04 PM
formula problem Bart New Users to Excel 4 October 21st 05 12:56 PM
Problem with nested logical formula. Bill R Excel Worksheet Functions 6 September 26th 05 04:36 AM
problem with Array Formula OrdOff Excel Worksheet Functions 2 June 30th 05 04:57 PM
Baffling formula problem Ken Schmidt Excel Discussion (Misc queries) 2 December 21st 04 07:52 AM


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