简体   繁体   中英

Trouble With Conditional Formatting Formula (Basic Code I think?) in Excel

=IF(AND($C18="Actual B&P"),($D18/$E18)>=lower0.11,($D18/$E18)<=upper0.25)

This is my formula I currently have.

I want to highlight cells titled Actual B&P in column C that have a VALUE that falls between 11% and 25% .

The equation for the VALUE is Total BP $D18 divided by Approved Budget BP $E18

There has to be an easy way to do this, because what I currently have is not working.

I need this to be a CONDITIONAL FORMATTING value in excel and I am pretty sure it doesn't allow for arrays?

any help would be great!!

You do not need the IF() wrapper.

You have the ) wrong:

=AND($C18="Actual B&P",$D18/$E18>=0.11,$D18/$E18<=0.25)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM