help with excel formula

M

Mangaf

Worksheet for assigning training courses based on Need 1 (-3,-4,-5)
and Need 2 (-1,-2)
Need 1 formula : =IF(F10,=-3,T(A70:A70),IF(F10>=-2,T("")))
Need 2 formula : =IF(F10,=-2,T(A71:A71),IF(F10<=-2,T("")))
Desired result:
If the value in F10 is -3 or-4 or -5 then enter text from A70, if not, then
blank cell
If the value in F10 is -2 or -1 then enter text from A71, if not, then blank
cell
If the value in F10 is 0 or 1 or 2 then no text in either cell or "N/A"

Any suggestions ???
 
B

Bob Phillips

Is this meant to be all one test in one cell, or many cells? I ask as the
first test says blank if not -3, -4 or -5, but the second tests other
values.
 
M

mzehr

Hi,
Tr
=IF(OR(F10={-3,-4,-5}),A70,(IF(OR(F10={-2,-1}),A71,IF(OR(F10={0,1,2}),"","N/A"))))
 
M

mangaf

2 cells .. . Another post provided a formula that solved my problem
=IF(OR(F10={-3,-4,-5}),A70,(IF(OR(F10={-2,-1}),A71,IF(OR(F10={0,1,2}),"","N/A"))))

Thanks for your help
 
B

Bob Phillips

that's okay, but the solution does not match the stated requirement. I
understand the solution to be what you want, but that is why I asked as the
requirement seemed mis-stated.
 

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