I need help with a formula in Excel 2013

Hi Experts,
I have entered the following formula in Column C of my Excel spreadsheet:
=(C7/((40*48*B7)/1728))

In Column D, if want to put the following value if the value returned from Column C falls under a specific range (see below):

If value in Column C is less than 1 then Column D should equal 400
If value in Column C is 1 but less than 2 then Column D should equal 300
If value in Column C is 2 but less than 4 then Column D should equal 250
If value in Column C is 4 but less than 6 then Column D should equal 150  

What formula do I need to put in Column D to accomplish this?

Thanks in advance,
mrotor
mainrotorAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rob HensonFinance AnalystCommented:
=IF(C1<1,400,IF(C1<2,300,IF(C1<4,250,IF(C1<6,150,"More than 6"))))
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Saurabh Singh TeotiaCommented:
Use this formula...

=LOOKUP(C2,{0,1,2,4},{400,300,250,150})

Open in new window


Saurabh...
0
Rob HensonFinance AnalystCommented:
Alternatively, setup a lookup table, 2 columns by 5 rows:

0   400
1   300
2   250
4   150
6    ???

If the results in C could go below 0 then set the first entry to a ridiculous amount below 0 eg -99999

If the results will go over 6, amend the result against 6 for what you need the result to be.

Then a formula in D:

=VLOOKUP(C1,Table,2)       where Table refers to the cells of the list above.

Thanks
Rob H
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

mainrotorAuthor Commented:
Saurabh Singh Teotia,
What would happen if I get a value like 1.35, or 3.84, will the formula still work?

mrotor
0
Saurabh Singh TeotiaCommented:
Yes, even if you get 1.35 it will give you answer as-->300 and for 3.84 it will give you answer as 250.. This will work till whole number 4 all your values will give you the answer what you are looking for...
0
Rob HensonFinance AnalystCommented:
Same for my suggestions
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Excel

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.