简体   繁体   中英

Excel Need advice with a nested Formula I think?

This is the formula I came up with:

=IF(H6<=0.35,35,IF(H6>=0.36,ROUND(B6*0.02,0)))

H6 is the percent of the balance I am trying to get it to do $35 or 2% of balance seems to work under 35 but when it goes over it don't work properly I need it to read $35 if the 2% is less :(( Any help would be greatly appreciated :)).

Not exactly sure what you're after, eg what's in B6?

As you're dealing in percentages are you sure you want to round to 0 digits not 2 or something like that?

ie if you change to:

=IF(H6<=0.35,35,IF(H6>=0.36,ROUND(B6*0.02,2)))

does that fix it?

Also, if H6 is 0.351 your formula is going to produce FALSE, is that by intention?

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