=Large function returns #NUM!

B

Bryan Gnidrah

I have the following function to determine the largest value in a range of
data =LARGE(A1:A10,1). It works fine when the data is input manually
1,2,3,2,1,1,1, etc, however returns #NUM! on the range of data generated by
function. The function in each of the cells i want to find the highest value
of determines the numeric value of text in another cell. That function is
=IF(K4="Extremely
High","3",IF(K4="High","3",IF(K4="Medium","2",IF(K4="Low","1",IF(K4="","1")))))

Can anyone help?
 
G

Glenn

Bryan said:
I have the following function to determine the largest value in a range of
data =LARGE(A1:A10,1). It works fine when the data is input manually
1,2,3,2,1,1,1, etc, however returns #NUM! on the range of data generated by
function. The function in each of the cells i want to find the highest value
of determines the numeric value of text in another cell. That function is
=IF(K4="Extremely
High","3",IF(K4="High","3",IF(K4="Medium","2",IF(K4="Low","1",IF(K4="","1")))))

Can anyone help?

Remove all of the quotes (") around the numbers.


=IF(K4="Extremely High",3,IF(K4="High",3,
IF(K4="Medium",2,IF(K4="Low",1,IF(K4="",1)))))
 
P

Pete_UK

Those numbers that you are returning from your function are actually
text values, because you have put quotes around them - drop the
quotes, like this:

=IF(K4="Extremely High",3,IF(K4="High",3,IF(K4="Medium",2,IF(K4="Low",
1,IF(K4="",1)­))))

Hope this helps.

Pete
 
B

Bryan Gnidrah

Thanks Pete.

Pete_UK said:
Those numbers that you are returning from your function are actually
text values, because you have put quotes around them - drop the
quotes, like this:

=IF(K4="Extremely High",3,IF(K4="High",3,IF(K4="Medium",2,IF(K4="Low",
1,IF(K4="",1)­))))

Hope this helps.

Pete
 

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