Forum Discussion
ROSAMEJIA
May 06, 2025Copper Contributor
Excel Formula, combining two IF statement
Hello, I need to combine 2 if statements: =IF (AND (C2 >499999, E2=3010), 3080, 3050, =IF (AND (C2 >499999, E2=3020), 3090, 3060 I want to create a Formula to check if value in cell C2 is...
SergeiBaklan
May 06, 2025Diamond Contributor
As variant
=IF( E2=3010, IF( C2 >499999, 3080, 3050 ),
IF( E2=3020, IF( C2 >499999, 3090, 3060 ),
"wrong value in E2" ) )
- m_tarlerMay 06, 2025Bronze Contributor
If Sergei's interpretation is correct and E2 will always be 3010 or 3020 then alternatively:
=E2+40 + (C2>49999)*30