BrianKebic
New Member
- Joined
- Mar 15, 2019
- Messages
- 2
Have too many ifs in my formula. If I trying using IFS the formula doesn't work. Tried usings IFS, and several other combinations but to no avail. Maybe I'm trying to do too much for cell?
=IF(F8="","",AND(D8<10,M8<=M6+2),M6,AND(D8<10,M8>M6+2),M6+2,AND(D8>9<20,M8<=7),M6,AND(D8>9<20,M8>7),7,AND(D8>19<30,M8<8),M8,AND(D8>19<30,M8>8),8,AND(D8>29<40,M8<=9),M8,AND(D8>29<40,M8>9,9)
So basically in cell M10
if D8<10 & M8<=M6+2 are true then M6
if D8<10 & M8>M6+2 are true then M6+2
if D8>9<20 & M8<=7 are true then M6
if D8>9<20 & M8>7 are true then 7
if D8>19<30 & M8<=8 are true then M6
if D8>19<30 & M8>8 are true then 8
if D8>29<40 & M8<=9 are true then M6
if D8>29<40 & M8>9 are true then 9
Any thoughts?
=IF(F8="","",AND(D8<10,M8<=M6+2),M6,AND(D8<10,M8>M6+2),M6+2,AND(D8>9<20,M8<=7),M6,AND(D8>9<20,M8>7),7,AND(D8>19<30,M8<8),M8,AND(D8>19<30,M8>8),8,AND(D8>29<40,M8<=9),M8,AND(D8>29<40,M8>9,9)
So basically in cell M10
if D8<10 & M8<=M6+2 are true then M6
if D8<10 & M8>M6+2 are true then M6+2
if D8>9<20 & M8<=7 are true then M6
if D8>9<20 & M8>7 are true then 7
if D8>19<30 & M8<=8 are true then M6
if D8>19<30 & M8>8 are true then 8
if D8>29<40 & M8<=9 are true then M6
if D8>29<40 & M8>9 are true then 9
Any thoughts?