#1   Report Post  
Posted to microsoft.public.excel.misc
bodhisatvaofboogie
 
Posts: n/a
Default If Statement Help

Okay, here is what I am trying to do, could someone tell me exactly and
specifically how to write it up and plug it into my macro? THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red entire ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold entire Row

  #2   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default If Statement Help

Use conditional formatting with a formula of

=OR(AND(K1=13,K1<=98),K1100)

and form at as red

second as

=OR(K1<13,K1=99)

and format as bold

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie" wrote in
message ...
Okay, here is what I am trying to do, could someone tell me exactly and
specifically how to write it up and plug it into my macro? THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red entire

ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold entire

Row



  #3   Report Post  
Posted to microsoft.public.excel.misc
bodhisatvaofboogie
 
Posts: n/a
Default If Statement Help

Well that did what it was intending to do, but not what I meant I think.
What I'm trying to do is this:

IF the value in that column K is equal to 99 AND the value in column V is
equal to 0 then bold the entire ROW

IF the value in coulmn K is 13 - 98 OR greater than 100 then RED the entire
ROW

Unless I'm doing something wrong, the conditional formatting just does
individual cells throughout the document, at least when I typed it in that
way. I want the whole ROW to be red or bold based on the values of those
cells in the COLUMNS.

Thanks, you got me closer then I was previously :) I'll play around and
see if I can come up with it. Any other assistance is MUCH appreciated.
THANKS!!!

"Bob Phillips" wrote:

Use conditional formatting with a formula of

=OR(AND(K1=13,K1<=98),K1100)

and form at as red

second as

=OR(K1<13,K1=99)

and format as bold

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie" wrote in
message ...
Okay, here is what I am trying to do, could someone tell me exactly and
specifically how to write it up and plug it into my macro? THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red entire

ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold entire

Row




  #4   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default If Statement Help

First, you need to select the whole row.

Then you should use absolute column references (my bad sorry).

So in all I think it is

=OR(AND($K1=13,$K1<=98),$K1100)

and

=AND($K1=99,$V22=0))


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie" wrote in
message ...
Well that did what it was intending to do, but not what I meant I think.
What I'm trying to do is this:

IF the value in that column K is equal to 99 AND the value in column V is
equal to 0 then bold the entire ROW

IF the value in coulmn K is 13 - 98 OR greater than 100 then RED the

entire
ROW

Unless I'm doing something wrong, the conditional formatting just does
individual cells throughout the document, at least when I typed it in that
way. I want the whole ROW to be red or bold based on the values of those
cells in the COLUMNS.

Thanks, you got me closer then I was previously :) I'll play around and
see if I can come up with it. Any other assistance is MUCH appreciated.
THANKS!!!

"Bob Phillips" wrote:

Use conditional formatting with a formula of

=OR(AND(K1=13,K1<=98),K1100)

and form at as red

second as

=OR(K1<13,K1=99)

and format as bold

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie"

wrote in
message ...
Okay, here is what I am trying to do, could someone tell me exactly

and
specifically how to write it up and plug it into my macro? THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red

entire
ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold

entire
Row






  #5   Report Post  
Posted to microsoft.public.excel.misc
bodhisatvaofboogie
 
Posts: n/a
Default If Statement Help

Something is off. Not exactly sure what, but that is even closer. :P

Not sure why, but this is what it highlighted in these selected rows testing
using these formulas.

ROW K V HIGHLIGHT

2 3 66 Red
3 99 0 Nothing
4 99 0 Bold
5 0 3 Bold

Can't really explain why it did that. So something is just still fuzzy


"Bob Phillips" wrote:

First, you need to select the whole row.

Then you should use absolute column references (my bad sorry).

So in all I think it is

=OR(AND($K1=13,$K1<=98),$K1100)

and

=AND($K1=99,$V22=0))


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie" wrote in
message ...
Well that did what it was intending to do, but not what I meant I think.
What I'm trying to do is this:

IF the value in that column K is equal to 99 AND the value in column V is
equal to 0 then bold the entire ROW

IF the value in coulmn K is 13 - 98 OR greater than 100 then RED the

entire
ROW

