If Statement in need of HELP

M

MicheleY

I am trying to write a formula for this: If cell b1 can be any $ amount and
cell c1 can be "quarterly", "monthly", semi-annual, yearly, or bi-monthly. I
want my result to be if b1 is =<100 and c1="quarterly", b1 otherwise b1/4, or
if b1=<100 and c1="monthly", b1 otherwise b1/12 and so on.
 
B

Bob Greenblatt

I am trying to write a formula for this: If cell b1 can be any $ amount and
cell c1 can be "quarterly", "monthly", semi-annual, yearly, or bi-monthly. I
want my result to be if b1 is =<100 and c1="quarterly", b1 otherwise b1/4, or
if b1=<100 and c1="monthly", b1 otherwise b1/12 and so on.

=if(b1<=100,if(c1="quarterly",b1/4,if(c1="monthly",b1/12,if(c1="bi-monthly",
b1/2,if(c1=semi-annual",b1/6,b1)))))
 
J

JE McGimpsey

MicheleY said:
I am trying to write a formula for this: If cell b1 can be any $ amount and
cell c1 can be "quarterly", "monthly", semi-annual, yearly, or bi-monthly. I
want my result to be if b1 is =<100 and c1="quarterly", b1 otherwise b1/4, or
if b1=<100 and c1="monthly", b1 otherwise b1/12 and so on.

One way:

=B1/IF(B1<=100, 1, LOOKUP(C1,
{"bi-monthly","monthly","quarterly","yearly"}, {6,12,4,1}))
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top