Forum Discussion
conditional formatting doesn't work with complex "IF" statement
But wouldn't be much easier to create a rule of type 'Format only cells that contain' with Cell Value, greater than, and =1 ?
Yes, definitely much easier. captainFlow mentioned this was for demonstration purposes. Maybe he can share his goal?
- captainFlowOct 20, 2022Copper Contributor
Hi Patrick
Yes, you are right. Here is full formula I need.
=IF(INDIRECT(ADRESS(ROW();COLUMN())) > 0; IF((ROW()=1); INDIRECT(ADRESS(ROW();COLUMN())) >= ($D2*1,1); INDIRECT(ADRESS(ROW();COLUMN())) >= INDIRECT(ADRESS(ROW()-1;COLUMN()))*1,0); 0)
I created the tickets after found out that nested IF statement doesn't work for me.
UPD. To be more correct, using INDIRECT function inside of IF doesn't work for me.
UPD.2. The thing is I've written this formula for google sheets for Conditional Formatting and it works fine. I can't find out why it doesn't work for excel in microsoft365