Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Obtaining the minimum of values which have been generated by a for

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,722
Default Obtaining the minimum of values which have been generated by a for

The problem is that the IMSUB function returns text values (and text has a
numerical value of 0). Since you are dealing with imaginary numbers, it is a
bit harder for XL to clearly define what is the "minimum". A possibility
would be to use either the IMABS function to convert the text into a single
value. Then MIN function could then be used to find that. If you then wanted
to know the original complex number, could combine with a MATCH and INDEX...

Let's say that A1:A5 is your IMSUB formulas. B1:B5 contains the IMABS
formulas. To find the minimum value in A1:A5 based on the values in B1:B5,
you could do this:

=INDEX(A1:A5,MATCH(MIN(B1:B5),B1:B5,0))
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,203
Default Obtaining the minimum of values which have been generated by a for

This is because IMSUB() return a text result, not a number. You'll need a
'helper' column to find the minimum.
Let's say you have an IMSUB() formula in cell E13 that displays 8+i and that
you are going to use column F for your helper column, then in F13 you can put
this formula:
=VALUE(LEFT(E13,FIND("+",E13)-1))
and that will give you a real number; 8
continue that formula down the column for all of your IMSUB() formulas, then
do a MIN() on the entries in column F.

Lets say your MIN() formula looks like =MIN(F2:F44) but you want it to show
you the result in the "n+i" format, then change it to
=MIN(F2:F44) & "+i"

Hope this helps.

"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Obtaining the minimum of values which have been generated by a

I did manage to convert the text into numbers using the VALUE function -
thanks !!! So some of the Excel function return text rather than numbers even
when it is only numbers that have been used in the functions ? When
subtracting numbers from different cells, shoudl I have used a different
function to IMSUB ?? Thanks again !!

"JLatham" wrote:

This is because IMSUB() return a text result, not a number. You'll need a
'helper' column to find the minimum.
Let's say you have an IMSUB() formula in cell E13 that displays 8+i and that
you are going to use column F for your helper column, then in F13 you can put
this formula:
=VALUE(LEFT(E13,FIND("+",E13)-1))
and that will give you a real number; 8
continue that formula down the column for all of your IMSUB() formulas, then
do a MIN() on the entries in column F.

Lets say your MIN() formula looks like =MIN(F2:F44) but you want it to show
you the result in the "n+i" format, then change it to
=MIN(F2:F44) & "+i"

Hope this helps.

"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......

  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,722
Default Obtaining the minimum of values which have been generated by a

Correct, some functions in XL return text even when input is a number. For
instance, the LEFT/RIGHT functions always return text, even when input is a
number such as:
=LEFT(100,1)
returns the text "1".

I assumed you were using IMSUB because you actually were dealing with
imaginary numbers, in which case you had no alternative. If you are just
dealing with real numbers, you can skip the function altogether and just type:
=A2-A1
or variations, such as:
=SUM(A1:A10-B1:B10)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Caithness Girl" wrote:

I did manage to convert the text into numbers using the VALUE function -
thanks !!! So some of the Excel function return text rather than numbers even
when it is only numbers that have been used in the functions ? When
subtracting numbers from different cells, shoudl I have used a different
function to IMSUB ?? Thanks again !!

"JLatham" wrote:

This is because IMSUB() return a text result, not a number. You'll need a
'helper' column to find the minimum.
Let's say you have an IMSUB() formula in cell E13 that displays 8+i and that
you are going to use column F for your helper column, then in F13 you can put
this formula:
=VALUE(LEFT(E13,FIND("+",E13)-1))
and that will give you a real number; 8
continue that formula down the column for all of your IMSUB() formulas, then
do a MIN() on the entries in column F.

Lets say your MIN() formula looks like =MIN(F2:F44) but you want it to show
you the result in the "n+i" format, then change it to
=MIN(F2:F44) & "+i"

Hope this helps.

"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......



  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,722
Default Obtaining the minimum of values which have been generated by a

Apologies, ignore that last formula. My brain had temporarily taken a leave
of absence...
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Luke M" wrote:

Correct, some functions in XL return text even when input is a number. For
instance, the LEFT/RIGHT functions always return text, even when input is a
number such as:
=LEFT(100,1)
returns the text "1".

I assumed you were using IMSUB because you actually were dealing with
imaginary numbers, in which case you had no alternative. If you are just
dealing with real numbers, you can skip the function altogether and just type:
=A2-A1
or variations, such as:
=SUM(A1:A10-B1:B10)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Caithness Girl" wrote:

I did manage to convert the text into numbers using the VALUE function -
thanks !!! So some of the Excel function return text rather than numbers even
when it is only numbers that have been used in the functions ? When
subtracting numbers from different cells, shoudl I have used a different
function to IMSUB ?? Thanks again !!

"JLatham" wrote:

This is because IMSUB() return a text result, not a number. You'll need a
'helper' column to find the minimum.
Let's say you have an IMSUB() formula in cell E13 that displays 8+i and that
you are going to use column F for your helper column, then in F13 you can put
this formula:
=VALUE(LEFT(E13,FIND("+",E13)-1))
and that will give you a real number; 8
continue that formula down the column for all of your IMSUB() formulas, then
do a MIN() on the entries in column F.

Lets say your MIN() formula looks like =MIN(F2:F44) but you want it to show
you the result in the "n+i" format, then change it to
=MIN(F2:F44) & "+i"

Hope this helps.

"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......

  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2
Default Obtaining the minimum of values which have been generated by a


THANKS - As I said I am a bit of a "noddy" with Excel but certianly am
finishing today wiser than I started this morning !!!

Cheers,

"Luke M" wrote:

Apologies, ignore that last formula. My brain had temporarily taken a leave
of absence...
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Luke M" wrote:

Correct, some functions in XL return text even when input is a number. For
instance, the LEFT/RIGHT functions always return text, even when input is a
number such as:
=LEFT(100,1)
returns the text "1".

I assumed you were using IMSUB because you actually were dealing with
imaginary numbers, in which case you had no alternative. If you are just
dealing with real numbers, you can skip the function altogether and just type:
=A2-A1
or variations, such as:
=SUM(A1:A10-B1:B10)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"Caithness Girl" wrote:

I did manage to convert the text into numbers using the VALUE function -
thanks !!! So some of the Excel function return text rather than numbers even
when it is only numbers that have been used in the functions ? When
subtracting numbers from different cells, shoudl I have used a different
function to IMSUB ?? Thanks again !!

"JLatham" wrote:

This is because IMSUB() return a text result, not a number. You'll need a
'helper' column to find the minimum.
Let's say you have an IMSUB() formula in cell E13 that displays 8+i and that
you are going to use column F for your helper column, then in F13 you can put
this formula:
=VALUE(LEFT(E13,FIND("+",E13)-1))
and that will give you a real number; 8
continue that formula down the column for all of your IMSUB() formulas, then
do a MIN() on the entries in column F.

Lets say your MIN() formula looks like =MIN(F2:F44) but you want it to show
you the result in the "n+i" format, then change it to
=MIN(F2:F44) & "+i"

Hope this helps.

"Caithness Girl" wrote:

I have a list of values that have been generated by a formula (IMSUB). I want
to be able to show the minimum of these values in a cell but using the MIN
and MINA functions, these just come back with 0. There isn't a 0 in the list
of numbers. Please help - I am a bit of a "noddy" with Excel
unfortunately......

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
Sorting values generated by a formula... Randy L Excel Discussion (Misc queries) 1 August 17th 07 04:00 PM
accumulating values generated daily Tracey Excel Worksheet Functions 1 April 15th 06 08:07 AM
Obtaining Max and Min Values with Sumproduct Timmy Mac1 Excel Discussion (Misc queries) 2 October 20th 05 05:33 PM
copy values generated by conditional formula in one sheet to the other work sheet as values ramana Excel Worksheet Functions 1 October 5th 05 01:04 PM
copy values generated by conditional formula in one sheet to the other work sheet as values bobby Excel Discussion (Misc queries) 1 October 5th 05 12:18 PM


All times are GMT +1. The time now is 05:48 AM.

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

About Us

"It's about Microsoft Excel"