Min and Max Functions returning a 0 value when looking up a formula

stroffso

Board Regular
Joined
Jul 12, 2016
Messages
160
Office Version
  1. 365
Platform
  1. Windows
Hi,

I have the following formulas in cells FQ3 and FR3 which return the numbers 16 and 19 repsectively
=IFERROR(LEFT(INDIRECT(FQ$1&$DZ3),(FIND("-",INDIRECT(FQ$1&$DZ3),1)-1)),"")
=IFERROR(RIGHT(INDIRECT(FQ$1&$DZ3),(FIND("-",INDIRECT(FQ$1&$DZ3),1)-1)),"")

However I then want a formula that returns the numbers in order lowest to highest. This is the formula I have
=MIN(FQ3:FR3)&"-"&MAX(FQ3:FR3)

However when I do this it returns 0-0

Obviously there is something where the min and max formulas dont like looking up another formula, is there a way around this? I also tried large and small but the same outcome?
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
I don't have excel at the moment, but the formulas that return 16 & 19 look like they are returning the numbers as Text ?
Which will give you the 0-0 result in the Min / Max formula
 
Upvote 0
As pointed out by Michael M your formulas are returning TEXT and not numeric values.
You could try changing your formula to:
This would be an array formula that must be entered with CTRL-SHIFT-ENTER.
=MIN((FQ3:FR3)*1)&"-"&MAX((FQ3:FR3)*1)
 
Upvote 0
As pointed out by Michael M your formulas are returning TEXT and not numeric values.
You could try changing your formula to:
This would be an array formula that must be entered with CTRL-SHIFT-ENTER.
=MIN((FQ3:FR3)*1)&"-"&MAX((FQ3:FR3)*1)
Worked an absolute charm thanks so much
 
Upvote 0
That might also have a positive effect on your other thread involving COUNTIF ??
 
Upvote 0
That might also have a positive effect on your other thread involving COUNTIF ??
Yes I was thinking that so how do i change the countif similarly to suit? it only appears to be those 2 combination of numbers that are double counting which is very odd
 
Upvote 0
See my post on the other thread using SUMPRODUCT
 
Upvote 0
Sorry it came up in a weird way and I didnt actually notice the formula in there. That again has worked a charm sincere thanks
 
Upvote 0
Yeah, sorry about that....I pasted instead of code tagging.....:mad:
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,194
Members
452,616
Latest member
intern444

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top