Using multiple AND conditions in one IFS fromula

I’m trying to make sheets calculate my delivery times based on which locations the items are shipped between.

Tried combining the Ifs and AND formulas, but I keep getting errors.

(Let’s say the delivery time between London and Barcelona is 5 days. Delivery time between Stockholm and Madrid is 6 days. A3=today’s date)

My formula looks like this right now:

And so on. I have at least 11 different delivery times depending on destinations. How can I make this formula run?

I think you have a few problems,

firstly are you passing two conditions ? Must A1 be London and A2 be Barcelona for the formula to equate to true?

secondly, you need to wrap any strings in " " so Google sheets knows it's a string and not an integer.

This worked for me :

=Ifs(And(A2="London",A3="Barcelona"), A4+1)

updated formula to have 7 possibilities, basically you put your bracket in the incorrect place, read the docs next time, I know formulas can be scary at first but they follow a set logic =)

=Ifs(And(A2="London",A3="Barcelona"), A4+1,
You'd have more flexibility — and a much shorter formula — if you set up a separate sheet where you kept your destinations and hours, then had the first sheet reference that in a VLOOKUP, like this: 