Unless I'm doing something wrong, the conditional formatting just does
individual cells throughout the document, at least when I typed it in that
way. I want the whole ROW to be red or bold based on the values of those
cells in the COLUMNS.

Thanks, you got me closer then I was previously :) I'll play around and
see if I can come up with it. Any other assistance is MUCH appreciated.
THANKS!!!

"Bob Phillips" wrote:

Use conditional formatting with a formula of

=OR(AND(K1=13,K1<=98),K1100)

and form at as red

second as

=OR(K1<13,K1=99)

and format as bold

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie"

wrote in
message ...
Okay, here is what I am trying to do, could someone tell me exactly

and
specifically how to write it up and plug it into my macro? THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red

entire
ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold

entire
Row









  #6   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default If Statement Help

I think David got it, I got my columns and rows tangled

=AND($K1=99,$V1=0))


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie" wrote in
message ...
Something is off. Not exactly sure what, but that is even closer. :P

Not sure why, but this is what it highlighted in these selected rows

testing
using these formulas.

ROW K V HIGHLIGHT

2 3 66 Red
3 99 0 Nothing
4 99 0 Bold
5 0 3 Bold

Can't really explain why it did that. So something is just still fuzzy


"Bob Phillips" wrote:

First, you need to select the whole row.

Then you should use absolute column references (my bad sorry).

So in all I think it is

=OR(AND($K1=13,$K1<=98),$K1100)

and

=AND($K1=99,$V22=0))


--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie"

wrote in
message ...
Well that did what it was intending to do, but not what I meant I

think.
What I'm trying to do is this:

IF the value in that column K is equal to 99 AND the value in column V

is
equal to 0 then bold the entire ROW

IF the value in coulmn K is 13 - 98 OR greater than 100 then RED the

entire
ROW

Unless I'm doing something wrong, the conditional formatting just does
individual cells throughout the document, at least when I typed it in

that
way. I want the whole ROW to be red or bold based on the values of

those
cells in the COLUMNS.

Thanks, you got me closer then I was previously :) I'll play around

and
see if I can come up with it. Any other assistance is MUCH

appreciated.
THANKS!!!

"Bob Phillips" wrote:

Use conditional formatting with a formula of

=OR(AND(K1=13,K1<=98),K1100)

and form at as red

second as

=OR(K1<13,K1=99)

and format as bold

--
HTH

Bob Phillips

(remove xxx from email address if mailing direct)

"bodhisatvaofboogie"

wrote in
message ...
Okay, here is what I am trying to do, could someone tell me

exactly
and
specifically how to write it up and plug it into my macro?

THANKS!!!

If Column 11 is equal to 13-98 then red entire ROW, 100+ then red

entire
ROW

If Column 11 is equal to 99 AND column 22 is equal to 0 Then Bold

entire
Row









  #7   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default If Statement Help

"Bob Phillips" wrote in message
...
First, you need to select the whole row.

Then you should use absolute column references (my bad sorry).

So in all I think it is

=OR(AND($K1=13,$K1<=98),$K1100)

and

=AND($K1=99,$V22=0))


Did you mean $V22, or $V1?
--
David Biddulph


  #8   Report Post  
Posted to microsoft.public.excel.misc
bodhisatvaofboogie
 
Posts: n/a
Default If Statement Help

That is a good catch, I changed that, but the highlighting and bolding is
still off.

"David Biddulph" wrote:

"Bob Phillips" wrote in message
...
First, you need to select the whole row.

Then you should use absolute column references (my bad sorry).

So in all I think it is

=OR(AND($K1=13,$K1<=98),$K1100)

and

=AND($K1=99,$V22=0))


Did you mean $V22, or $V1?
--
David Biddulph



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
SET statement tutorial Daminc Excel Discussion (Misc queries) 13 January 17th 06 04:47 PM
IF Statement problem trixma New Users to Excel 3 September 27th 05 06:36 AM
If statement Matt Montagliano Excel Discussion (Misc queries) 1 September 8th 05 08:47 PM
Do I need a sumif or sum of a vlookup formula? PeterB Excel Worksheet Functions 0 June 1st 05 12:23 PM
What statement to use? Paul Excel Worksheet Functions 6 February 13th 05 05:23 PM


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