Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Formula not working

Please help€¦ I have 3 cells with formulas in them
Cell L4
=IF(I4="< 5","4",IF(I4="5 - 199","3",IF(I4="200 - 500","2",IF(I4="
500","1"," "))))
Cell M4
=IF(J4="< 500","4",IF(J4="500 - 19,999","3",IF(J4="20k - 50k","2",IF(J4="
50k","1"," "))))
Cell N4
=IF(K4="< 5","4",IF(K4="5 - 199","3",IF(K4="200 - 500","2",IF(K4="
500","1"," "))))

I need to be able to pull the smallest number that these calls fill in. I
tried to use the Min formula but I think Excel only sees the 4, 3, 2&1 in my
formula as text and not numbers. I tried formatting but that did not work
ether. Can anyone give me a suggestion on haw to fix this????

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Formula not working

Remove the quotes from your numbers. Also, do you really want the final
false result to be a space? If you just want blank, then remove the space
from the double-quote at the end of each formula.

=IF(I4="< 5",4,IF(I4="5 - 199",3,IF(I4="200 - 500",2,IF(I4=" 500",1," "))))
Cell M4
=IF(J4="< 500",4,IF(J4="500 - 19,999",3,IF(J4="20k - 50k",2,IF(J4="50k",1,"
"))))
Cell N4
=IF(K4="< 5",4,IF(K4="5 - 199",3,IF(K4="200 - 500",2,IF(K4="500",1," "))))

HTH,
Paul

--

"Carolina Girl" wrote in message
...
Please help. I have 3 cells with formulas in them
Cell L4
=IF(I4="< 5","4",IF(I4="5 - 199","3",IF(I4="200 - 500","2",IF(I4="
500","1"," "))))
Cell M4
=IF(J4="< 500","4",IF(J4="500 - 19,999","3",IF(J4="20k - 50k","2",IF(J4="
50k","1"," "))))
Cell N4
=IF(K4="< 5","4",IF(K4="5 - 199","3",IF(K4="200 - 500","2",IF(K4="
500","1"," "))))

I need to be able to pull the smallest number that these calls fill in. I
tried to use the Min formula but I think Excel only sees the 4, 3, 2&1 in
my
formula as text and not numbers. I tried formatting but that did not work
ether. Can anyone give me a suggestion on haw to fix this????



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default Formula not working

Instead of returning "4", "3", "2", "1" or " " in your formulae, make
them just return the numbers 4, 3, 2, 1, or 0, and then your MIN
formula will work. Alternatively, you could do it like this:

=MIN(L4*1,M4*1,N4*1)

the *1 will convert the text values to numbers. However, you will get
#VALUE if your formula returns a space or formula blank.

Hope this helps.

Pete

On May 16, 4:03*pm, Carolina Girl
wrote:
Please help… I have 3 cells with formulas in them
Cell L4
=IF(I4="< 5","4",IF(I4="5 - 199","3",IF(I4="200 - 500","2",IF(I4="
500","1"," "))))
Cell M4
=IF(J4="< 500","4",IF(J4="500 - 19,999","3",IF(J4="20k - 50k","2",IF(J4="
50k","1"," "))))
Cell N4
=IF(K4="< 5","4",IF(K4="5 - 199","3",IF(K4="200 - 500","2",IF(K4="
500","1"," "))))

I need to be able to pull the smallest number that these calls fill in. I
tried to use the Min formula but I think Excel only sees the 4, 3, 2&1 in my
formula as text and not numbers. I tried formatting but that did not work
ether. Can anyone give me a suggestion on haw to fix this????


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 25
Default Formula not working

Thanks for the help It worked GREAT....


"PCLIVE" wrote:

Remove the quotes from your numbers. Also, do you really want the final
false result to be a space? If you just want blank, then remove the space
from the double-quote at the end of each formula.

=IF(I4="< 5",4,IF(I4="5 - 199",3,IF(I4="200 - 500",2,IF(I4=" 500",1," "))))
Cell M4
=IF(J4="< 500",4,IF(J4="500 - 19,999",3,IF(J4="20k - 50k",2,IF(J4="50k",1,"
"))))
Cell N4
=IF(K4="< 5",4,IF(K4="5 - 199",3,IF(K4="200 - 500",2,IF(K4="500",1," "))))

HTH,
Paul

--

"Carolina Girl" wrote in message
...
Please help. I have 3 cells with formulas in them
Cell L4
=IF(I4="< 5","4",IF(I4="5 - 199","3",IF(I4="200 - 500","2",IF(I4="
500","1"," "))))
Cell M4
=IF(J4="< 500","4",IF(J4="500 - 19,999","3",IF(J4="20k - 50k","2",IF(J4="
50k","1"," "))))
Cell N4
=IF(K4="< 5","4",IF(K4="5 - 199","3",IF(K4="200 - 500","2",IF(K4="
500","1"," "))))

I need to be able to pull the smallest number that these calls fill in. I
tried to use the Min formula but I think Excel only sees the 4, 3, 2&1 in
my
formula as text and not numbers. I tried formatting but that did not work
ether. Can anyone give me a suggestion on haw to fix this????




  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default Formula not working

Glad to help.

--

"Carolina Girl" wrote in message
...
Thanks for the help It worked GREAT....


"PCLIVE" wrote:

Remove the quotes from your numbers. Also, do you really want the final
false result to be a space? If you just want blank, then remove the
space
from the double-quote at the end of each formula.

=IF(I4="< 5",4,IF(I4="5 - 199",3,IF(I4="200 - 500",2,IF(I4=" 500",1,"
"))))
Cell M4
=IF(J4="< 500",4,IF(J4="500 - 19,999",3,IF(J4="20k -
50k",2,IF(J4="50k",1,"
"))))
Cell N4
=IF(K4="< 5",4,IF(K4="5 - 199",3,IF(K4="200 - 500",2,IF(K4="500",1,"
"))))

HTH,
Paul

--

"Carolina Girl" wrote in message
...
Please help. I have 3 cells with formulas in them
Cell L4
=IF(I4="< 5","4",IF(I4="5 - 199","3",IF(I4="200 - 500","2",IF(I4="
500","1"," "))))
Cell M4
=IF(J4="< 500","4",IF(J4="500 - 19,999","3",IF(J4="20k -
50k","2",IF(J4="
50k","1"," "))))
Cell N4
=IF(K4="< 5","4",IF(K4="5 - 199","3",IF(K4="200 - 500","2",IF(K4="
500","1"," "))))

I need to be able to pull the smallest number that these calls fill in.
I
tried to use the Min formula but I think Excel only sees the 4, 3, 2&1
in
my
formula as text and not numbers. I tried formatting but that did not
work
ether. Can anyone give me a suggestion on haw to fix this????






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
formula not working Mac Excel Worksheet Functions 3 March 8th 08 02:04 PM
Formula only working sometimes KeK23 Excel Discussion (Misc queries) 2 October 7th 07 11:38 PM
Formula not working Excluxe Excel Worksheet Functions 17 July 13th 07 07:36 PM
Formula not working nir020 Excel Worksheet Functions 1 January 23rd 06 06:05 PM
Why isn't this formula working? Jambruins Excel Discussion (Misc queries) 2 July 1st 05 05:25 PM


All times are GMT +1. The time now is 10:59 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"