someone plz help , :)

mercmannick

Well-known Member
Joined
Jan 21, 2005
Messages
730
:oops: :oops:
sorry but i am tryin every way i know how.........

i have a worksheet,
that i would like a formula to look at contents in one cell (all text by the way),and if blank look at next cell to the right and if tht is blank format the entire row red, if there is data in the first cell or second cell to leave as is .


also i would like formula to b able to look at cell and if a zero in there then to highlight entire row green,

plz give me a hand , the formulas im tryin at moment are as follows:

=if(cell="",(cell=""),1,0)
=IF(I12=ISBLANK(J12=isblank),1,0)
thanks
 
zflex.xls
HIJK
1523/4TO05B
163AWAITINGDETAILPARTD92550013200/201
173AWAITINGDETAILPARTA57244685204
183HELDDETAILPARTD92550013200
193AWAITINGDETAILPARTA572446852050
2043/5TO05B0
2143/6TO05B0
2241
2343/6TO05B0
244.0
2551
2652/3TOO5BHELDPRESSURETESTVALVE
2753/6TO05B.
2852/6TO05BHELDPRESSURETESTVALVE
2964/4TO05B
306
31104/2TO05B
32132/6TO05BHELDF57454009201
3313AWAITINGDETAILPARTF57454009201
3413HELDDETAILPARTF57454009201
35144/2TO05B
Sheet2
 
Upvote 0

Excel Facts

Remove leading & trailing spaces
Save as CSV to remove all leading and trailing spaces. It is faster than using TRIM().
can eneone help me on this one,
basically i need to look at col H if it "0" to highlight all rows green

and another formula to look at col i if nothin in there then look at col j and if nothin in there to highlight red all rows

awaiting your expertise in helping me

:)
 
Upvote 0
ok ive sussed out the formula for evaluating both cells

=IF(O90="",IF(P90="",1,0),0)

how do i now format the entire rows in red with 1 in ?

:(
 
Upvote 0
GorD said:
For the formatting red if blank, select the entire row (row 1 in my example)
Format -> conditional format. Select formula is and enter the following formula and select pattern red

=AND(ISBLANK($A1),ISBLANK($B1))......

This earlier post should have explained it. The reason my first formula didn't work is the cells you are using are not truely blank as they contain a formula returning a null string.

You could ammend your formula to =and($o90="", $p90="") as the if statements are not necessary with conditional formating as it looks for a true/false result.
 
Upvote 0
tht will not work as you are not looking to c if whole row blank, only if row K if it =1 format all row red if =0 leave alone


thnx
 
Upvote 0
An example using =and($o90="", $p90="")

If both O90 and P90 are blank entire row is red, similar for o91 and P91 etc. Is that not what you need?
Book1
KLMNOPQRSTUV
90111111111
911
921
9311
941111
951
Sheet1


NOTICED you now have 2 threads running on this
 
Upvote 0
Select the entire Row - Row 90 Goto Format ->conditional formatting. Change the first box from Cell Value is to Formula is and in the second box type the formula

=AND($O90="", $P90="")

make sure to include the $ signs as above. Select the red pattern under format. Click okay and that should be it for row 90 and be copyable to other rows with the format painter if needed
 
Upvote 0

Forum statistics

Threads
1,216,217
Messages
6,129,567
Members
449,517
Latest member
Lsmich

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