Forum Discussion
Fostec
Aug 02, 2023Copper Contributor
Multiple IF condition
Hi,
I'm stuck at a point on a sheet I have, it has multiple conditional drop downs that all end up selecting a price to add up, it works for a single "IF" =IF(H6="NonFuelCard",H31*G32,"0") , however I want to now add another condition that says but IF H6=Electric now add it up G32 is where the price is and this part is selecting properly,
Any help appreciated 🙂
You need to add the next condition in the last parameter for else, i.e. nested IF as below.
=IF(H6="NonFuelCard",H31*G32, if(H6="Electric",H31*I32,0))
2 Replies
- nimeshtIron Contributor
You need to add the next condition in the last parameter for else, i.e. nested IF as below.
=IF(H6="NonFuelCard",H31*G32, if(H6="Electric",H31*I32,0))