Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
RocketFuMaster
 
Posts: n/a
Default Multiple FIND functions in Conditional Formatting

The following formulas work when used in Conditional Formatting:

=AND(FIND(B1,"h"),LEN(G1)=2)
=AND(FIND(B1,"w"),LEN(G1)=3)
=OR(AND(EXACT(B1,"h"),LEN(G1)=3),AND(EXACT(B1,"w") ,LEN(G1)=2))

but this one does not

=OR(AND(FIND(B1,"h"),LEN(G1)=3),AND(FIND(B1,"w"),L EN(G1)=2))

The only difference is the use of FIND instead of EXACT.

RFM
  #2   Report Post  
IlanR
 
Posts: n/a
Default

Try reversing the parameters in the Find function, i.e.
=AND(FIND("h",B1),LEN(G1)=2) and make sure B1 is Text.
Ilan

  #3   Report Post  
RocketFuMaster
 
Posts: n/a
Default

Didn't help. I changes the format of the cells to Text from General and that
didn't help either.

"IlanR" wrote:

Try reversing the parameters in the Find function, i.e.
=AND(FIND("h",B1),LEN(G1)=2) and make sure B1 is Text.
Ilan


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
Conditional Formatting in Excel Help Please..... Willie T Excel Discussion (Misc queries) 4 February 9th 05 02:28 PM
Copy conditional formatting across multiple rows? Gil Excel Discussion (Misc queries) 1 January 11th 05 11:27 AM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM
How do I use conditional formatting for multiple rows? Jim Johnson Excel Worksheet Functions 1 October 30th 04 03:36 AM


All times are GMT +1. The time now is 07:11 AM.

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"