Saqib Husain
asked on
Max() function to circumvent error condition
I need to get the maximum of A1:C1. One or more of the values could be text or error condition. Please give me a formula to ignore the error cells and if all three are error then return a blank.
ASKER
Cannot without array or VBA?
Can you use IFERROR on the entries in A1:C1 to return zero?
I'm sure that MAX ignores Text entries
I'm sure that MAX ignores Text entries
ASKER
No, has to remain as-is
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks both
Roy,
I was going to post this formula as it did the job for me
MAX(IFERROR(A1,0),IFERROR( B1,0),IFER ROR(C1,0))
but now I have replaced it with your formula.
Roy,
I was going to post this formula as it did the job for me
MAX(IFERROR(A1,0),IFERROR(
but now I have replaced it with your formula.
Pleased to help. I remembered using AGGREGATE in the past for ignoring hidden rows, but it is a very useful Function.
ASKER
Thumbs up!
Open in new window