SOLVED

formula

Copper Contributor

I'm trying to come up with a formula and wondering if i can get some help?
If a1=1 then d1=15, a1=2 then d1=20, a1=3 them d1=30,a1=4 then d1=40

3 Replies
best response confirmed by cplrich (Copper Contributor)
Solution

@cplrich 

As variant in D1

=IFERROR(CHOOSE(A1,15,20,30,40), "wrong index")
that worked thank you!

@cplrich , my pleasure

1 best response

Accepted Solutions
best response confirmed by cplrich (Copper Contributor)
Solution

@cplrich 

As variant in D1

=IFERROR(CHOOSE(A1,15,20,30,40), "wrong index")

View solution in original post